public class ColumnBinaryParser extends Object implements TableParser, TableWriter
Modifier and Type | Field and Description |
---|---|
static String |
ENCODING |
static int |
MAGIC |
Constructor and Description |
---|
ColumnBinaryParser() |
Modifier and Type | Method and Description |
---|---|
ParserUtils.SimpleParserFactory |
createParserFactory() |
boolean |
isCachable() |
PropertyTableData |
parse(Concept concept) |
PropertyTableData |
parse(Concept concept,
InputStream stream) |
PropertyTableData |
parse(Concept concept,
ReadableByteChannel byteChannel) |
SliceTableData |
parse(Slice slice) |
SliceTableData |
parse(Slice slice,
InputStream stream) |
SliceTableData |
parse(Slice slice,
ReadableByteChannel byteChannel) |
void |
write(Concept concept,
PropertyTableData data,
OutputStream stream) |
void |
write(Concept concept,
PropertyTableData data,
WritableByteChannel byteChannel) |
void |
write(Slice slice,
SliceTableData data,
OutputStream stream) |
void |
write(Slice slice,
SliceTableData data,
WritableByteChannel byteChannel) |
public static final int MAGIC
public static final String ENCODING
public ParserUtils.SimpleParserFactory createParserFactory()
public void write(Slice slice, SliceTableData data, WritableByteChannel byteChannel) throws IOException, DsplException, JAXBException
write
in interface TableWriter
IOException
DsplException
JAXBException
public void write(Slice slice, SliceTableData data, OutputStream stream) throws IOException, DsplException, JAXBException
write
in interface TableWriter
IOException
DsplException
JAXBException
public void write(Concept concept, PropertyTableData data, WritableByteChannel byteChannel) throws IOException, DsplException, JAXBException
write
in interface TableWriter
IOException
DsplException
JAXBException
public void write(Concept concept, PropertyTableData data, OutputStream stream) throws IOException, DsplException, JAXBException
write
in interface TableWriter
IOException
DsplException
JAXBException
public SliceTableData parse(Slice slice) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public PropertyTableData parse(Concept concept) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public PropertyTableData parse(Concept concept, InputStream stream) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public PropertyTableData parse(Concept concept, ReadableByteChannel byteChannel) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public SliceTableData parse(Slice slice, InputStream stream) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public SliceTableData parse(Slice slice, ReadableByteChannel byteChannel) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public boolean isCachable()
isCachable
in interface TableParser
Copyright © 2016 Metron, Inc.. All rights reserved.