Package | Description |
---|---|
org.modeshape.jcr | |
org.modeshape.jcr.query.validate |
This package provides the interfaces that define the tables and columns that can be queried.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NodeTypeSchemata.addAllNodesTable(ImmutableSchemata.Builder builder,
ExecutionContext context,
List<org.modeshape.jcr.JcrPropertyDefinition> additionalProperties,
Name[] keyPropertyNames) |
protected void |
NodeTypeSchemata.addView(ImmutableSchemata.Builder builder,
ExecutionContext context,
org.modeshape.jcr.JcrNodeType nodeType) |
Modifier and Type | Method and Description |
---|---|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.addColumn(String tableName,
String columnName,
String type)
Add a column with the supplied name and type to the named table.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.addColumn(String tableName,
String columnName,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
Object minimum,
Object maximum,
Set<Operator> operations)
Add a column with the supplied name and type to the named table.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.addKey(String tableName,
String... columnNames)
Add to the specified table a key that references the existing named columns.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.addTable(String name,
String... columnNames)
Add a table with the supplied name and column names.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.addTable(String name,
String[] columnNames,
String[] types)
Add a table with the supplied name and column names and types.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.addView(String name,
QueryCommand definition)
Add a view with the supplied name and definition.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.addView(String name,
String definition)
Add a view with the supplied name and SQL string definition.
|
static ImmutableSchemata.Builder |
ImmutableSchemata.createBuilder(ExecutionContext context,
NodeTypes nodeTypes)
Obtain a new instance for building Schemata objects.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.excludeFromSelectStar(String tableName,
String columnName)
Specify that the named column in the given table should be excluded from the selected columns when "SELECT *" is used.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.makeSearchable(String tableName,
String columnName)
Make sure the column on the named table is searchable.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.markExtraColumns(String tableName)
Make sure the column on the named table has extra columns that can be used without validation error.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.markOperators(String tableName,
String columnName,
Set<Operator> operators)
Record the operators that are allowed for the named column on the named table.
|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.markOrderable(String tableName,
String columnName,
boolean orderable)
Record whether the column on the named table should be orderable.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.