shark.memstore2

OffHeapStorageClient

abstract class OffHeapStorageClient extends AnyRef

Provides an API for writing to an off-heap storage service, such as Tachyon.

To ease the distinction between partitioned and non-partitioned tables, we consider a non-partitioned table as a special case of partitioned tables with the single hivePartitionKey of value None. See TachyonStorageClient.DEFAULT_PARTITION for example usage.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OffHeapStorageClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OffHeapStorageClient()

Abstract Value Members

  1. abstract def createTablePartition(tableKey: String, hivePartitionKeyOpt: Option[String]): Boolean

  2. abstract def createTablePartitionWriter(tableKey: String, hivePartitionKeyOpt: Option[String], numColumns: Int): OffHeapTableWriter

  3. abstract def dropTable(tableKey: String): Boolean

  4. abstract def dropTablePartition(tableKey: String, hivePartitionKey: Option[String]): Boolean

  5. abstract def readTablePartition(tableKey: String, hivePartitionKeyOpt: Option[String], columnsUsed: BitSet, pruningFn: (RDD[TablePartition], Map[Int, TablePartitionStats]) ⇒ RDD[_]): RDD[_]

    Reads a partition into an RDD, projecting columns and pruning rows to reduce total amount of data transferred out of the off-heap storage.

    Reads a partition into an RDD, projecting columns and pruning rows to reduce total amount of data transferred out of the off-heap storage. In order to facilitate the column projection, the RDD may return a TablePartition with null column ByteBuffers, which the row-pruning function will safely ignore.

  6. abstract def renameTable(oldTableKey: String, newTableKey: String): Boolean

  7. abstract def tableExists(tableKey: String): Boolean

  8. abstract def tablePartitionExists(tableKey: String, hivePartitionKey: Option[String]): Boolean

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped