public class CollectionSchemaExpr extends SchemaExpr
Constructor and Description |
---|
CollectionSchemaExpr(PathExpr expr,
java.lang.String name)
Creates the collection schema.
|
Modifier and Type | Method and Description |
---|---|
FromItem |
addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
SchemaExpr |
createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
java.lang.String |
getTailName()
Returns the tail name.
|
public CollectionSchemaExpr(PathExpr expr, java.lang.String name)
public java.lang.String getTailName()
getTailName
in class SchemaExpr
public SchemaExpr createField(QueryParser parser, java.lang.String name) throws QueryParseException
createField
in class SchemaExpr
QueryParseException
public FromItem addFromItem(QueryParser parser, java.lang.String id) throws QueryParseException
addFromItem
in class SchemaExpr
QueryParseException