Packages

c

org.apache.graphar.reader

VertexReader

class VertexReader extends AnyRef

Reader for vertex chunks.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VertexReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. 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.

  15. 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.

  16. 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.

  17. 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.

  18. def readVerticesNumber(): Long

    Load the total number of vertices for this vertex type.

  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped