@Override public void writeInteger(boolean isNull) throws IOException { BigIntWriter intWriter = writer.bigInt(); if(!isNull){ intWriter.writeBigInt(Long.parseLong(parser.getValueAsString())); } }
list.float8().writeFloat8(parser.getDoubleValue()); } else { list.bigInt().writeBigInt(parser.getLongValue());
ListWriter listWriter = writer.list(tagName); for (long v : (long[]) value) { listWriter.bigInt().writeBigInt(v);
case BIGINT: if (repeated) { fieldReader.copyAsValue(mapWriter.list(MappifyUtility.fieldValue).bigInt()); } else { fieldReader.copyAsValue(mapWriter.bigInt(MappifyUtility.fieldValue));
case BIGINT: if (repeated) { fieldReader.copyAsValue(mapWriter.list(fieldName).bigInt()); } else { fieldReader.copyAsValue(mapWriter.bigInt(fieldName));
BigIntWriter writer = type.getRepetition() == Repetition.REPEATED ? mapWriter.list(name).bigInt() : mapWriter.bigInt(name); return new DrillBigIntConverter(writer); case INT_64 : case TIMESTAMP_MICROS: { BigIntWriter writer = type.getRepetition() == Repetition.REPEATED ? mapWriter.list(name).bigInt() : mapWriter.bigInt(name); return new DrillBigIntConverter(writer);
break; case BIGINT: fieldReader.copyAsValue(listWriter.bigInt()); break; case INT:
return (FieldWriter) writer.intervalYear(); case BIGINT: return (FieldWriter) writer.bigInt(); case UINT8: return (FieldWriter) writer.uInt8();
public void copyAsField(String name, MapWriter writer) { RepeatedBigIntWriterImpl impl = (RepeatedBigIntWriterImpl) writer.list(name).bigInt(); impl.vector.copyFromSafe(idx(), impl.idx(), vector); }
private void writeInt64(long readInt64, final MapOrListWriterImpl writer, String fieldName, boolean isList) { final BigIntHolder bh = new BigIntHolder(); bh.value = readInt64; if (isList == false) { writer.bigInt(fieldName).write(bh); } else { writer.list.bigInt().write(bh); } }
public BigIntWriter bigInt(final String name) { return (map != null) ? map.bigInt(name) : list.bigInt(); }
@Override public BigIntWriter bigInt() { data.getMutator().setType(idx(), MinorType.LIST); getListWriter().setPosition(idx()); return getListWriter().bigInt(); } @Override
public BigIntWriter bigInt(final String name) { return (map != null) ? map.bigInt(name) : list.bigInt(); }
public void copyAsField(String name, MapWriter writer) { RepeatedBigIntWriterImpl impl = (RepeatedBigIntWriterImpl) writer.list(name).bigInt(); impl.vector.copyFromSafe(idx(), impl.idx(), vector); }