Package one.microstream.chars
Class StringTable.Default
java.lang.Object
one.microstream.chars.StringTable.Default
- All Implemented Interfaces:
StringTable
- Enclosing interface:
- StringTable
public static final class StringTable.Default extends Object implements StringTable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringTable.Default.Creator
Nested classes/interfaces inherited from interface one.microstream.chars.StringTable
StringTable.Default
-
Constructor Summary
Constructors Constructor Description Default(String name, XGettingSequence<String> columns, XGettingList<String> columnTypes, XGettingList<String[]> rows)
Default(XGettingSequence<String> columns, XGettingList<String> columnTypes, XGettingList<String[]> rows)
-
Method Summary
Modifier and Type Method Description XImmutableEnum<String>
columnNames()
XGettingList<String>
columnTypes()
<C extends BiConsumer<String, String>>
CmapTo(C target, Function<String[],String> keyMapper, Function<String[],String> valueMapper)
String
name()
An arbitrary name identifying this table instance, potentiallynull
.XImmutableList<String[]>
rows()
-
Constructor Details
-
Default
public Default(XGettingSequence<String> columns, XGettingList<String> columnTypes, XGettingList<String[]> rows) -
Default
public Default(String name, XGettingSequence<String> columns, XGettingList<String> columnTypes, XGettingList<String[]> rows)
-
-
Method Details
-
name
Description copied from interface:StringTable
An arbitrary name identifying this table instance, potentiallynull
.- Specified by:
name
in interfaceStringTable
- Returns:
- this table's name.
-
columnNames
- Specified by:
columnNames
in interfaceStringTable
-
columnTypes
- Specified by:
columnTypes
in interfaceStringTable
-
rows
- Specified by:
rows
in interfaceStringTable
-
mapTo
public <C extends BiConsumer<String, String>> C mapTo(C target, Function<String[],String> keyMapper, Function<String[],String> valueMapper)- Specified by:
mapTo
in interfaceStringTable
-