object MetaUtils
- Alphabetic
- By Inheritance
- MetaUtils
- 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
- val TableIdDefaultValue: Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildDegenerateTableMeta(batch: ColumnarBatch): TableMeta
Build a TableMeta message for a degenerate table (zero columns or rows)
Build a TableMeta message for a degenerate table (zero columns or rows)
- batch
the degenerate columnar batch which must be compressed or packed
- returns
heap-based flatbuffer message
-
def
buildTableMeta(fbb: FlatBufferBuilder, bufferMetaOffset: Option[Int], packedMeta: ByteBuffer, numRows: Long): TableMeta
Build a TableMeta message with a pre-built BufferMeta message
Build a TableMeta message with a pre-built BufferMeta message
- fbb
flatbuffer builder that has an already built BufferMeta message
- bufferMetaOffset
offset where the BufferMeta message was built
- packedMeta
opaque metadata needed to unpack the table
- numRows
the number of rows in the table
- returns
flatbuffer message
-
def
buildTableMeta(tableId: Option[Int], ct: ContiguousTable, codecId: Byte, compressedSize: Long): TableMeta
Build a TableMeta message from a Table that originated in contiguous memory that has since been compressed.
Build a TableMeta message from a Table that originated in contiguous memory that has since been compressed.
- tableId
ID to use for this table
- ct
contiguous table representing the uncompressed data
- codecId
identifier of the codec being used, see CodecType
- compressedSize
compressed data from the uncompressed buffer
- returns
heap-based flatbuffer message
- def buildTableMeta(tableId: Int, bufferSize: Long, packedMeta: ByteBuffer, rowCount: Long): TableMeta
-
def
buildTableMeta(tableId: Int, ct: ContiguousTable): TableMeta
Build a TableMeta message from a Table in contiguous memory
Build a TableMeta message from a Table in contiguous memory
- tableId
the ID to use for this table
- ct
the contiguous table whose metadata will be encoded in the message
- returns
heap-based flatbuffer message
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
dropCodecs(tableMeta: TableMeta): TableMeta
Build a copy of the input
TableMetabut ignoring any codecs specified inBufferMetaThis is necessary after a decompression, such that batches that are reconstituted have a metadata that indicate they are not compressed.Build a copy of the input
TableMetabut ignoring any codecs specified inBufferMetaThis is necessary after a decompression, such that batches that are reconstituted have a metadata that indicate they are not compressed.- tableMeta
- the incoming metadata with codec specifications
- returns
a TableMeta without codecs
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBatchFromMeta(deviceBuffer: DeviceMemoryBuffer, meta: TableMeta, sparkTypes: Array[DataType]): ColumnarBatch
Construct a columnar batch from a contiguous device buffer and a
TableMetamessage describing the schema of the buffer data.Construct a columnar batch from a contiguous device buffer and a
TableMetamessage describing the schema of the buffer data.- deviceBuffer
contiguous buffer
- meta
schema metadata
- sparkTypes
the spark types that the
ColumnarBatchshould have.- returns
columnar batch that must be closed by the caller
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getTableFromMeta(deviceBuffer: DeviceMemoryBuffer, meta: TableMeta): Table
Construct a table from a contiguous device buffer and a
TableMetamessage describing the schema of the buffer data.Construct a table from a contiguous device buffer and a
TableMetamessage describing the schema of the buffer data.- deviceBuffer
contiguous buffer
- meta
schema metadata
- returns
table that must be closed by the caller
-
def
getTableMetaNoTable(bufferSize: Long): TableMeta
Constructs a table metadata buffer from a buffer length without describing any schema for the buffer.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()