Пример #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) {
   this(datum, accessor, datum.getDataType());
 }