public class Generator extends DapSerializer
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
asciionly |
protected ChunkWriter |
cw |
protected dap4.core.dmr.DapDataset |
dmr |
protected java.io.ByteArrayOutputStream |
stream |
protected Value |
values |
protected boolean |
withdmr |
| Constructor and Description |
|---|
Generator(dap4.core.dmr.DapDataset dmr,
Value.ValueSource src) |
| Modifier and Type | Method and Description |
|---|---|
void |
atomicVariable(dap4.core.dmr.DapAtomicVariable dapvar) |
void |
begin(CEConstraint ce,
ChunkWriter cw,
boolean withdmr) |
void |
dataset(dap4.core.dmr.DapDataset dmr) |
void |
end() |
void |
generate(CEConstraint ce,
ChunkWriter cw) |
void |
generate(CEConstraint ce,
ChunkWriter cw,
boolean withdmr) |
void |
generateDMR(dap4.core.dmr.DapDataset dmr) |
static int |
getRowCount() |
void |
sequence(dap4.core.dmr.DapSequence seq) |
static void |
setASCII(boolean tf) |
static void |
setRowCount(int count) |
void |
structure(dap4.core.dmr.DapStructure struct) |
void |
variable(dap4.core.dmr.DapVariable dapvar) |
write, writeAtomicVariable, writeCompound, writeCompoundArray, writeRecord, writeSequence, writeStructure, writeVariableprotected static boolean asciionly
protected Value values
protected java.io.ByteArrayOutputStream stream
protected ChunkWriter cw
protected boolean withdmr
protected dap4.core.dmr.DapDataset dmr
public Generator(dap4.core.dmr.DapDataset dmr,
Value.ValueSource src)
throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic static void setASCII(boolean tf)
public static int getRowCount()
public static void setRowCount(int count)
public void generate(CEConstraint ce, ChunkWriter cw) throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic void generate(CEConstraint ce, ChunkWriter cw, boolean withdmr) throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic void begin(CEConstraint ce, ChunkWriter cw, boolean withdmr) throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic void end()
throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic void generateDMR(dap4.core.dmr.DapDataset dmr)
throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic void dataset(dap4.core.dmr.DapDataset dmr)
throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic void variable(dap4.core.dmr.DapVariable dapvar)
throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic void atomicVariable(dap4.core.dmr.DapAtomicVariable dapvar)
throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic void structure(dap4.core.dmr.DapStructure struct)
throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic void sequence(dap4.core.dmr.DapSequence seq)
throws dap4.core.util.DapException
dap4.core.util.DapException