public class FloatFrameMaker extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
static long |
DATA_OFFSET |
Constructor and Description |
---|
FloatFrameMaker(MemoryAllocator allocator,
boolean hasNulls) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(float value) |
boolean |
addNull() |
void |
close() |
long |
size() |
void |
undo() |
static int |
valueSize(boolean hasNulls) |
long |
writeTo(org.apache.datasketches.memory.WritableMemory memory,
long startPosition) |
public static final long DATA_OFFSET
public FloatFrameMaker(MemoryAllocator allocator, boolean hasNulls)
public static int valueSize(boolean hasNulls)
public boolean add(float value)
public boolean addNull()
public void undo()
public long size()
public long writeTo(org.apache.datasketches.memory.WritableMemory memory, long startPosition)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.