Package | Description |
---|---|
org.castor.cpa.query | |
org.castor.cpa.query.object |
Modifier and Type | Interface and Description |
---|---|
interface |
Projection
Interface for Projection of query objects.
|
interface |
Schema
Interface for Schema of query objects.
|
Modifier and Type | Method and Description |
---|---|
Field |
Field.field(String name)
The method for field object creation of query objects.
|
Modifier and Type | Method and Description |
---|---|
void |
Order.add(Field field)
Adds the field object to the order object of query objects.
|
void |
Order.add(Field field,
OrderDirection direction)
Adds the field object with order direction specification
to the order object of query objects.
|
void |
SelectQuery.addProjection(Field field)
Adds the projection.
|
Order |
SelectQuery.newOrder(Field field)
New order.
|
Order |
SelectQuery.newOrder(Field field,
OrderDirection direction)
New order.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractField
Abstract base class for Field, Schema and Projection.
|
class |
FieldImpl
Final immutable class that implements Field.
|
class |
ProjectionImpl
Final immutable class that a projection of a select query.
|
class |
SchemaImpl
Final immutable class that implements Schema.
|
Modifier and Type | Method and Description |
---|---|
Field |
AbstractField.field(String name)
The method for field object creation of query objects.
|
Field |
ProjectionImpl.getField()
Gets the field or schema of the projection.
|
Field |
OrderImpl.Item.getField()
Gets the field to order by.
|
Field |
FieldImpl.getParent()
Gets the parent of the field.
|
Modifier and Type | Method and Description |
---|---|
void |
OrderImpl.add(Field field)
Adds the field object to the order object of query objects.
|
void |
OrderImpl.add(Field field,
OrderDirection direction)
Adds the field object with order direction specification
to the order object of query objects.
|
void |
SelectQueryImpl.addProjection(Field field)
Adds the projection.
|
void |
SelectQueryImpl.addProjection(Field field,
String alias) |
Order |
SelectQueryImpl.newOrder(Field field)
New order.
|
Order |
SelectQueryImpl.newOrder(Field field,
OrderDirection direction)
New order.
|
Constructor and Description |
---|
FieldImpl(Field parent,
String name)
Construct field implementation.
|
OrderImpl.Item(Field field)
Construct order item with given field and ascending order.
|
OrderImpl.Item(Field field,
OrderDirection direction)
Construct order item with given field and direction.
|
ProjectionImpl(Field field)
Construct projection with given field.
|
ProjectionImpl(Field field,
String alias)
Construct projection with given field and alias.
|
Copyright © 2013. All rights reserved.