object ArrowSerializer
Object ArrowSerializer wraps the operations in class ArrowSerializer and could get either Tensor or Table and serialize it to array of byte
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ArrowSerializer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
-
def
activityBatchToByte(t: Activity, idx: Int): Array[Byte]
Convert Activity batch to array of byte
Convert Activity batch to array of byte
- t
Activity to convert
- idx
index of Activity to convert in this batch
- returns
array of byte converted
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getSchema: Schema
get Arrow schema of Tensor, which is regular schema of data and shape
-
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()
-
def
writeTensor(tensor: Tensor[Float], vectorSchemaRoot: VectorSchemaRoot, writer: ArrowStreamWriter): Unit
Write Tensor to VectorSchemaRoot, and use ArrowStreamWriter to write The ArrowStreamWriter is pointed to ByteArrayOutputStream in advance
Write Tensor to VectorSchemaRoot, and use ArrowStreamWriter to write The ArrowStreamWriter is pointed to ByteArrayOutputStream in advance
- tensor
Tensor to write
- vectorSchemaRoot
VectorSchemaRoot to store data of Tensor
- writer
ArrowStreamWriter to write Tensor