org.xcmis.search.content
Interface Schema.Table

All Known Implementing Classes:
InMemoryTable
Enclosing interface:
Schema

public static interface Schema.Table

Information about a queryable table.


Method Summary
 Schema.Column getColumn(String name)
          Get the information for a column with the supplied name within this table.
 List<Schema.Column> getColumns()
          Get the queryable columns in this table.
 Map<String,Schema.Column> getColumnsByName()
          Get the queryable columns in this table.
 org.xcmis.search.model.source.SelectorName getName()
          Get the name for this table.
 

Method Detail

getName

org.xcmis.search.model.source.SelectorName getName()
Get the name for this table.

Returns:
the table name; never null

getColumn

Schema.Column getColumn(String name)
Get the information for a column with the supplied name within this table.

The resulting column definition is immutable.

Parameters:
name - the column name; may not be null
Returns:
the column information, or null if there is no such column

getColumnsByName

Map<String,Schema.Column> getColumnsByName()
Get the queryable columns in this table.

Returns:
the immutable map of immutable column objects by their name; never null

getColumns

List<Schema.Column> getColumns()
Get the queryable columns in this table.

Returns:
the immutable, ordered list of immutable column objects; never null


Copyright © 2010 eXo Platform SAS. All Rights Reserved.