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, StringTable.Static
-
-
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 Detail
-
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 Detail
-
name
public final String 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
public final XImmutableEnum<String> columnNames()
- Specified by:
columnNames
in interfaceStringTable
-
columnTypes
public final XGettingList<String> columnTypes()
- Specified by:
columnTypes
in interfaceStringTable
-
rows
public final XImmutableList<String[]> rows()
- Specified by:
rows
in interfaceStringTable
-
-