Uses of Class
org.apache.jackrabbit.oak.segment.RecordId
Packages that use RecordId
Package
Description
-
Uses of RecordId in org.apache.jackrabbit.oak.segment
Fields in org.apache.jackrabbit.oak.segment declared as RecordIdModifier and TypeFieldDescriptionfinal RecordId
SegmentParser.BlobInfo.blobId
Id of this recordstatic RecordId[]
RecordId.EMPTY_ARRAY
final RecordId
SegmentParser.ListBucketInfo.listId
Id of this recordfinal RecordId
SegmentParser.ListInfo.listId
Id of this recordfinal RecordId
SegmentParser.MapInfo.mapId
Id of this recordfinal RecordId
SegmentParser.NodeInfo.nodeId
Id of this recordstatic final RecordId
RecordId.NULL
Anull
record id not identifying any record.final RecordId
SegmentParser.PropertyInfo.propertyId
Id of this recordfinal RecordId
SegmentParser.TemplateInfo.templateId
Id of this recordfinal RecordId
SegmentParser.ValueInfo.valueId
Id of this recordFields in org.apache.jackrabbit.oak.segment with type parameters of type RecordIdMethods in org.apache.jackrabbit.oak.segment that return RecordIdModifier and TypeMethodDescription@NotNull RecordId
SegmentBufferWriter.execute
(@NotNull GCGeneration gcGeneration, @NotNull org.apache.jackrabbit.oak.segment.WriteOperationHandler.WriteOperation writeOperation) static RecordId
RecordId.fromString
(SegmentIdProvider idProvider, String id) @NotNull RecordId
Revisions.getHead()
Returns the record id of the head state.@NotNull RecordId
Revisions.getPersistedHead()
Returns the persisted to disk record id of the head state.static @Nullable RecordId
SegmentStream.getRecordIdIfAvailable
(InputStream stream, SegmentStore store) static RecordId
SegmentNodeStateHelper.getTemplateId
(SegmentNodeState s) SegmentBufferWriter.prepare
(RecordType type, int size, Collection<RecordId> ids, SegmentStore store) Before writing a record (which are written backwards, from the end of the file to the beginning), this method is called, to ensure there is enough space.Revisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) Atomically set the record id of the current head state to the value returned from thenewHead
function when called with the record id of the current head.@NotNull RecordId
@NotNull RecordId
Write a blob (as list of block records)@NotNull RecordId
default @NotNull RecordId
Write a node state.@NotNull RecordId
Write a node state.@NotNull RecordId
DefaultSegmentWriter.writeStream
(@NotNull InputStream stream) @NotNull RecordId
SegmentWriter.writeStream
(@NotNull InputStream stream) Writes a stream value record.Methods in org.apache.jackrabbit.oak.segment that return types with arguments of type RecordIdModifier and TypeMethodDescriptionWriterCacheManager.Default.getNodeCache
(int generation) WriterCacheManager.Empty.getNodeCache
(int generation) WriterCacheManager.getNodeCache
(int generation) WriterCacheManager.Default.getStringCache
(int generation) WriterCacheManager.getStringCache
(int generation) WriterCacheManager.Default.getTemplateCache
(int generation) WriterCacheManager.getTemplateCache
(int generation) Methods in org.apache.jackrabbit.oak.segment with parameters of type RecordIdModifier and TypeMethodDescriptionboolean
RecordIdSet.addIfNotPresent
(RecordId id) Addid
to this set if not already presentvoid
RecordUsageAnalyser.analyseNode
(RecordId nodeId) boolean
int
boolean
Check whetherid
is present is this set.Template.getChildNode
(String name, RecordId recordId) protected void
protected void
Callback called bySegmentParser.parseValue(RecordId, RecordId, Type)
upon encountering a blob.protected void
protected void
Callback called bySegmentParser.parseNode(RecordId)
,SegmentParser.parseProperty(RecordId, RecordId, PropertyTemplate)
,SegmentParser.parseTemplate(RecordId)
,SegmentParser.parseBlob(RecordId)
andSegmentParser.parseString(RecordId)
upon encountering a list.protected void
SegmentParser.onListBucket
(RecordId parentId, RecordId listId, int index, int count, int capacity) Callback called bySegmentParser.parseList(RecordId, RecordId, int)
andSegmentParser.parseListBucket(RecordId, int, int, int)
upon encountering a list bucket.protected void
Callback called bySegmentParser.parseNode(RecordId)
,SegmentParser.parseMapDiff(RecordId, MapRecord)
andSegmentParser.parseMapBranch(RecordId, MapRecord)
upon encountering a map.protected void
RecordUsageAnalyser.onMapBranch
(RecordId parentId, RecordId mapId, MapRecord map) protected void
SegmentParser.onMapBranch
(RecordId parentId, RecordId mapId, MapRecord map) Callback called bySegmentParser.parseMap(RecordId, RecordId, MapRecord)
upon encountering a map branch.protected void
protected void
Callback called bySegmentParser.parseMap(RecordId, RecordId, MapRecord)
upon encountering a map diff.protected void
protected void
Callback called bySegmentParser.parseMap(RecordId, RecordId, MapRecord)
upon encountering a map leaf.protected void
protected void
Callback called bySegmentParser.parseNode(RecordId)
upon encountering a child node.protected void
RecordUsageAnalyser.onProperty
(RecordId parentId, RecordId propertyId, PropertyTemplate template) protected void
SegmentParser.onProperty
(RecordId parentId, RecordId propertyId, PropertyTemplate template) Callback called bySegmentParser.parseNode(RecordId)
upon encountering a property.protected void
protected void
Callback called bySegmentParser.parseTemplate(RecordId)
,SegmentParser.parseMapLeaf(RecordId, MapRecord)
andSegmentParser.parseValue(RecordId, RecordId, Type)
upon encountering a string.protected void
RecordUsageAnalyser.onTemplate
(RecordId parentId, RecordId templateId) protected void
SegmentParser.onTemplate
(RecordId parentId, RecordId templateId) Callback called bySegmentParser.parseNode(RecordId)
upon encountering a templateprotected void
Callback called bySegmentParser.parseProperty(RecordId, RecordId, PropertyTemplate)
upon encountering a value.Parse a blob recordParse a list recordSegmentParser.parseListBucket
(RecordId listId, int index, int count, int capacity) Parse item of list bucketsParse a map recordSegmentParser.parseMapBranch
(RecordId mapId, MapRecord map) Parse a map branch recordSegmentParser.parseMapDiff
(RecordId mapId, MapRecord map) Parse a map diff recordSegmentParser.parseMapLeaf
(RecordId mapId, MapRecord map) Parse a map leaf recordParse a node recordSegmentParser.parseProperty
(RecordId parentId, RecordId propertyId, PropertyTemplate template) Parse a propertySegmentParser.parseString
(RecordId stringId) Parse a string recordSegmentParser.parseTemplate
(RecordId templateId) Parse a template recordSegmentParser.parseValue
(RecordId parentId, RecordId valueId, Type<?> type) Parse a value recordvoid
@NotNull SegmentBlob
@NotNull SegmentBlob
Read the blob identified byid
.@NotNull MapRecord
@NotNull MapRecord
Read the map identified byid
.@NotNull SegmentNodeState
@NotNull SegmentNodeState
Read the node identified byid
.@NotNull SegmentPropertyState
CachingSegmentReader.readProperty
(@NotNull RecordId id, @NotNull PropertyTemplate template) @NotNull SegmentPropertyState
SegmentReader.readProperty
(@NotNull RecordId id, @NotNull PropertyTemplate template) Read the property identified byid
andtemplate
@NotNull String
CachingSegmentReader.readString
(@NotNull RecordId id) Cached reading of a string.@NotNull String
SegmentReader.readString
(@NotNull RecordId id) Read the string identified byid
.@NotNull Template
CachingSegmentReader.readTemplate
(@NotNull RecordId id) Cached reading of a template.@NotNull Template
SegmentReader.readTemplate
(@NotNull RecordId id) Read the template identified byid
.boolean
Revisions.setHead
(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options) Atomically set the record id of the current head state to the givenhead
state if the current head state matches theexpected
value.int
int
int
void
SegmentBufferWriter.writeRecordId
(RecordId recordId) Write a record ID.Method parameters in org.apache.jackrabbit.oak.segment with type arguments of type RecordIdModifier and TypeMethodDescriptionstatic <T> @NotNull Supplier<RecordCache<T>>
RecordCache.factory
(int size, @NotNull org.apache.jackrabbit.guava.common.cache.Weigher<T, RecordId> weigher) SegmentBufferWriter.prepare
(RecordType type, int size, Collection<RecordId> ids, SegmentStore store) Before writing a record (which are written backwards, from the end of the file to the beginning), this method is called, to ensure there is enough space.Revisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) Atomically set the record id of the current head state to the value returned from thenewHead
function when called with the record id of the current head.Revisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) Atomically set the record id of the current head state to the value returned from thenewHead
function when called with the record id of the current head.Constructors in org.apache.jackrabbit.oak.segment with parameters of type RecordIdModifierConstructorDescriptionBlobInfo
(RecordId blobId, SegmentParser.BlobType blobType, int size) ListBucketInfo
(RecordId listId, boolean leaf, List<RecordId> entries, int size) PropertyInfo
(RecordId propertyId, int count, int size) SegmentNodeState
(@NotNull SegmentReader reader, @NotNull SegmentWriter writer, @Nullable BlobStore blobStore, @NotNull RecordId id) SegmentNodeState
(@NotNull SegmentReader reader, @NotNull SegmentWriter writer, @Nullable BlobStore blobStore, @NotNull RecordId id, MeterStats readStats) TemplateInfo
(RecordId templateId, boolean hasPrimaryType, boolean hasMixinType, boolean zeroChildNodes, boolean manyChildNodes, int mixinCount, int propertyCount, int size) Constructor parameters in org.apache.jackrabbit.oak.segment with type arguments of type RecordIdModifierConstructorDescriptionListBucketInfo
(RecordId listId, boolean leaf, List<RecordId> entries, int size) -
Uses of RecordId in org.apache.jackrabbit.oak.segment.file
Methods in org.apache.jackrabbit.oak.segment.file that return RecordIdModifier and TypeMethodDescription@NotNull RecordId
ReadOnlyRevisions.getHead()
@NotNull RecordId
TarRevisions.getHead()
@NotNull RecordId
ReadOnlyRevisions.getPersistedHead()
@NotNull RecordId
TarRevisions.getPersistedHead()
ReadOnlyRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) TarRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) This implementation blocks if a concurrent call is already in progress.Methods in org.apache.jackrabbit.oak.segment.file with parameters of type RecordIdModifier and TypeMethodDescriptionboolean
ReadOnlyRevisions.setHead
(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options) boolean
TarRevisions.setHead
(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options) This implementation blocks if a concurrent call toTarRevisions.setHead(Function, Option...)
is already in progress.Method parameters in org.apache.jackrabbit.oak.segment.file with type arguments of type RecordIdModifier and TypeMethodDescriptionReadOnlyRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) ReadOnlyRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) TarRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) This implementation blocks if a concurrent call is already in progress.TarRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) This implementation blocks if a concurrent call is already in progress. -
Uses of RecordId in org.apache.jackrabbit.oak.segment.memory
Methods in org.apache.jackrabbit.oak.segment.memory that return RecordIdModifier and TypeMethodDescription@NotNull RecordId
MemoryStoreRevisions.getHead()
@NotNull RecordId
MemoryStoreRevisions.getPersistedHead()
MemoryStoreRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) Not supported: throwsUnsupportedOperationException
Methods in org.apache.jackrabbit.oak.segment.memory with parameters of type RecordIdModifier and TypeMethodDescriptionboolean
MemoryStoreRevisions.setHead
(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options) Method parameters in org.apache.jackrabbit.oak.segment.memory with type arguments of type RecordIdModifier and TypeMethodDescriptionMemoryStoreRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) Not supported: throwsUnsupportedOperationException
MemoryStoreRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) Not supported: throwsUnsupportedOperationException