public interface GraphAlterationEmptyProviderBuilder extends GraphAlterationBuilder
Modifier and Type | Method and Description |
---|---|
GraphAlterationEmptyProviderBuilder |
addProperties(GraphPropertyConfig[] configs)
Adds properties from the different property configurations
|
GraphAlterationEmptyProviderBuilder |
addProperties(java.util.List<GraphPropertyConfig> configs)
Adds properties from the different property configurations
|
GraphAlterationEmptyProviderBuilder |
addProperty(GraphPropertyConfig config)
Adds a property from the property configuration
|
GraphAlterationEmptyProviderBuilder |
addProperty(java.lang.String name, PropertyType type)
Adds a property of the given name and type to the provider.
|
GraphAlterationEmptyProviderBuilder |
addProperty(java.lang.String name, PropertyType type, int dimension)
Adds a property of the given name, type and dimension to the provider.
|
GraphAlterationEmptyProviderBuilder |
createKeyMapping(boolean create)
Sets whether the provider should have a key mapping Should be false when the ID strategy is UNSTABLE_GENERATED_IDS, true when the ID strategy is KEYS_AS_IDS, and can be true or false if the ID strategy is PARTITIONED_IDS.
|
GraphAlterationEmptyProviderBuilder |
setKeyColumn(java.lang.Object column)
Sets the name or index (1-based index) of the key property for the provider.
|
GraphAlterationEmptyProviderBuilder |
setKeyType(IdType type)
Sets the type of the keys in the provider.
|
GraphAlterationEmptyProviderBuilder |
setLabel(java.lang.String label)
Associates a different provider label to the empty provider than the name of the provider
|
addEdgeProvider, addEdgeProvider, addEmptyEdgeProvider, addEmptyVertexProvider, addVertexProvider, addVertexProvider, build, build, buildAsync, buildAsync, buildNewSnapshot, buildNewSnapshotAsync, cascadeEdgeProviderRemovals, removeEdgeProvider, removeVertexProvider, setDataSourceVersion
GraphAlterationEmptyProviderBuilder addProperties(GraphPropertyConfig[] configs)
configs
- the property configurationsGraphAlterationEmptyProviderBuilder addProperties(java.util.List<GraphPropertyConfig> configs)
configs
- the property configurationsGraphAlterationEmptyProviderBuilder addProperty(GraphPropertyConfig config)
config
- the property configurationGraphAlterationEmptyProviderBuilder addProperty(java.lang.String name, PropertyType type)
name
- the name of the property to addtype
- the type of the property to addGraphAlterationEmptyProviderBuilder addProperty(java.lang.String name, PropertyType type, int dimension)
name
- the name of the property to addtype
- the type of the property to adddimension
- the dimension of the property (0 for scalar properties, >0 for vector properties)GraphAlterationEmptyProviderBuilder createKeyMapping(boolean create)
create
- boolean indicating if the provider key mapping should be createdGraphAlterationEmptyProviderBuilder setKeyColumn(java.lang.Object column)
column
- the key column name or indexGraphAlterationEmptyProviderBuilder setKeyType(IdType type)
type
- the key typeGraphAlterationEmptyProviderBuilder setLabel(java.lang.String label)
label
- the label to associate to the provider