Uses of Class
org.apache.jackrabbit.oak.segment.RecordId
-
Packages that use RecordId Package Description org.apache.jackrabbit.oak.segment org.apache.jackrabbit.oak.segment.file org.apache.jackrabbit.oak.segment.memory -
-
Uses of RecordId in org.apache.jackrabbit.oak.segment
Fields in org.apache.jackrabbit.oak.segment declared as RecordId Modifier and Type Field Description RecordIdSegmentParser.BlobInfo. blobIdId of this recordstatic RecordId[]RecordId. EMPTY_ARRAYRecordIdSegmentParser.ListBucketInfo. listIdId of this recordRecordIdSegmentParser.ListInfo. listIdId of this recordRecordIdSegmentParser.MapInfo. mapIdId of this recordRecordIdSegmentParser.NodeInfo. nodeIdId of this recordstatic RecordIdRecordId. NULLAnullrecord id not identifying any record.RecordIdSegmentParser.PropertyInfo. propertyIdId of this recordRecordIdSegmentParser.TemplateInfo. templateIdId of this recordRecordIdSegmentParser.ValueInfo. valueIdId of this recordFields in org.apache.jackrabbit.oak.segment with type parameters of type RecordId Modifier and Type Field Description List<RecordId>SegmentParser.ListBucketInfo. entriesEntries of this bucketMethods in org.apache.jackrabbit.oak.segment that return RecordId Modifier and Type Method Description @NotNull RecordIdSegmentBufferWriter. execute(@NotNull GCGeneration gcGeneration, @NotNull org.apache.jackrabbit.oak.segment.WriteOperationHandler.WriteOperation writeOperation)static RecordIdRecordId. fromString(SegmentIdProvider idProvider, String id)@NotNull RecordIdRevisions. getHead()Returns the record id of the head state.@NotNull RecordIdRevisions. getPersistedHead()Returns the persisted to disk record id of the head state.static @Nullable RecordIdSegmentStream. getRecordIdIfAvailable(InputStream stream, SegmentStore store)static RecordIdSegmentNodeStateHelper. getTemplateId(SegmentNodeState s)RecordIdSegmentBufferWriter. 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.RecordIdRevisions. 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 thenewHeadfunction when called with the record id of the current head.@NotNull RecordIdDefaultSegmentWriter. writeBlob(@NotNull Blob blob)@NotNull RecordIdSegmentWriter. writeBlob(@NotNull Blob blob)Write a blob (as list of block records)@NotNull RecordIdDefaultSegmentWriter. writeNode(@NotNull NodeState state, @Nullable Buffer stableIdBytes)default @NotNull RecordIdSegmentWriter. writeNode(@NotNull NodeState state)Write a node state.@NotNull RecordIdSegmentWriter. writeNode(@NotNull NodeState state, @Nullable Buffer stableIdBytes)Write a node state.@NotNull RecordIdDefaultSegmentWriter. writeStream(@NotNull InputStream stream)@NotNull RecordIdSegmentWriter. writeStream(@NotNull InputStream stream)Writes a stream value record.Methods in org.apache.jackrabbit.oak.segment that return types with arguments of type RecordId Modifier and Type Method Description @NotNull Cache<String,RecordId>WriterCacheManager.Default. getNodeCache(int generation)@NotNull Cache<String,RecordId>WriterCacheManager.Empty. getNodeCache(int generation)abstract @NotNull Cache<String,RecordId>WriterCacheManager. getNodeCache(int generation)@NotNull Cache<String,RecordId>WriterCacheManager.Default. getStringCache(int generation)abstract @NotNull Cache<String,RecordId>WriterCacheManager. getStringCache(int generation)@NotNull Cache<Template,RecordId>WriterCacheManager.Default. getTemplateCache(int generation)abstract @NotNull Cache<Template,RecordId>WriterCacheManager. getTemplateCache(int generation)Methods in org.apache.jackrabbit.oak.segment with parameters of type RecordId Modifier and Type Method Description booleanRecordIdSet. addIfNotPresent(RecordId id)Addidto this set if not already presentvoidRecordUsageAnalyser. analyseNode(RecordId nodeId)booleanTemplate. compare(RecordId thisId, RecordId thatId)intRecordId. compareTo(@NotNull RecordId that)booleanRecordIdSet. contains(RecordId id)Check whetheridis present is this set.NodeStateTemplate. getChildNode(String name, RecordId recordId)protected voidRecordUsageAnalyser. onBlob(RecordId parentId, RecordId blobId)protected voidSegmentParser. onBlob(RecordId parentId, RecordId blobId)Callback called bySegmentParser.parseValue(RecordId, RecordId, Type)upon encountering a blob.protected voidRecordUsageAnalyser. onList(RecordId parentId, RecordId listId, int count)protected voidSegmentParser. onList(RecordId parentId, RecordId listId, int count)Callback called bySegmentParser.parseNode(RecordId),SegmentParser.parseProperty(RecordId, RecordId, PropertyTemplate),SegmentParser.parseTemplate(RecordId),SegmentParser.parseBlob(RecordId)andSegmentParser.parseString(RecordId)upon encountering a list.protected voidSegmentParser. 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 voidSegmentParser. onMap(RecordId parentId, RecordId mapId, MapRecord map)Callback called bySegmentParser.parseNode(RecordId),SegmentParser.parseMapDiff(RecordId, MapRecord)andSegmentParser.parseMapBranch(RecordId, MapRecord)upon encountering a map.protected voidRecordUsageAnalyser. onMapBranch(RecordId parentId, RecordId mapId, MapRecord map)protected voidSegmentParser. onMapBranch(RecordId parentId, RecordId mapId, MapRecord map)Callback called bySegmentParser.parseMap(RecordId, RecordId, MapRecord)upon encountering a map branch.protected voidRecordUsageAnalyser. onMapDiff(RecordId parentId, RecordId mapId, MapRecord map)protected voidSegmentParser. onMapDiff(RecordId parentId, RecordId mapId, MapRecord map)Callback called bySegmentParser.parseMap(RecordId, RecordId, MapRecord)upon encountering a map diff.protected voidRecordUsageAnalyser. onMapLeaf(RecordId parentId, RecordId mapId, MapRecord map)protected voidSegmentParser. onMapLeaf(RecordId parentId, RecordId mapId, MapRecord map)Callback called bySegmentParser.parseMap(RecordId, RecordId, MapRecord)upon encountering a map leaf.protected voidRecordUsageAnalyser. onNode(RecordId parentId, RecordId nodeId)protected voidSegmentParser. onNode(RecordId parentId, RecordId nodeId)Callback called bySegmentParser.parseNode(RecordId)upon encountering a child node.protected voidRecordUsageAnalyser. onProperty(RecordId parentId, RecordId propertyId, PropertyTemplate template)protected voidSegmentParser. onProperty(RecordId parentId, RecordId propertyId, PropertyTemplate template)Callback called bySegmentParser.parseNode(RecordId)upon encountering a property.protected voidRecordUsageAnalyser. onString(RecordId parentId, RecordId stringId)protected voidSegmentParser. onString(RecordId parentId, RecordId stringId)Callback called bySegmentParser.parseTemplate(RecordId),SegmentParser.parseMapLeaf(RecordId, MapRecord)andSegmentParser.parseValue(RecordId, RecordId, Type)upon encountering a string.protected voidRecordUsageAnalyser. onTemplate(RecordId parentId, RecordId templateId)protected voidSegmentParser. onTemplate(RecordId parentId, RecordId templateId)Callback called bySegmentParser.parseNode(RecordId)upon encountering a templateprotected voidSegmentParser. onValue(RecordId parentId, RecordId valueId, Type<?> type)Callback called bySegmentParser.parseProperty(RecordId, RecordId, PropertyTemplate)upon encountering a value.SegmentParser.BlobInfoSegmentParser. parseBlob(RecordId blobId)Parse a blob recordSegmentParser.ListInfoSegmentParser. parseList(RecordId parentId, RecordId listId, int count)Parse a list recordSegmentParser.ListBucketInfoSegmentParser. parseListBucket(RecordId listId, int index, int count, int capacity)Parse item of list bucketsSegmentParser.MapInfoSegmentParser. parseMap(RecordId parentId, RecordId mapId, MapRecord map)Parse a map recordSegmentParser.MapInfoSegmentParser. parseMapBranch(RecordId mapId, MapRecord map)Parse a map branch recordSegmentParser.MapInfoSegmentParser. parseMapDiff(RecordId mapId, MapRecord map)Parse a map diff recordSegmentParser.MapInfoSegmentParser. parseMapLeaf(RecordId mapId, MapRecord map)Parse a map leaf recordSegmentParser.NodeInfoSegmentParser. parseNode(RecordId nodeId)Parse a node recordSegmentParser.PropertyInfoSegmentParser. parseProperty(RecordId parentId, RecordId propertyId, PropertyTemplate template)Parse a propertySegmentParser.BlobInfoSegmentParser. parseString(RecordId stringId)Parse a string recordSegmentParser.TemplateInfoSegmentParser. parseTemplate(RecordId templateId)Parse a template recordSegmentParser.ValueInfoSegmentParser. parseValue(RecordId parentId, RecordId valueId, Type<?> type)Parse a value recordvoidRecordCache. put(K key, @NotNull RecordId value, byte cost)@NotNull SegmentBlobCachingSegmentReader. readBlob(@NotNull RecordId id)@NotNull SegmentBlobSegmentReader. readBlob(@NotNull RecordId id)Read the blob identified byid.@NotNull MapRecordCachingSegmentReader. readMap(@NotNull RecordId id)@NotNull MapRecordSegmentReader. readMap(@NotNull RecordId id)Read the map identified byid.@NotNull SegmentNodeStateCachingSegmentReader. readNode(@NotNull RecordId id)@NotNull SegmentNodeStateSegmentReader. readNode(@NotNull RecordId id)Read the node identified byid.@NotNull SegmentPropertyStateCachingSegmentReader. readProperty(@NotNull RecordId id, @NotNull PropertyTemplate template)@NotNull SegmentPropertyStateSegmentReader. readProperty(@NotNull RecordId id, @NotNull PropertyTemplate template)Read the property identified byidandtemplate@NotNull StringCachingSegmentReader. readString(@NotNull RecordId id)Cached reading of a string.@NotNull StringSegmentReader. readString(@NotNull RecordId id)Read the string identified byid.@NotNull TemplateCachingSegmentReader. readTemplate(@NotNull RecordId id)Cached reading of a template.@NotNull TemplateSegmentReader. readTemplate(@NotNull RecordId id)Read the template identified byid.booleanRevisions. setHead(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options)Atomically set the record id of the current head state to the givenheadstate if the current head state matches theexpectedvalue.intCacheWeights.NodeCacheWeigher. weigh(@NotNull String key, @NotNull RecordId value)intCacheWeights.StringCacheWeigher. weigh(@NotNull String key, @NotNull RecordId value)intCacheWeights.TemplateCacheWeigher. weigh(@NotNull Template key, @NotNull RecordId value)voidSegmentBufferWriter. writeRecordId(RecordId recordId)Write a record ID.Method parameters in org.apache.jackrabbit.oak.segment with type arguments of type RecordId Modifier and Type Method Description static <T> @NotNull Supplier<RecordCache<T>>RecordCache. factory(int size, @NotNull org.apache.jackrabbit.guava.common.cache.Weigher<T,RecordId> weigher)RecordIdSegmentBufferWriter. 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.RecordIdRevisions. 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 thenewHeadfunction when called with the record id of the current head.RecordIdRevisions. 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 thenewHeadfunction when called with the record id of the current head.Constructors in org.apache.jackrabbit.oak.segment with parameters of type RecordId Constructor Description BlobInfo(RecordId blobId, SegmentParser.BlobType blobType, int size)ListBucketInfo(RecordId listId, boolean leaf, List<RecordId> entries, int size)ListInfo(RecordId listId, int count, int size)MapInfo(RecordId mapId, int size)NodeInfo(RecordId nodeId, String stableId, int nodeCount, int propertyCount, 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)ValueInfo(RecordId valueId, Type<?> type)Constructor parameters in org.apache.jackrabbit.oak.segment with type arguments of type RecordId Constructor Description ListBucketInfo(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 RecordId Modifier and Type Method Description @NotNull RecordIdReadOnlyRevisions. getHead()@NotNull RecordIdTarRevisions. getHead()@NotNull RecordIdReadOnlyRevisions. getPersistedHead()@NotNull RecordIdTarRevisions. getPersistedHead()RecordIdReadOnlyRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)RecordIdTarRevisions. 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 RecordId Modifier and Type Method Description booleanReadOnlyRevisions. setHead(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options)booleanTarRevisions. 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 RecordId Modifier and Type Method Description RecordIdReadOnlyRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)RecordIdReadOnlyRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)RecordIdTarRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)This implementation blocks if a concurrent call is already in progress.RecordIdTarRevisions. 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 RecordId Modifier and Type Method Description @NotNull RecordIdMemoryStoreRevisions. getHead()@NotNull RecordIdMemoryStoreRevisions. getPersistedHead()RecordIdMemoryStoreRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)Not supported: throwsUnsupportedOperationExceptionMethods in org.apache.jackrabbit.oak.segment.memory with parameters of type RecordId Modifier and Type Method Description booleanMemoryStoreRevisions. 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 RecordId Modifier and Type Method Description RecordIdMemoryStoreRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)Not supported: throwsUnsupportedOperationExceptionRecordIdMemoryStoreRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)Not supported: throwsUnsupportedOperationException
-