Package com.twicedb.client.api
Interface IndexableI<I extends Indexable>
- Type Parameters:
I
- the class that extends Indexable
- All Known Implementing Classes:
Entitlement
,Indexable
public interface IndexableI<I extends Indexable>
An object that can be indexed. Users must not implement IndexableI; instead, they must subclass
Indexable.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <I extends Indexable<I>>
WrittenObjectdeleteObject
(Client c, I object, Vt vtFrom) static <I extends Indexable<I>>
Future<WriteAsyncResponse>deleteObjectAsync
(Client c, I object, Vt vtFrom) getBlob()
TypeToken
static <I extends Indexable<I>>
WrittenObjectstatic <I extends Indexable<I>>
Future<WriteAsyncResponse>putObjectAsync
(Client c, Indexable object, Vt vtFrom) static <I extends Indexable<I>>
IreadObject
(Client c, I object, TemporalCoordinates tc) readObjectAsync
(Client c, I object, TemporalCoordinates tc) readObjects
(Client c, I object, TemporalCoordinates tc) readObjectsAsync
(Client c, I object, TemporalCoordinates tc) readObjectsAtTt
(Client c, I object, Tt tt) readObjectsAtTtAsync
(Client c, I object, Tt tt) readObjectsAtVt
(Client c, I object, TemporalCoordinates tc) readObjectsAtVtAsync
(Client c, I object, TemporalCoordinates tc) readObjectsByIndexedQuery
(Client c, IndexedQuery<I> iq, TemporalCoordinates tc) readObjectsByIndexedQueryAsync
(Client c, IndexedQuery<I> iq, TemporalCoordinates tc) static <I extends Indexable<I>>
WrittenObjectreinstateObject
(Client c, I object, Vt vtFrom) static <I extends Indexable<I>>
Future<WriteAsyncResponse>reinstateObjectAsync
(Client c, I object, Vt vtFrom) transformReadIndexables
(TypeToken t, List<Indexable> ixbls) transformReadObjects
(TypeToken t, List<ReadObject> readObjects)
-
Field Details
-
logger
static final Logger logger
-
-
Method Details
-
getBlob
Blob getBlob() -
getIndexedQuery
IndexedQuery<I> getIndexedQuery() -
getBackfillTt
BackfillTt getBackfillTt() -
getLastWrite
Tt getLastWrite() -
getTtFrom
Tt getTtFrom() -
getVtFrom
Vt getVtFrom() -
getObjectId
ObjectId getObjectId() -
getTypeToken
TypeToken getTypeToken() -
getFqn
-
getRefResolver
RefResolver getRefResolver() -
transformReadObjects
static <I extends Indexable<I>> List<I> transformReadObjects(TypeToken t, List<ReadObject> readObjects) -
transformReadIndexables
-