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