public interface GraphExtension extends Storable<GraphExtension>
Modifier and Type | Interface and Description |
---|---|
static class |
GraphExtension.NoOpExtension
default implementation defines no additional fields or any logic.
|
Modifier and Type | Method and Description |
---|---|
GraphExtension |
copyTo(GraphExtension extStorage)
creates a copy of this extended storage
|
int |
getDefaultEdgeFieldValue() |
int |
getDefaultNodeFieldValue() |
void |
init(Graph graph,
Directory dir)
initializes the extended storage by giving the base graph
|
boolean |
isRequireEdgeField() |
boolean |
isRequireNodeField() |
void |
setSegmentSize(int bytes)
sets the segment size in all additional data storages
|
close, create, flush, getCapacity, isClosed, loadExisting
boolean isRequireNodeField()
boolean isRequireEdgeField()
int getDefaultNodeFieldValue()
int getDefaultEdgeFieldValue()
void init(Graph graph, Directory dir)
void setSegmentSize(int bytes)
GraphExtension copyTo(GraphExtension extStorage)
Copyright © 2012–2016. All rights reserved.