public class BinaryWriterSchemaHolder extends Object
| Constructor and Description |
|---|
BinaryWriterSchemaHolder() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(BinarySchema.Builder builder,
int fieldCnt)
Build the schema.
|
void |
pop(int fieldCnt)
Pop current object's frame.
|
void |
push(int id,
int off)
Push another frame.
|
int |
write(BinaryOutputStream out,
int fieldCnt,
boolean compactFooter)
Write collected frames and pop them.
|
public void push(int id,
int off)
id - Field ID.off - Field offset.public void build(BinarySchema.Builder builder, int fieldCnt)
builder - Builder.fieldCnt - Fields count.public int write(BinaryOutputStream out, int fieldCnt, boolean compactFooter)
out - Output stream.fieldCnt - Count.compactFooter - Whether footer should be written in compact form.public void pop(int fieldCnt)
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017