public static class BulkLoaderVertexProgram.Builder extends AbstractVertexProgramBuilder<BulkLoaderVertexProgram.Builder>
configuration| Modifier and Type | Method and Description | 
|---|---|
BulkLoaderVertexProgram.Builder | 
bulkLoader(Class<? extends BulkLoader> clazz)
Sets the class of the BulkLoader implementation to be used. 
 | 
BulkLoaderVertexProgram.Builder | 
bulkLoader(String className)
Sets the class name of the BulkLoader implementation to be used. 
 | 
BulkLoaderVertexProgram | 
create(Graph graph)  | 
BulkLoaderVertexProgram.Builder | 
intermediateBatchSize(int batchSize)
The batch size for a single transaction (number of vertices in the vertex loading stage; number of edges in
 the edge loading stage). 
 | 
BulkLoaderVertexProgram.Builder | 
keepOriginalIds(boolean keepOriginalIds)
Specifies whether the original vertex identifiers should be kept in the target graph or not. 
 | 
BulkLoaderVertexProgram.Builder | 
userSuppliedIds(boolean useUserSuppliedIds)
Specifies whether user supplied identifiers should be used when the bulk loader creates vertices in the
 target graph. 
 | 
BulkLoaderVertexProgram.Builder | 
vertexIdProperty(String name)
Sets the name of the property that is used to store the original vertex identifiers in the target graph. 
 | 
BulkLoaderVertexProgram.Builder | 
writeGraph(Configuration configuration)
A configuration for the target graph that can be passed to GraphFactory.open(). 
 | 
BulkLoaderVertexProgram.Builder | 
writeGraph(String configurationFile)
A configuration for the target graph that can be passed to GraphFactory.open(). 
 | 
configurepublic BulkLoaderVertexProgram create(Graph graph)
create in interface VertexProgram.Buildercreate in class AbstractVertexProgramBuilder<BulkLoaderVertexProgram.Builder>public BulkLoaderVertexProgram.Builder bulkLoader(String className)
public BulkLoaderVertexProgram.Builder bulkLoader(Class<? extends BulkLoader> clazz)
public BulkLoaderVertexProgram.Builder vertexIdProperty(String name)
public BulkLoaderVertexProgram.Builder userSuppliedIds(boolean useUserSuppliedIds)
public BulkLoaderVertexProgram.Builder keepOriginalIds(boolean keepOriginalIds)
public BulkLoaderVertexProgram.Builder intermediateBatchSize(int batchSize)
public BulkLoaderVertexProgram.Builder writeGraph(String configurationFile) throws ConfigurationException
ConfigurationExceptionpublic BulkLoaderVertexProgram.Builder writeGraph(Configuration configuration)
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.