package pstore;

public class Column {
  final long ptr;

  public Column(String name, long id, ValueType type) {
    ptr = create(name, id, type.value);
  }

  Column(long ptr) {
    this.ptr = ptr;
  }

  private native long create(String name, long id, int type);
}

package pstore;

public class Column {
  final long ptr;

  public Column(String name, long id, ValueType type) {
    ptr = create(name, id, type.value);
  }

  Column(long ptr) {
    this.ptr = ptr;
  }

  private static native long create(String name, long id, int type);
}

Declare native method static