public interface GraphAlterationEmptyEdgeProviderBuilder extends GraphAlterationEmptyProviderBuilder
Modifier and Type | Method and Description |
---|---|
GraphAlterationEmptyEdgeProviderBuilder |
addProperties(GraphPropertyConfig[] configs)
Adds properties from the different property configurations
|
GraphAlterationEmptyEdgeProviderBuilder |
addProperties(java.util.List<GraphPropertyConfig> configs)
Adds properties from the different property configurations
|
GraphAlterationEmptyEdgeProviderBuilder |
addProperty(GraphPropertyConfig config)
Adds a property from the property configuration
|
GraphAlterationEmptyEdgeProviderBuilder |
addProperty(java.lang.String name,
PropertyType type)
Adds a property of the given name and type to the provider.
|
GraphAlterationEmptyEdgeProviderBuilder |
addProperty(java.lang.String name,
PropertyType type,
int dimension)
Adds a property of the given name, type and dimension to the provider.
|
GraphAlterationEmptyEdgeProviderBuilder |
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.
|
GraphAlterationEmptyEdgeProviderBuilder |
setKeyColumn(java.lang.Object column)
Sets the name or index (1-based index) of the key property for the provider.
|
GraphAlterationEmptyEdgeProviderBuilder |
setKeyType(IdType type)
Sets the type of the keys in the provider.
|
GraphAlterationEmptyEdgeProviderBuilder |
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
GraphAlterationEmptyEdgeProviderBuilder addProperties(GraphPropertyConfig[] configs)
addProperties
in interface GraphAlterationEmptyProviderBuilder
configs
- the property configurationsGraphAlterationEmptyEdgeProviderBuilder addProperties(java.util.List<GraphPropertyConfig> configs)
addProperties
in interface GraphAlterationEmptyProviderBuilder
configs
- the property configurationsGraphAlterationEmptyEdgeProviderBuilder addProperty(GraphPropertyConfig config)
addProperty
in interface GraphAlterationEmptyProviderBuilder
config
- the property configurationGraphAlterationEmptyEdgeProviderBuilder addProperty(java.lang.String name, PropertyType type)
addProperty
in interface GraphAlterationEmptyProviderBuilder
name
- the name of the property to addtype
- the type of the property to addGraphAlterationEmptyEdgeProviderBuilder addProperty(java.lang.String name, PropertyType type, int dimension)
addProperty
in interface GraphAlterationEmptyProviderBuilder
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)GraphAlterationEmptyEdgeProviderBuilder createKeyMapping(boolean create)
createKeyMapping
in interface GraphAlterationEmptyProviderBuilder
create
- boolean indicating if the provider key mapping should be createdGraphAlterationEmptyEdgeProviderBuilder setKeyColumn(java.lang.Object column)
setKeyColumn
in interface GraphAlterationEmptyProviderBuilder
column
- the key column name or indexGraphAlterationEmptyEdgeProviderBuilder setKeyType(IdType type)
setKeyType
in interface GraphAlterationEmptyProviderBuilder
type
- the key typeGraphAlterationEmptyEdgeProviderBuilder setLabel(java.lang.String label)
setLabel
in interface GraphAlterationEmptyProviderBuilder
label
- the label to associate to the provider