class StandaloneReadableTuple extends ReadableTuple
A readable tuple implementation that stores single tensor row data independent of a tensor aka in standalone manner. This implements equality and hashcode methods so it can be used as a key in maps
- Alphabetic
- By Inheritance
- StandaloneReadableTuple
- ReadableTuple
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
StandaloneReadableTuple(readableTuple: ReadableTuple, dimOnly: Boolean)
Creates a StandaloneReadableTuple from a ReadableTuple optionally by dropping last value (float/double) columns.
Creates a StandaloneReadableTuple from a ReadableTuple optionally by dropping last value (float/double) columns. Note: this copies all the values from readableTuple so doesn't depend on underlying tensor, if any.
- readableTuple
ReadableTuple to convert into StandaloneReadableTuple
- dimOnly
value column(s) won't be copied if true, all columns will be copied otherwise.
- new StandaloneReadableTuple(readableTuple: ReadableTuple)
- new StandaloneReadableTuple(standaloneReadableTuple: StandaloneReadableTuple)
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()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(o: Any): Boolean
- Definition Classes
- StandaloneReadableTuple → AnyRef → Any
- Annotations
- @Override()
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBoolean(column: Int): Boolean
- returns
a boolean at given column.
- Definition Classes
- StandaloneReadableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getBytes(column: Int): Array[Byte]
- returns
a byte array at given column.
- Definition Classes
- StandaloneReadableTuple → ReadableTuple
- Annotations
- @Override()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getCopy(): ReadableTuple
- returns
a copy of this tuple, so that changes to the original tuple will not affect the new one.
- Definition Classes
- StandaloneReadableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getDouble(column: Int): Double
- returns
a double at given column.
- Definition Classes
- StandaloneReadableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getFloat(column: Int): Float
- returns
a float at given column.
- Definition Classes
- StandaloneReadableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getInt(column: Int): Int
- returns
an int at given column.
- Definition Classes
- StandaloneReadableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getLong(column: Int): Long
- returns
a long at given column.
- Definition Classes
- StandaloneReadableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getString(column: Int): String
- returns
a string at given column.
- Definition Classes
- StandaloneReadableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getTypes(): Array[Representable]
- Definition Classes
- StandaloneReadableTuple → ReadableTuple
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- StandaloneReadableTuple → AnyRef → Any
- Annotations
- @Override()
-
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()