Package org.umlg.sqlg.structure
Class SqlgEdge
java.lang.Object
org.umlg.sqlg.structure.SqlgElement
org.umlg.sqlg.structure.SqlgEdge
- All Implemented Interfaces:
 org.apache.tinkerpop.gremlin.structure.Edge,org.apache.tinkerpop.gremlin.structure.Element
Date: 2014/07/12
 Time: 5:41 AM
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
org.apache.tinkerpop.gremlin.structure.Edge.ExceptionsNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
org.apache.tinkerpop.gremlin.structure.Element.Exceptions - 
Field Summary
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
DEFAULT_LABEL - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidload()load the row from the db and caches the results in the elementvoidloadEdgeInOutVertices(SchemaTable outVertexSchemaTable, Long outId, SchemaTable inVertexSchemaTable, Long inId) voidloadInVertex(ResultSet resultSet, List<ColumnList.Column> inForeignKeyColumns) voidloadInVertex(ResultSet resultSet, SchemaTable inVertexSchemaTable, int columnIdx) voidloadOutVertex(ResultSet resultSet, List<ColumnList.Column> outForeignKeyColumns) voidloadOutVertex(ResultSet resultSet, SchemaTable outVertexSchemaTable, int columnIdx) static SqlgEdgestatic SqlgEdge<V> Iterator<org.apache.tinkerpop.gremlin.structure.Property<V>>properties(String... propertyKeys) voidremove()toString()Iterator<org.apache.tinkerpop.gremlin.structure.Vertex>vertices(org.apache.tinkerpop.gremlin.structure.Direction direction) Methods inherited from class org.umlg.sqlg.structure.SqlgElement
equals, getInternalStartTraverserIndex, getSchema, getTable, graph, hashCode, id, internalSetProperty, keys, label, loadProperty, loadProperty, property, property, setInternalPrimaryKey, setInternalStartTraverserIndex, valueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Edge
bothVertices, inVertex, outVertexMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Element
graph, id, keys, label, property, property, value, values 
- 
Constructor Details
- 
SqlgEdge
public SqlgEdge(SqlgGraph sqlgGraph, List<Comparable> identifiers, String schema, String table, int numberOfColumns)  - 
SqlgEdge
 
 - 
 - 
Method Details
- 
of
 - 
of
 - 
remove
public void remove()- Specified by:
 removein interfaceorg.apache.tinkerpop.gremlin.structure.Element- Overrides:
 removein classSqlgElement
 - 
getInVertex
 - 
getOutVertex
 - 
toString
 - 
load
protected void load()Description copied from class:SqlgElementload the row from the db and caches the results in the element- Specified by:
 loadin classSqlgElement
 - 
loadEdgeInOutVertices
public void loadEdgeInOutVertices(SchemaTable outVertexSchemaTable, Long outId, SchemaTable inVertexSchemaTable, Long inId)  - 
loadInVertex
public void loadInVertex(ResultSet resultSet, SchemaTable inVertexSchemaTable, int columnIdx) throws SQLException - Throws:
 SQLException
 - 
loadInVertex
 - 
loadOutVertex
public void loadOutVertex(ResultSet resultSet, SchemaTable outVertexSchemaTable, int columnIdx) throws SQLException - Throws:
 SQLException
 - 
loadOutVertex
 - 
properties
public <V> Iterator<org.apache.tinkerpop.gremlin.structure.Property<V>> properties(String... propertyKeys) - Specified by:
 propertiesin interfaceorg.apache.tinkerpop.gremlin.structure.Edge- Specified by:
 propertiesin interfaceorg.apache.tinkerpop.gremlin.structure.Element- Overrides:
 propertiesin classSqlgElement
 - 
vertices
public Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(org.apache.tinkerpop.gremlin.structure.Direction direction) - Specified by:
 verticesin interfaceorg.apache.tinkerpop.gremlin.structure.Edge
 - 
getSchemaTablePrefixed
- Specified by:
 getSchemaTablePrefixedin classSqlgElement
 - 
getSchemaTable
- Specified by:
 getSchemaTablein classSqlgElement
 
 -