本文整理汇总了Java中org.apache.drill.exec.vector.NullableFloat8Vector.Mutator方法的典型用法代码示例。如果您正苦于以下问题:Java NullableFloat8Vector.Mutator方法的具体用法?Java NullableFloat8Vector.Mutator怎么用?Java NullableFloat8Vector.Mutator使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.drill.exec.vector.NullableFloat8Vector
的用法示例。
在下文中一共展示了NullableFloat8Vector.Mutator方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getCopier
import org.apache.drill.exec.vector.NullableFloat8Vector; //导入方法依赖的package包/类
private Copier<?> getCopier(int jdbcType, int offset, ResultSet result, ValueVector v) {
if (v instanceof NullableBigIntVector) {
return new BigIntCopier(offset, result, (NullableBigIntVector.Mutator) v.getMutator());
} else if (v instanceof NullableFloat4Vector) {
return new Float4Copier(offset, result, (NullableFloat4Vector.Mutator) v.getMutator());
} else if (v instanceof NullableFloat8Vector) {
return new Float8Copier(offset, result, (NullableFloat8Vector.Mutator) v.getMutator());
} else if (v instanceof NullableIntVector) {
return new IntCopier(offset, result, (NullableIntVector.Mutator) v.getMutator());
} else if (v instanceof NullableVarCharVector) {
return new VarCharCopier(offset, result, (NullableVarCharVector.Mutator) v.getMutator());
} else if (v instanceof NullableVarBinaryVector) {
return new VarBinaryCopier(offset, result, (NullableVarBinaryVector.Mutator) v.getMutator());
} else if (v instanceof NullableDateVector) {
return new DateCopier(offset, result, (NullableDateVector.Mutator) v.getMutator());
} else if (v instanceof NullableTimeVector) {
return new TimeCopier(offset, result, (NullableTimeVector.Mutator) v.getMutator());
} else if (v instanceof NullableTimeStampVector) {
return new TimeStampCopier(offset, result, (NullableTimeStampVector.Mutator) v.getMutator());
} else if (v instanceof NullableBitVector) {
return new BitCopier(offset, result, (NullableBitVector.Mutator) v.getMutator());
}
throw new IllegalArgumentException("Unknown how to handle vector.");
}
示例2: Float8Copier
import org.apache.drill.exec.vector.NullableFloat8Vector; //导入方法依赖的package包/类
public Float8Copier(int columnIndex, ResultSet result, NullableFloat8Vector.Mutator mutator) {
super(columnIndex, result, mutator);
}
示例3: DecimalCopier
import org.apache.drill.exec.vector.NullableFloat8Vector; //导入方法依赖的package包/类
public DecimalCopier(int columnIndex, ResultSet result, NullableFloat8Vector.Mutator mutator) {
super(columnIndex, result, mutator);
}