@Override public double readDouble(int id) { return dict.decodeToDouble(id); }
@Override public long readTinyInt(int id) { return (long)super.validatedDouble(dict.decodeToDouble(id), serdeConstants.TINYINT_TYPE_NAME); }
@Override public long readLong(int id) { return (long)(super.validatedDouble(dict.decodeToDouble(id), serdeConstants.BIGINT_TYPE_NAME)); }
@Override public float readFloat(int id) { return (float)(super.validatedDouble(dict.decodeToDouble(id), serdeConstants.FLOAT_TYPE_NAME)); }
@Override public byte[] readDecimal(int id) { return super.validatedDecimal(dict.decodeToDouble(id)); } }
@Override public long readInteger(int id) { return (long)(super.validatedDouble(dict.decodeToDouble(id), serdeConstants.INT_TYPE_NAME)); }
@Override public long readSmallInt(int id) { return (long)super.validatedDouble(dict.decodeToDouble(id), serdeConstants.SMALLINT_TYPE_NAME); }
@Override public byte[] readString(int id) { return convertToBytes(dict.decodeToDouble(id)); }
@Override public byte[] readVarchar(int id) { String value = enforceMaxLength( convertToString(dict.decodeToDouble(id))); return convertToBytes(value); }
@Override public byte[] readChar(int id) { String value = enforceMaxLength( convertToString(dict.decodeToDouble(id))); return convertToBytes(value); }
@Override public double decodeToDouble(int id) { return dictionary.decodeToDouble(id); }
@Override public double decodeToDouble(int id) { return dictionary.decodeToDouble(id); }
@Override public double getDouble(int rowId) { if (dictionary == null) { return doubleData[rowId]; } else { return dictionary.decodeToDouble(dictionaryIds.getDictId(rowId)); } }
@Override public double getDouble(int rowId) { if (dictionary == null) { return Platform.getDouble(null, data + rowId * 8); } else { return dictionary.decodeToDouble(dictionaryIds.getDictId(rowId)); } }
@Override public double getDouble(int rowId) { if (dictionary == null) { return Platform.getDouble(null, data + rowId * 8); } else { return dictionary.decodeToDouble(dictionaryIds.getDictId(rowId)); } }
@Override public double readDouble() { try { return dictionary.decodeToDouble(decoder.readInt()); } catch (IOException e) { throw new ParquetDecodingException(e); } }
@Override public double readDouble() { try { return dictionary.decodeToDouble(decoder.readInt()); } catch (IOException e) { throw new ParquetDecodingException(e); } }
for (int i = rowId; i < rowId + num; ++i) { if (!column.isNullAt(i)) { column.putDouble(i, dictionary.decodeToDouble(dictionaryIds.getDictId(i)));
for (int i = rowId; i < rowId + num; ++i) { if (!column.isNullAt(i)) { column.putDouble(i, dictionary.decodeToDouble(dictionaryIds.getDictId(i)));
for (int i = rowId; i < rowId + num; ++i) { if (!column.isNullAt(i)) { column.putDouble(i, dictionary.decodeToDouble(dictionaryIds.getDictId(i)));