org.xcmis.search.content
Class InMemorySchema
java.lang.Object
org.xcmis.search.content.InMemorySchema
- All Implemented Interfaces:
- Schema
public class InMemorySchema
- extends Object
- implements Schema
In memory Schema implementation.
InMemorySchema
protected InMemorySchema(Map<SelectorName,Schema.Table> tables)
createBuilder
public static InMemorySchema.Builder createBuilder()
- Obtain a new instance for building Schema objects.
- Returns:
- the new builder; never null
getTable
public Schema.Table getTable(SelectorName name)
- Get the information for the table or view with the supplied name within this schema.
The resulting definition is immutable.
- Specified by:
getTable in interface Schema
- 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
- See Also:
org.modeshape.graph.query.validate.Schema#getTable(org.modeshape.graph.query.model.SelectorName)
with
public InMemorySchema with(Schema.Table table)
toString
public String toString()
-
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2010 eXo Platform SAS. All Rights Reserved.