use of org.apache.ignite.internal.schema.TemporalNativeType in project ignite-3 by apache.
the class RowAssembler method appendTime.
/**
* Appends LocalTime value for the current column to the chunk.
*
* @param val Column value.
* @return {@code this} for chaining.
* @throws SchemaMismatchException If a value doesn't match the current column type.
*/
public RowAssembler appendTime(LocalTime val) throws SchemaMismatchException {
checkType(NativeTypeSpec.TIME);
TemporalNativeType type = (TemporalNativeType) curCols.column(curCol).type();
writeTime(buf, curOff, val, type);
shiftColumn(type.sizeInBytes());
return this;
}
Aggregations