Packages

c

com.linkedin.feathr.common.tensor

StandaloneReadableTuple

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

Linear Supertypes
ReadableTuple, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StandaloneReadableTuple
  2. ReadableTuple
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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.

  2. new StandaloneReadableTuple(readableTuple: ReadableTuple)
  3. new StandaloneReadableTuple(standaloneReadableTuple: StandaloneReadableTuple)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(o: Any): Boolean
    Definition Classes
    StandaloneReadableTuple → AnyRef → Any
    Annotations
    @Override()
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def getBoolean(column: Int): Boolean

    returns

    a boolean at given column.

    Definition Classes
    StandaloneReadableTuple → ReadableTuple
    Annotations
    @Override()
  10. def getBytes(column: Int): Array[Byte]

    returns

    a byte array at given column.

    Definition Classes
    StandaloneReadableTuple → ReadableTuple
    Annotations
    @Override()
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. 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()
  13. def getDouble(column: Int): Double

    returns

    a double at given column.

    Definition Classes
    StandaloneReadableTuple → ReadableTuple
    Annotations
    @Override()
  14. def getFloat(column: Int): Float

    returns

    a float at given column.

    Definition Classes
    StandaloneReadableTuple → ReadableTuple
    Annotations
    @Override()
  15. def getInt(column: Int): Int

    returns

    an int at given column.

    Definition Classes
    StandaloneReadableTuple → ReadableTuple
    Annotations
    @Override()
  16. def getLong(column: Int): Long

    returns

    a long at given column.

    Definition Classes
    StandaloneReadableTuple → ReadableTuple
    Annotations
    @Override()
  17. def getString(column: Int): String

    returns

    a string at given column.

    Definition Classes
    StandaloneReadableTuple → ReadableTuple
    Annotations
    @Override()
  18. def getTypes(): Array[Representable]
    Definition Classes
    StandaloneReadableTuple → ReadableTuple
    Annotations
    @Override()
  19. def hashCode(): Int
    Definition Classes
    StandaloneReadableTuple → AnyRef → Any
    Annotations
    @Override()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ReadableTuple

Inherited from AnyRef

Inherited from Any

Ungrouped