Class DoubleFrameColumnWriter
java.lang.Object
org.apache.druid.frame.write.columnar.DoubleFrameColumnWriter
- All Implemented Interfaces:
Closeable,AutoCloseable,FrameColumnWriter
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAdds the current value to the writervoidclose()longsize()Size (in bytes) of the column data that will get written whenFrameColumnWriter.writeTo(org.apache.datasketches.memory.WritableMemory, long)will be calledvoidundo()Reverts the last added value.longwriteTo(org.apache.datasketches.memory.WritableMemory memory, long startPosition) Writes the value of the column to the provided memory at the given position
-
Method Details
-
addSelection
public boolean addSelection()Description copied from interface:FrameColumnWriterAdds the current value to the writer- Specified by:
addSelectionin interfaceFrameColumnWriter
-
undo
public void undo()Description copied from interface:FrameColumnWriterReverts the last added value. Undo calls cannot be called in successsion- Specified by:
undoin interfaceFrameColumnWriter
-
size
public long size()Description copied from interface:FrameColumnWriterSize (in bytes) of the column data that will get written whenFrameColumnWriter.writeTo(org.apache.datasketches.memory.WritableMemory, long)will be called- Specified by:
sizein interfaceFrameColumnWriter
-
writeTo
public long writeTo(org.apache.datasketches.memory.WritableMemory memory, long startPosition) Description copied from interface:FrameColumnWriterWrites the value of the column to the provided memory at the given position- Specified by:
writeToin interfaceFrameColumnWriter
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceFrameColumnWriter
-