Class ArrayWritable

    • Constructor Detail

      • ArrayWritable

        public ArrayWritable()
    • Method Detail

      • length

        public abstract long length()
      • getDouble

        public abstract double getDouble​(long i)
      • getFloat

        public abstract float getFloat​(long i)
      • getInt

        public abstract int getInt​(long i)
      • getLong

        public abstract long getLong​(long i)
      • toDouble

        public double toDouble()
        Description copied from interface: Writable
        Convert Writable to double. Whether this is supported depends on the specific writable.
        Specified by:
        toDouble in interface Writable
      • toFloat

        public float toFloat()
        Description copied from interface: Writable
        Convert Writable to float. Whether this is supported depends on the specific writable.
        Specified by:
        toFloat in interface Writable
      • toInt

        public int toInt()
        Description copied from interface: Writable
        Convert Writable to int. Whether this is supported depends on the specific writable.
        Specified by:
        toInt in interface Writable
      • toLong

        public long toLong()
        Description copied from interface: Writable
        Convert Writable to long. Whether this is supported depends on the specific writable.
        Specified by:
        toLong in interface Writable