本文整理匯總了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);
}