Package xtdb.api
Class HistoryOptions
java.lang.Object
xtdb.api.HistoryOptions
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HistoryOptions
create
(HistoryOptions.SortOrder sortOrder) endTransaction
(TransactionInstant endTransaction) Sets the ending transaction.endTransactionTime
(Date endTransactionTime) Sets the ending transaction time.endValidTime
(Date endValidTime) Sets the end valid time.clojure.lang.Keyword
boolean
boolean
sortOrder
(HistoryOptions.SortOrder sortOrder) startTransaction
(TransactionInstant startTransaction) Sets the starting transaction.startTransactionTime
(Date startTransactionTime) Sets the starting transaction time.startValidTime
(Date startValidTime) Sets the starting valid time.clojure.lang.IPersistentMap
toMap()
Not intended for public use, may be removed.withCorrections
(boolean withCorrections) Specifies whether to return bitemporal corrections in the history response.withDocs
(boolean withDocs) Specifies whether to return documents in the history response.
-
Method Details
-
create
-
sortOrder
-
withCorrections
Specifies whether to return bitemporal corrections in the history response. If this is set to `true`, corrections will be returned within the sequence, sorted first by valid-time, then tx-id. -
withDocs
Specifies whether to return documents in the history response. If this is set to `true`, documents will be included under the `::xt/doc` key. -
startValidTime
Sets the starting valid time. The history response will include entries starting at this valid time (inclusive). -
startTransaction
Sets the starting transaction. The history response will include entries starting at this transaction (inclusive). -
startTransactionTime
Sets the starting transaction time. The history response will include entries starting at this transaction (inclusive). -
endValidTime
Sets the end valid time. The history response will include entries up to this valid time (exclusive). -
endTransaction
Sets the ending transaction. The history response will include entries up to this transaction (exclusive). -
endTransactionTime
Sets the ending transaction time. The history response will include entries up to this transaction (exclusive). -
getSortOrder
-
isWithCorrections
public boolean isWithCorrections() -
isWithDocs
public boolean isWithDocs() -
getStartValidTime
-
getStartTransaction
-
getEndValidTime
-
getEndTransaction
-
getSortOrderKey
public clojure.lang.Keyword getSortOrderKey() -
toMap
public clojure.lang.IPersistentMap toMap()Not intended for public use, may be removed.
-