Class GenericObj
java.lang.Object
org.apache.polaris.persistence.nosql.api.obj.GenericObj
- All Implemented Interfaces:
Obj
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.polaris.persistence.nosql.api.obj.Obj
Obj.Builder<O extends Obj,B extends Obj.Builder<O, B>>, Obj.ObjSerializeAll, Obj.StorageView -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract longContains the timestamp in microseconds since (Unix) epoch when the object was last written, only intended for repository cleanup mechanisms.abstract longid()abstract intnumParts()Indicates the number of parts of which the object is split in the backing database.abstract ObjTypetype()abstract StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.polaris.persistence.nosql.api.obj.Obj
withCreatedAtMicros, withNumParts
-
Constructor Details
-
GenericObj
public GenericObj()
-
-
Method Details
-
type
-
id
public abstract long id() -
numParts
public abstract int numParts()Description copied from interface:ObjIndicates the number of parts of which the object is split in the backing database. This value is available after the object has been written. -
createdAtMicros
@Auxiliary public abstract long createdAtMicros()Description copied from interface:ObjContains the timestamp in microseconds since (Unix) epoch when the object was last written, only intended for repository cleanup mechanisms.The value of this attribute is generated exclusively by the
Persistenceimplementations.This attribute is not consistent when using a caching
Persistence.- Specified by:
createdAtMicrosin interfaceObj
-
versionToken
Description copied from interface:ObjOpaque token used for objects when persisted using conditional inserts, updates or deletes.This value must be
nullfor non-conditional operations and must be non-nullwhen used for conditional operations.- Specified by:
versionTokenin interfaceObj
-
attributes
-