org.modeshape.graph.query.validate
Interface Schemata

All Known Implementing Classes:
ImmutableSchemata

@Immutable
public interface Schemata

The interface used to access the structure being queried and validate a query.


Nested Class Summary
static interface Schemata.Column
          Information about a queryable column.
static interface Schemata.Key
          Information about a key for a table.
static interface Schemata.Table
          Information about a queryable table.
static interface Schemata.View
          Information about a view that is defined in terms of other views/tables.
 
Method Summary
 Schemata.Table getTable(SelectorName name)
          Get the information for the table or view with the supplied name within this schema.
 

Method Detail

getTable

Schemata.Table getTable(SelectorName name)
Get the information for the table or view with the supplied name within this schema.

The resulting definition is immutable.

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


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.