use of org.apache.drill.exec.vector.Float8Vector in project drill by apache.
the class MoneyGen method setValue.
@Override
public void setValue(ValueVector v, int index) {
Float8Vector vector = (Float8Vector) v;
vector.getMutator().set(index, value());
}
use of org.apache.drill.exec.vector.Float8Vector in project drill by axbaretto.
the class MoneyGen method setValue.
@Override
public void setValue(ValueVector v, int index) {
Float8Vector vector = (Float8Vector) v;
vector.getMutator().set(index, value());
}
use of org.apache.drill.exec.vector.Float8Vector in project drill by axbaretto.
the class DoubleGen method setValue.
@Override
public void setValue(ValueVector v, int index) {
Float8Vector vector = (Float8Vector) v;
vector.getMutator().set(index, value());
}
use of org.apache.drill.exec.vector.Float8Vector in project drill by axbaretto.
the class TestBitRpc method getRandomBatch.
private static WritableBatch getRandomBatch(BufferAllocator allocator, int records) {
List<ValueVector> vectors = Lists.newArrayList();
for (int i = 0; i < 5; i++) {
Float8Vector v = (Float8Vector) TypeHelper.getNewVector(MaterializedField.create("a", Types.required(MinorType.FLOAT8)), allocator);
v.allocateNew(records);
v.getMutator().generateTestData(records);
vectors.add(v);
}
return WritableBatch.getBatchNoHV(records, vectors, false);
}
use of org.apache.drill.exec.vector.Float8Vector in project drill by apache.
the class TestBitBitKerberos method getRandomBatch.
private static WritableBatch getRandomBatch(BufferAllocator allocator, int records) {
List<ValueVector> vectors = Lists.newArrayList();
for (int i = 0; i < 5; i++) {
Float8Vector v = (Float8Vector) TypeHelper.getNewVector(MaterializedField.create("a", Types.required(MinorType.FLOAT8)), allocator);
v.allocateNew(records);
v.getMutator().generateTestData(records);
vectors.add(v);
}
return WritableBatch.getBatchNoHV(records, vectors, false);
}
Aggregations