public class ParserUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ParserUtils.BooleanColumnParser |
static class |
ParserUtils.DateColumnParser |
static class |
ParserUtils.FloatColumnParser |
static class |
ParserUtils.IntegerColumnParser |
static interface |
ParserUtils.ParserFactory |
static class |
ParserUtils.SimpleParserFactory |
static class |
ParserUtils.StringColumnParser |
static interface |
ParserUtils.TableColumnParser |
static class |
ParserUtils.TableParserInfo |
Constructor and Description |
---|
ParserUtils() |
public static SimplePropertyTableData buildPropertyTableData(Concept concept, ParserUtils.TableParserInfo info, ParserUtils.ParserFactory factory) throws IOException, DsplException, JAXBException
IOException
DsplException
JAXBException
public static SimpleSliceTableData buildSliceTableData(Slice slice, ParserUtils.TableParserInfo info, ParserUtils.ParserFactory factory) throws IOException, DsplException, JAXBException
IOException
DsplException
JAXBException
public static Map<String,TableColumn> getConstantTableColumns(Slice slice, ParserUtils.TableParserInfo info, ParserUtils.ParserFactory factory, SliceColumnType columnType, int size) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static Map<String,TableColumn> getConstantTableColumns(Concept parent, ParserUtils.TableParserInfo info, ParserUtils.ParserFactory factory, int size) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static boolean containsColumn(ParserUtils.TableParserInfo info, Table.Column searchColumn)
public static Concept[] getConcepts(String[] columnIds, Concept parent) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static Concept getConcept(String columnId, Concept concept) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static void getConcepts(String[] columnIds, Slice slice, Concept[] concepts, SliceColumnType[] sliceColumnTypes) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static Pair<Concept,SliceColumnType> getConcept(String columnId, Slice slice) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static Concept getSliceConceptRef(String id, Slice slice, List<SliceConceptRef> list) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static Concept getMappedMetric(String id, Slice slice) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static Concept getMappedDimension(String id, Slice slice) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static Concept getMappedConcept(String id, Concept concept) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public static String getMappedMetricColumn(Slice slice, Concept columnConcept)
public static String getMappedDimensionColumn(Slice slice, Concept columnConcept)
public static Table.Column[] getColumns(String[] columnIds, Table table) throws DsplException
DsplException
public static DataType getType(Concept concept, Table.Column column) throws DsplException
DsplException
public static DataType[] getTypes(Concept[] concepts, Table.Column[] columns) throws DsplException
DsplException
Copyright © 2016 Metron, Inc.. All rights reserved.