object IndexGenerator
IndexGenerator is an object to help generating the indices for vertex/edge DataFrames.
- Alphabetic
- By Inheritance
- IndexGenerator
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
constructVertexIndexMapping(vertexDf: DataFrame, primaryKey: String): DataFrame
Generate a vertex index mapping from the primary key, the result DataFrame contains two columns: vertex index & primary key
Generate a vertex index mapping from the primary key, the result DataFrame contains two columns: vertex index & primary key
- vertexDf
input vertex DataFrame.
- primaryKey
the primary key of vertex
- returns
a DataFrame contains two columns: vertex index & primary key.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
generateDstIndexForEdges(edgeDf: DataFrame, dstColumnName: String): DataFrame
Construct vertex index for destination column.
-
def
generateDstIndexForEdgesFromMapping(edgeDf: DataFrame, dstColumnName: String, dstIndexMapping: DataFrame): DataFrame
Join the edge table with the vertex index mapping for destination column.
-
def
generateEdgeIndexColumn(edgeDf: DataFrame): DataFrame
Add a column contains edge index to input edge DataFrame.
-
def
generateSrcAndDstIndexForEdgesFromMapping(edgeDf: DataFrame, srcIndexMapping: DataFrame, dstIndexMapping: DataFrame): DataFrame
Assumes that the first and second columns are the src and dst columns
-
def
generateSrcAndDstIndexForEdgesFromMapping(edgeDf: DataFrame, srcColumnName: String, dstColumnName: String, srcIndexMapping: DataFrame, dstIndexMapping: DataFrame): DataFrame
Join the edge table with the vertex index mapping for source & destination columns.
-
def
generateSrcAndDstIndexUnitedlyForEdges(edgeDf: DataFrame, srcColumnName: String, dstColumnName: String): DataFrame
Union and construct vertex index for source & destination columns.
-
def
generateSrcIndexForEdges(edgeDf: DataFrame, srcColumnName: String): DataFrame
Construct vertex index for source column.
-
def
generateSrcIndexForEdgesFromMapping(edgeDf: DataFrame, srcColumnName: String, srcIndexMapping: DataFrame): DataFrame
Join the edge table with the vertex index mapping for source column.
-
def
generateVertexIndexColumn(vertexDf: DataFrame): DataFrame
Add a column contains vertex index to DataFrame
Add a column contains vertex index to DataFrame
- vertexDf
the input vertex DataFrame.
- returns
DataFrame that contains a new vertex index column.
- def generateVertexIndexColumnAndIndexMapping(vertexDf: DataFrame, primaryKey: String = ""): (DataFrame, DataFrame)
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated