public class TwoTablesGraphConfigBuilder extends AbstractGraphConfigBuilder<TwoTablesGraphConfig>
| Constructor and Description |
|---|
TwoTablesGraphConfigBuilder() |
addVertexProperty, build, setDateFormatpublic TwoTablesGraphConfigBuilder addEdgeProperty(String name, PropertyType type)
public TwoTablesGraphConfigBuilder addEdgeProperty(String name, PropertyType type, Object defaultVal)
AbstractGraphConfigBuilderaddEdgeProperty 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)
AbstractGraphConfigBuilderaddNodeProperty in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>public TwoTablesGraphConfigBuilder setCreateEdgeIdIndex(boolean create)
AbstractGraphConfigBuildersetCreateEdgeIdIndex in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>create - if true, a edge ID index is createdgraph configuration documentation for details about the effects and default of this flagpublic TwoTablesGraphConfigBuilder setCreateEdgeIdMapping(boolean create)
AbstractGraphConfigBuildersetCreateEdgeIdMapping in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>create - if true, a edge ID mapping is createdgraph configuration documentation for details about the effects and default of this flagpublic TwoTablesGraphConfigBuilder setCreateVertexIdIndex(boolean create)
AbstractGraphConfigBuildersetCreateVertexIdIndex in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>create - if true, a vertex ID index is createdgraph configuration documentation for details about the effects and default of this flagpublic TwoTablesGraphConfigBuilder setCreateVertexIdMapping(boolean create)
AbstractGraphConfigBuildersetCreateVertexIdMapping in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>create - if true, a vertex ID mapping is createdgraph configuration documentation for details about the effects and default of this flagpublic TwoTablesGraphConfigBuilder setEdgesKey(String eKey)
public TwoTablesGraphConfigBuilder setEdgesTableName(String etb)
public TwoTablesGraphConfigBuilder setErrorHandlingOnMissedPropKey(OnMismatch action)
AbstractGraphConfigBuildersetErrorHandlingOnMissedPropKey in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>action - the actiongraph configuration documentation for details about the effects and default of this settingpublic TwoTablesGraphConfigBuilder setErrorHandlingOnPropConversion(OnMismatch action)
AbstractGraphConfigBuildersetErrorHandlingOnPropConversion in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>action - the actiongraph configuration documentation for details about the effects and default of this settingpublic TwoTablesGraphConfigBuilder setErrorHandlingOnTypeMismatch(OnMismatch action)
AbstractGraphConfigBuildersetErrorHandlingOnTypeMismatch in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>action - the actiongraph configuration documentation for details about the effects and default of this settingpublic 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)
AbstractGraphConfigBuildersetRefreshIntervalMs in class AbstractGraphConfigBuilder<TwoTablesGraphConfig>milliseconds - the interval in millisecondsgraph configuration documentation for details about the effects and default of this flagpublic TwoTablesGraphConfigBuilder setToNid(String toNid)
public TwoTablesGraphConfigBuilder setUsername(String un)
public TwoTablesGraphConfigBuilder setVertexIdType(IdType vertexIdType)
Copyright © 2015. All rights reserved.