@Test public final void testToProto() { Column column = new Column(field1.getProto()); CatalogProtos.ColumnProto proto = column.getProto(); Column fromProto = new Column(proto); assertEquals(column, fromProto); }
@Override public ColumnProto getProto() { return ColumnProto.newBuilder().setName(this.name).setDataType(this.dataType).build(); }
Column implements ProtoObject<ColumnProto>, GsonObject { @Override public ColumnProto getProto() { return ColumnProto.newBuilder().setName(this.name).setDataType(this.dataType).build(); } }
Column implements ProtoObject<ColumnProto>, GsonObject { @Override public ColumnProto getProto() { return ColumnProto.newBuilder().setName(this.name).setDataType(this.dataType).build(); } Column(String name, DataType dataType);  Column(String name, TajoDataTypes.Type type);  Column(String name, TajoDataTypes.Type type, int typeLength);  Column(ColumnProto proto); }
Column implements ProtoObject<ColumnProto>, GsonObject { @Override public ColumnProto getProto() { return ColumnProto.newBuilder().setName(this.name).setDataType(this.dataType).build(); } Column(String name, DataType dataType);  Column(String name, TajoDataTypes.Type type);  Column(String name, TajoDataTypes.Type type, int typeLength);  Column(ColumnProto proto); boolean hasQualifier(); String getQualifiedName(); String getQualifier(); String getSimpleName(); DataType getDataType(); @Override boolean equals(Object o); int hashCode(); @Override Object clone(); @Override ColumnProto getProto(); String toString(); @Override String toJson(); }
Column implements ProtoObject<ColumnProto>, GsonObject { @Override public ColumnProto getProto() { return ColumnProto.newBuilder().setName(this.name).setDataType(this.dataType).build(); } Column(String name, DataType dataType);  Column(String name, TajoDataTypes.Type type);  Column(String name, TajoDataTypes.Type type, int typeLength);  Column(ColumnProto proto); boolean hasQualifier(); String getQualifiedName(); String getQualifier(); String getSimpleName(); DataType getDataType(); @Override boolean equals(Object o); int hashCode(); @Override Object clone(); @Override ColumnProto getProto(); String toString(); @Override String toJson();  }