Package | Description |
---|---|
org.janusgraph.core | |
org.janusgraph.graphdb.database.log | |
org.janusgraph.graphdb.transaction |
Modifier and Type | Method and Description |
---|---|
TransactionBuilder |
JanusGraph.buildTransaction()
Returns a
TransactionBuilder to construct a new thread-independent JanusGraphTransaction . |
TransactionBuilder |
TransactionBuilder.checkExternalVertexExistence(boolean enabled)
Enables/disables checking whether the vertex with a user provided id indeed exists.
|
TransactionBuilder |
TransactionBuilder.checkInternalVertexExistence(boolean enabled)
Enables/disables checks that verify that each vertex actually exists in the underlying data store when it is retrieved.
|
TransactionBuilder |
TransactionBuilder.commitTime(Instant instant)
Sets the timestamp for this transaction.
|
TransactionBuilder |
TransactionBuilder.consistencyChecks(boolean enabled)
Enables/disables consistency checking and locking for this transaction.
|
TransactionBuilder |
TransactionBuilder.customOption(String k,
Object v)
Configures a custom option on this transaction which will be passed through to the storage and indexing backends.
|
TransactionBuilder |
TransactionBuilder.dirtyVertexSize(int size)
Configures the initial size of the map of modified vertices held by this
transaction.
|
TransactionBuilder |
TransactionBuilder.disableBatchLoading()
Disables batch loading by ensuring that consistency checks are applied in this transaction.
|
TransactionBuilder |
TransactionBuilder.enableBatchLoading()
Enabling batch loading disables a number of consistency checks inside JanusGraph to speed up the ingestion of
data under the assumptions that inconsistencies are resolved prior to loading.
|
TransactionBuilder |
TransactionBuilder.groupName(String name)
Sets the group name for this transaction which provides a way for gathering
reporting on multiple transactions into one group.
|
TransactionBuilder |
TransactionBuilder.logIdentifier(String logName)
Name of the log to be used for logging the mutations in this transaction.
|
TransactionBuilder |
TransactionBuilder.multiQuery(boolean enabled)
Enable or disable multi-query, i.e.
|
TransactionBuilder |
TransactionBuilder.propertyPrefetching(boolean enabled)
Enable or disable property pre-fetching, i.e.
|
TransactionBuilder |
TransactionBuilder.readOnly()
Makes the transaction read only.
|
TransactionBuilder |
TransactionBuilder.readOnlyOLAP()
A shortcut for a number of configs that are commonly used by read-only OLAP jobs.
|
TransactionBuilder |
TransactionBuilder.restrictedPartitions(int[] partitions)
Configures this transaction such that queries against partitioned vertices are
restricted to the given partitions.
|
TransactionBuilder |
TransactionBuilder.setHasStepStrategyMode(MultiQueryHasStepStrategyMode hasStepStrategyMode)
Sets `has` step strategy mode.
|
TransactionBuilder |
TransactionBuilder.setLabelsStepStrategyMode(MultiQueryLabelStepStrategyMode labelStepStrategyMode)
Sets `label` step strategy mode.
|
TransactionBuilder |
TransactionBuilder.setPropertiesStrategyMode(MultiQueryPropertiesStrategyMode propertiesStrategyMode)
Sets properties strategy mode.
|
TransactionBuilder |
TransactionBuilder.skipDBCacheRead()
Skips usage of JanusGraph database level cache during read operations.
|
TransactionBuilder |
TransactionBuilder.vertexCacheSize(int size)
Configures the size of the internal caches used in the transaction.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
LogTxMeta.setValue(TransactionBuilder builder,
Object value) |
Modifier and Type | Class and Description |
---|---|
class |
StandardTransactionBuilder
Used to configure a
JanusGraphTransaction . |
Modifier and Type | Method and Description |
---|---|
TransactionBuilder |
StandardTransactionBuilder.consistencyChecks(boolean enabled) |
TransactionBuilder |
StandardTransactionBuilder.customOption(String k,
Object v) |
TransactionBuilder |
StandardTransactionBuilder.dirtyVertexSize(int size) |
TransactionBuilder |
StandardTransactionBuilder.restrictedPartitions(int[] partitions) |
TransactionBuilder |
StandardTransactionBuilder.setHasStepStrategyMode(MultiQueryHasStepStrategyMode hasStepStrategyMode) |
TransactionBuilder |
StandardTransactionBuilder.setLabelsStepStrategyMode(MultiQueryLabelStepStrategyMode labelStepStrategyMode) |
TransactionBuilder |
StandardTransactionBuilder.setPreloadedData(boolean preloaded) |
TransactionBuilder |
StandardTransactionBuilder.setPropertiesStrategyMode(MultiQueryPropertiesStrategyMode propertiesStrategyMode) |
TransactionBuilder |
StandardTransactionBuilder.skipDBCacheRead() |
Copyright © 2012–2024. All rights reserved.