All Downloads are FREE. Search and download functionalities are using the official Maven repository.

parquet.example.data.simple.Int96Value Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
package parquet.example.data.simple;

import parquet.io.api.Binary;
import parquet.io.api.RecordConsumer;

public class Int96Value extends Primitive {

  private final Binary value;

  public Int96Value(Binary value) {
    this.value = value;
  }

  @Override
  public Binary getInt96() {
    return value;
  }

  @Override
  public void writeValue(RecordConsumer recordConsumer) {
    recordConsumer.addBinary(value);
  }

  @Override
  public String toString() {
    return "Int96Value{" + String.valueOf(value) + "}";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy