class SimpleWriteableTuple[T <: WriteableTuple[T]] extends ColumnUtils with WriteableTuple[T] with ReadableTuple
An implementation of WriteableTuple which keeps all values in primitive arrays.
This can be used as a scratch space for a single row in a tensor.
- Alphabetic
- By Inheritance
- SimpleWriteableTuple
- ReadableTuple
- WriteableTuple
- ColumnUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SimpleWriteableTuple(types: Array[Representable])
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
- SimpleWriteableTuple → 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
- SimpleWriteableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getBooleanArity(): Int
- Definition Classes
- ColumnUtils
-
def
getBytes(column: Int): Array[Byte]
- returns
a byte array at given column.
- Definition Classes
- SimpleWriteableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getBytesArity(): Int
- Definition Classes
- ColumnUtils
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getColumnIndex(): Array[Int]
- Definition Classes
- ColumnUtils
-
def
getColumnTypes(): Array[Representable]
- Definition Classes
- ColumnUtils
-
def
getCopy(): ReadableTuple
- returns
a copy of this tuple, so that changes to the original tuple will not affect the new one.
- Definition Classes
- SimpleWriteableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getDouble(column: Int): Double
- returns
a double at given column.
- Definition Classes
- SimpleWriteableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getDoubleArity(): Int
- Definition Classes
- ColumnUtils
-
def
getFloat(column: Int): Float
- returns
a float at given column.
- Definition Classes
- SimpleWriteableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getFloatArity(): Int
- Definition Classes
- ColumnUtils
-
def
getInt(column: Int): Int
- returns
an int at given column.
- Definition Classes
- SimpleWriteableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getIntArity(): Int
- Definition Classes
- ColumnUtils
-
def
getLong(column: Int): Long
- returns
a long at given column.
- Definition Classes
- SimpleWriteableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getLongArity(): Int
- Definition Classes
- ColumnUtils
-
def
getString(column: Int): String
- returns
a string at given column.
- Definition Classes
- SimpleWriteableTuple → ReadableTuple
- Annotations
- @Override()
-
def
getStringArity(): Int
- Definition Classes
- ColumnUtils
-
def
getTypes(): Array[Representable]
- returns
the types of all dimensions and the value as a single array.
- Definition Classes
- SimpleWriteableTuple → ReadableTuple → WriteableTuple
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- SimpleWriteableTuple → 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()
-
def
resetColumns(): Unit
Resets all values to 0 (for primitives) and null for Strings
-
def
setBoolean(column: Int, value: Boolean): T
Sets the specified column to a given
booleanSets the specified column to a given
boolean- column
The column in the tuple to write to
- value
The double value to be written
- returns
A reference to this object (
this)
- Definition Classes
- SimpleWriteableTuple → WriteableTuple
- Annotations
- @Override()
-
def
setBytes(column: Int, value: Array[Byte]): T
Sets the specified column to a given
byte arraySets the specified column to a given
byte array- column
The column in the tuple to write to
- value
The byte array value to be written
- returns
A reference to this object (
this)
- Definition Classes
- SimpleWriteableTuple → WriteableTuple
- Annotations
- @Override()
-
def
setDouble(column: Int, value: Double): T
Sets the specified column to a given
doubleSets the specified column to a given
double- column
The column in the tuple to write to
- value
The double value to be written
- returns
A reference to this object (
this)
- Definition Classes
- SimpleWriteableTuple → WriteableTuple
- Annotations
- @Override()
-
def
setFloat(column: Int, value: Float): T
Sets the specified column to a given
floatSets the specified column to a given
float- column
The column in the tuple to write to
- value
The float value to be written
- returns
A reference to this object (
this)
- Definition Classes
- SimpleWriteableTuple → WriteableTuple
- Annotations
- @Override()
-
def
setInt(column: Int, value: Int): T
Sets the specified column to a given
intSets the specified column to a given
int- column
The column in the tuple to write to
- value
The int value to be written
- returns
A reference to this object (
this)
- Definition Classes
- SimpleWriteableTuple → WriteableTuple
- Annotations
- @Override()
-
def
setLong(column: Int, value: Long): T
Sets the specified column to a given
longSets the specified column to a given
long- column
The column in the tuple to write to
- value
The long value to be written
- returns
A reference to this object (
this)
- Definition Classes
- SimpleWriteableTuple → WriteableTuple
- Annotations
- @Override()
-
def
setString(column: Int, value: String): T
Sets the specified column to a given
StringSets the specified column to a given
String- column
The column in the tuple to write to
- value
The String value to be written
- returns
A reference to this object (
this)
- Definition Classes
- SimpleWriteableTuple → WriteableTuple
- Annotations
- @Override()
-
def
setValue(index: Int, value: Any): T
- Definition Classes
- WriteableTuple
-
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()