# Package org.modeshape.jcr.query.validate

This package provides the interfaces that define the tables and columns that can be queried.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Schemata | The interface used to access the structure being queried and validate a query.
  Schemata.Column | Information about a queryable column.
  Schemata.Key | Information about a key for a table.
  Schemata.Table | Information about a queryable table.
  Schemata.View | Information about a view that is defined in terms of other views/tables.

- Class Summary
  Class | Description
  --- | ---
  ImmutableColumn |
  ImmutableKey |
  ImmutableSchemata | An immutable `Schemata` implementation.
  ImmutableSchemata.Builder | A builder of immutable `Schemata` objects.
  ImmutableSchemata.MutableTable |
  Validator | A `Visitor` implementation that validates a query's used of a `Schemata` and records any problems as errors.

## Package org.modeshape.jcr.query.validate Description

This package provides the interfaces that define the tables and columns that can be queried. Though the query framework does not prescribe the semantics of a table or column, it does provide a `Schemata` interface that provides access to the immutable `Schemata.Table` and `Schemata.View` definitions (that then contain the `Schemata.Column` and `Schemata.Key` definitions).

Although any Schemata implementaiton can be used, the query framework provides an `ImmutableSchemata` class with a `builder` with a fluent API that can create the corresponding immutable table, column and key definitions.

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