c
com.intel.analytics.bigdl.serving.serialization
ArrowDeserializer
Companion object ArrowDeserializer
class ArrowDeserializer extends AnyRef
Arrow deserializer to deserialize arrow buffer for Scala/Java frond end The frontend will get Array of data and Array of shape and then make string based on them
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ArrowDeserializer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ArrowDeserializer()
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()
-
def
create(b64string: String): Array[(Array[Float], Array[Int])]
Deserialize base64 string to Array of (dataArray, shapeArray) some models would have multiple output, aka.
Deserialize base64 string to Array of (dataArray, shapeArray) some models would have multiple output, aka. Table Thus, Array is used to represent the multiple output
- b64string
base64 string to decode
-
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
getFromSchemaRoot(vectorSchemaRoot: VectorSchemaRoot): (Array[Float], Array[Int])
Get data and shape Array from VectorSchemaRoot
Get data and shape Array from VectorSchemaRoot
- vectorSchemaRoot
VectorSchemaRoot read from Arrow buffer
- returns
Tuple, (dataArray, shapeArray)
- def getJsonString(arr: Array[(Array[Float], Array[Int])]): String
-
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()