Package org.elasticsearch.common
Class Table
- java.lang.Object
-
- org.elasticsearch.common.Table
-
public class Table extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Table.Cell
-
Constructor Summary
Constructors Constructor Description Table()
-
Method Summary
Modifier and Type Method Description Table
addCell(java.lang.Object value)
Table
addCell(java.lang.Object value, java.lang.String attributes)
Table
endHeaders()
Table
endRow()
Table
endRow(boolean check)
Table.Cell
findHeaderByName(java.lang.String header)
java.util.Map<java.lang.String,java.lang.String>
getAliasMap()
java.util.Map<java.lang.String,java.util.List<Table.Cell>>
getAsMap()
java.util.Map<java.lang.String,Table.Cell>
getHeaderMap()
java.util.List<Table.Cell>
getHeaders()
java.util.List<java.util.List<Table.Cell>>
getRows()
Table
startHeaders()
Table
startHeadersWithTimestamp()
Table
startRow()
-
-
-
Field Detail
-
EPOCH
public static final java.lang.String EPOCH
- See Also:
- Constant Field Values
-
TIMESTAMP
public static final java.lang.String TIMESTAMP
- See Also:
- Constant Field Values
-
-
Method Detail
-
startHeaders
public Table startHeaders()
-
startHeadersWithTimestamp
public Table startHeadersWithTimestamp()
-
endHeaders
public Table endHeaders()
-
startRow
public Table startRow()
-
endRow
public Table endRow(boolean check)
-
endRow
public Table endRow()
-
addCell
public Table addCell(java.lang.Object value)
-
addCell
public Table addCell(java.lang.Object value, java.lang.String attributes)
-
getHeaders
public java.util.List<Table.Cell> getHeaders()
-
getRows
public java.util.List<java.util.List<Table.Cell>> getRows()
-
getAsMap
public java.util.Map<java.lang.String,java.util.List<Table.Cell>> getAsMap()
-
getHeaderMap
public java.util.Map<java.lang.String,Table.Cell> getHeaderMap()
-
findHeaderByName
public Table.Cell findHeaderByName(java.lang.String header)
-
getAliasMap
public java.util.Map<java.lang.String,java.lang.String> getAliasMap()
-
-