public class TwoTablesGraphConfigBuilder extends AbstractGraphConfigBuilder<TwoTablesGraphConfig>
Constructor and Description |
---|
TwoTablesGraphConfigBuilder() |
addVertexProperty, build, setDateFormat
public TwoTablesGraphConfigBuilder addEdgeProperty(String name, PropertyType type)
public TwoTablesGraphConfigBuilder addEdgeProperty(String name, PropertyType type, Object defaultVal)
AbstractGraphConfigBuilder
addEdgeProperty
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
name
- the name of the edge propertytype
- the type of the edge propertydefaultVal
- the default value of the edge property (can be null
)public TwoTablesGraphConfigBuilder addNodeProperty(String name, PropertyType type)
public TwoTablesGraphConfigBuilder addNodeProperty(String name, PropertyType type, Object defaultVal)
AbstractGraphConfigBuilder
addNodeProperty
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
public TwoTablesGraphConfigBuilder setCreateEdgeIdIndex(boolean create)
AbstractGraphConfigBuilder
setCreateEdgeIdIndex
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
create
- if true
, a edge ID index is createdgraph configuration documentation for details about the effects and default of this flag
public TwoTablesGraphConfigBuilder setCreateEdgeIdMapping(boolean create)
AbstractGraphConfigBuilder
setCreateEdgeIdMapping
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
create
- if true
, a edge ID mapping is createdgraph configuration documentation for details about the effects and default of this flag
public TwoTablesGraphConfigBuilder setCreateVertexIdIndex(boolean create)
AbstractGraphConfigBuilder
setCreateVertexIdIndex
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
create
- if true
, a vertex ID index is createdgraph configuration documentation for details about the effects and default of this flag
public TwoTablesGraphConfigBuilder setCreateVertexIdMapping(boolean create)
AbstractGraphConfigBuilder
setCreateVertexIdMapping
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
create
- if true
, a vertex ID mapping is createdgraph configuration documentation for details about the effects and default of this flag
public TwoTablesGraphConfigBuilder setEdgesKey(String eKey)
public TwoTablesGraphConfigBuilder setEdgesTableName(String etb)
public TwoTablesGraphConfigBuilder setErrorHandlingOnMissedPropKey(OnMismatch action)
AbstractGraphConfigBuilder
setErrorHandlingOnMissedPropKey
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
action
- the actiongraph configuration documentation for details about the effects and default of this setting
public TwoTablesGraphConfigBuilder setErrorHandlingOnPropConversion(OnMismatch action)
AbstractGraphConfigBuilder
setErrorHandlingOnPropConversion
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
action
- the actiongraph configuration documentation for details about the effects and default of this setting
public TwoTablesGraphConfigBuilder setErrorHandlingOnTypeMismatch(OnMismatch action)
AbstractGraphConfigBuilder
setErrorHandlingOnTypeMismatch
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
action
- the actiongraph configuration documentation for details about the effects and default of this setting
public TwoTablesGraphConfigBuilder setFromNid(String fromNid)
public TwoTablesGraphConfigBuilder setJdbcUrl(String url)
public TwoTablesGraphConfigBuilder setNodesKey(String nKey)
public TwoTablesGraphConfigBuilder setNodesTableName(String ntb)
public TwoTablesGraphConfigBuilder setPassword(String pw)
public TwoTablesGraphConfigBuilder setRefreshIntervalMs(int milliseconds)
AbstractGraphConfigBuilder
setRefreshIntervalMs
in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>
milliseconds
- the interval in millisecondsgraph configuration documentation for details about the effects and default of this flag
public TwoTablesGraphConfigBuilder setToNid(String toNid)
public TwoTablesGraphConfigBuilder setUsername(String un)
public TwoTablesGraphConfigBuilder setVertexIdType(IdType vertexIdType)
Copyright © 2015. All rights reserved.