示例#1
0
 private Field(PDatum datum, boolean isNullable, int count, SortOrder sortOrder) {
   Preconditions.checkNotNull(sortOrder);
   this.type = datum.getDataType();
   this.sortOrder = sortOrder;
   this.count = count;
   this.isNullable = isNullable;
   if (this.type.isFixedWidth() && this.type.getByteSize() == null) {
     this.byteSize = datum.getByteSize();
   }
 }
 public RowKeyColumnExpression(PDatum datum, RowKeyValueAccessor accessor, PDataType fromType) {
   super(datum);
   this.accessor = accessor;
   this.fromType = fromType;
   this.name = datum.toString();
 }
 public RowKeyColumnExpression(PDatum datum, RowKeyValueAccessor accessor) {
   this(datum, accessor, datum.getDataType());
 }