class VertexReader extends AnyRef
Reader for vertex chunks.
- Alphabetic
- By Inheritance
- VertexReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
VertexReader(prefix: String, vertexInfo: VertexInfo, spark: SparkSession)
create a new vertex reader with vertex info.
create a new vertex reader with vertex info.
- prefix
the absolute prefix.
- vertexInfo
the vertex info that describes the vertex type.
- spark
spark session for the reader to read chunks as Spark DataFrame.
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()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
def
readAllVertexPropertyGroups(): DataFrame
Load the chunks for all property groups as a DataFrame.
Load the chunks for all property groups as a DataFrame.
- returns
DataFrame that contains all property group chunks of vertex.
-
def
readMultipleVertexPropertyGroups(propertyGroups: ArrayList[PropertyGroup]): DataFrame
Load the chunks for multiple property groups as a DataFrame.
Load the chunks for multiple property groups as a DataFrame.
- propertyGroups
list of property groups.
- returns
DataFrame that contains all chunks of property group. Raise IllegalArgumentException if the property group not contained.
-
def
readVertexPropertyChunk(propertyGroup: PropertyGroup, chunk_index: Long): DataFrame
Load a single vertex property chunk as a DataFrame.
Load a single vertex property chunk as a DataFrame.
- propertyGroup
property group.
- chunk_index
index of vertex chunk.
- returns
vertex property chunk DataFrame. Raise IllegalArgumentException if the property group not contained.
-
def
readVertexPropertyGroup(propertyGroup: PropertyGroup): DataFrame
Load all chunks for a property group as a DataFrame.
Load all chunks for a property group as a DataFrame.
- propertyGroup
property group.
- returns
DataFrame that contains all chunks of property group. Raise IllegalArgumentException if the property group not contained.
-
def
readVerticesNumber(): Long
Load the total number of vertices for this vertex type.
-
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