public RepeatedTimeStampVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedFloat4Vector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedIntVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedSmallIntVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedDateVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedVarBinaryVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedBigIntVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedTinyIntVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedDecimal9Vector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedFloat8Vector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedIntervalVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
/** * Get the <code>precision</code> of given type. * * @param majorType major type * @return precision value */ public static int getPrecision(MajorType majorType) { if (majorType.hasPrecision()) { return majorType.getPrecision(); } return isScalarStringType(majorType) ? MAX_VARCHAR_LENGTH : UNDEFINED; }
public RepeatedIntervalDayVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedUInt8Vector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedBitVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedUInt2Vector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedIntervalYearVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedUInt4Vector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedDecimal18Vector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }
public RepeatedDecimal28SparseVector(MaterializedField field, BufferAllocator allocator) { super(field, allocator); MajorType majorType = field.getType(); addOrGetVector(VectorDescriptor.create(Types.withScaleAndPrecision( majorType.getMinorType(), DataMode.REQUIRED, majorType.getScale(), majorType.getPrecision()))); }