Package | Description |
---|---|
org.apache.cayenne.access.translator.select | |
org.apache.cayenne.exp |
Cayenne data expression classes.
|
org.apache.cayenne.exp.property |
Property API
|
org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
Modifier and Type | Method and Description |
---|---|
Collection<Property<?>> |
FluentSelectWrapper.getColumns() |
Collection<Property<?>> |
SelectQueryWrapper.getColumns()
Deprecated.
|
Collection<Property<?>> |
TranslatableQueryWrapper.getColumns() |
Modifier and Type | Class and Description |
---|---|
class |
Property<E>
Deprecated.
since 4.2 in favour of type-specific set of properties, see
PropertyFactory
and org.apache.cayenne.exp.property package. |
Modifier and Type | Interface and Description |
---|---|
interface |
ComparableProperty<E>
Interface (or "Trait") that provides basic functionality for comparable properties.
|
interface |
IdProperty<E>
Base class for properties mapped to PK
|
interface |
PathProperty<E>
Property that represents path segment (relationship or embeddable).
|
interface |
RelationshipProperty<E>
Interface (or "Trait") that provides basic functionality for all types of relationships.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseIdProperty<E>
Property that represents non-numeric PK
|
class |
BaseProperty<E>
Property that represents generic attribute.
|
class |
CollectionProperty<V extends Persistent,E extends Collection<V>>
Base class for
ListProperty and SetProperty |
class |
DateProperty<E>
Property that represents date/time attribute.
|
class |
EmbeddableProperty<E>
Property that represents object attribute mapped on
Embeddable object. |
class |
EntityProperty<E extends Persistent>
Property that represents to-one relationships.
|
class |
ListProperty<V extends Persistent>
Property that represents to-many relationship mapped on
List . |
class |
MapProperty<K,V extends Persistent>
Property that represents to-many relationship mapped on
Map . |
class |
NumericIdProperty<E extends Number>
Property that represents numeric PK
|
class |
NumericProperty<E extends Number>
Property that represents attributes mapped on numeric types
|
class |
SetProperty<V extends Persistent>
Property that represents to-many relationship mapped on
Set . |
class |
StringProperty<E extends CharSequence>
Property that represents attributes mapped on string types
|
Modifier and Type | Field and Description |
---|---|
protected Collection<Property<?>> |
SelectQuery.columns
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Collection<Property<?>> |
ColumnSelect.getColumns() |
Collection<Property<?>> |
FluentSelect.getColumns() |
Collection<Property<?>> |
SelectQuery.getColumns()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected <E> ColumnSelect<E> |
ColumnSelect.column(Property<E> property) |
<E> ColumnSelect<E> |
ObjectSelect.column(Property<E> property)
Select one specific property.
|
static ColumnSelect<Object[]> |
ObjectSelect.columnQuery(Class<?> entityType,
Property<?>... columns)
Creates a ColumnSelect that will fetch multiple columns of a given
ObjEntity |
static <E> ColumnSelect<E> |
ObjectSelect.columnQuery(Class<?> entityType,
Property<E> column)
Creates a ColumnSelect that will fetch single property that can be resolved
against a given
ObjEntity class. |
ColumnSelect<Object[]> |
ColumnSelect.columns(Property<?>... properties)
Add properties to select.
|
ColumnSelect<Object[]> |
ObjectSelect.columns(Property<?>... properties)
Select only specific properties.
|
void |
SelectQuery.setColumns(Property<?>... columns)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ColumnSelect<Object[]> |
ColumnSelect.columns(Collection<Property<?>> properties)
Add properties to select.
|
void |
SelectQuery.setColumns(Collection<Property<?>> columns)
Deprecated.
|
Copyright © 2001–2021 Apache Cayenne. All rights reserved.