Interface ValueReader

    • Method Summary

      Modifier and Type Method Description
      default BigDecimal getBigDecimal​(int index, int numBytesPerValue)  
      byte[] getBytes​(int index, int numBytesPerValue)
      NOTE: Do not reuse buffer for BYTES because the return value can have variable length.
      double getDouble​(int index)  
      float getFloat​(int index)  
      int getInt​(int index)  
      long getLong​(int index)  
      String getPaddedString​(int index, int numBytesPerValue, byte[] buffer)
      NOTE: The passed in reusable buffer should have capacity of at least numBytesPerValue.
      byte[] getUnpaddedBytes​(int index, int numBytesPerValue, byte paddingByte, byte[] buffer)
      Get un-padded bytes for string.
      String getUnpaddedString​(int index, int numBytesPerValue, byte paddingByte, byte[] buffer)
      NOTE: The passed in reusable buffer should have capacity of at least numBytesPerValue.
    • Method Detail

      • getInt

        int getInt​(int index)
      • getLong

        long getLong​(int index)
      • getFloat

        float getFloat​(int index)
      • getDouble

        double getDouble​(int index)
      • getBigDecimal

        default BigDecimal getBigDecimal​(int index,
                                         int numBytesPerValue)
      • getUnpaddedBytes

        byte[] getUnpaddedBytes​(int index,
                                int numBytesPerValue,
                                byte paddingByte,
                                byte[] buffer)
        Get un-padded bytes for string. NOTE: The passed in reusable buffer should have capacity of at least numBytesPerValue.
        Parameters:
        index -
        numBytesPerValue -
        paddingByte -
        buffer -
        Returns:
      • getUnpaddedString

        String getUnpaddedString​(int index,
                                 int numBytesPerValue,
                                 byte paddingByte,
                                 byte[] buffer)
        NOTE: The passed in reusable buffer should have capacity of at least numBytesPerValue.
      • getPaddedString

        String getPaddedString​(int index,
                               int numBytesPerValue,
                               byte[] buffer)
        NOTE: The passed in reusable buffer should have capacity of at least numBytesPerValue.
      • getBytes

        byte[] getBytes​(int index,
                        int numBytesPerValue)
        NOTE: Do not reuse buffer for BYTES because the return value can have variable length.