Package | Description |
---|---|
net.ontopia.persistence.proxy |
An object-relational mapping framework.
|
net.ontopia.persistence.query.sql |
Object model for representing SQL queries.
|
Modifier and Type | Method and Description |
---|---|
void |
FieldHandlerIF.retrieveSQLValues(Object value,
List<SQLValueIF> sql_values) |
void |
IndicatorFieldHandler.retrieveSQLValues(Object value,
List<SQLValueIF> sql_values) |
void |
PrimitiveFieldInfo.retrieveSQLValues(Object value,
List<SQLValueIF> sql_values) |
void |
IdentityFieldInfo.retrieveSQLValues(Object value,
List<SQLValueIF> sql_values) |
void |
AggregateFieldInfo.retrieveSQLValues(Object value,
List<SQLValueIF> sql_values) |
void |
ReferenceFieldInfo.retrieveSQLValues(Object value,
List<SQLValueIF> sql_values) |
void |
DefaultFieldHandler.retrieveSQLValues(Object value,
List<SQLValueIF> sql_values) |
Modifier and Type | Class and Description |
---|---|
class |
SQLColumns
INTERNAL: Represents a set of columns from a given table.
|
class |
SQLFunction
INTERNAL: SQL condition: any function; fn(arg1, ...
|
class |
SQLNull
INTERNAL: SQL value: null.
|
class |
SQLParameter
INTERNAL: SQL value: parameter.
|
class |
SQLPrimitive
INTERNAL: SQL value: primitive.
|
class |
SQLTuple
INTERNAL: SQL value: tuple.
|
class |
SQLValueReference
INTERNAL: A reference to another SQLValueIF.
|
class |
SQLVerbatim
INTERNAL: Represents a verbatim SQL expression value.
|
Modifier and Type | Field and Description |
---|---|
protected SQLValueIF[] |
SQLFunction.args |
protected SQLValueIF |
SQLLike.left |
protected SQLValueIF |
SQLNotEquals.left |
protected SQLValueIF |
SQLEquals.left |
protected SQLValueIF |
SQLIn.left |
protected SQLValueIF |
SQLValueReference.refvalue |
protected SQLValueIF |
SQLLike.right |
protected SQLValueIF |
SQLNotEquals.right |
protected SQLValueIF |
SQLEquals.right |
protected SQLValueIF |
SQLIn.right |
protected SQLValueIF |
SQLAggregate.value |
protected SQLValueIF |
SQLIsNull.value |
protected SQLValueIF |
SQLOrderBy.value |
protected SQLValueIF |
SQLValueExpression.value |
protected SQLValueIF[] |
SQLTuple.values |
Modifier and Type | Method and Description |
---|---|
protected SQLValueIF |
FilterSQLOptimizer.filterColumns(SQLColumns value) |
protected SQLValueIF |
FilterSQLOptimizer.filterFunction(SQLFunction value) |
protected SQLValueIF |
FilterSQLOptimizer.filterNull(SQLNull value) |
protected SQLValueIF |
FilterSQLOptimizer.filterParameter(SQLParameter value) |
protected SQLValueIF |
FilterSQLOptimizer.filterPrimitive(SQLPrimitive value) |
protected SQLValueIF |
FilterSQLOptimizer.filterTuple(SQLTuple value) |
protected SQLValueIF |
RedundantTablesSQLOptimizer.filterValue(SQLValueIF value) |
protected SQLValueIF |
FilterSQLOptimizer.filterValue(SQLValueIF sqlvalue) |
protected SQLValueIF[] |
FilterSQLOptimizer.filterValues(SQLValueIF[] values) |
protected SQLValueIF |
FilterSQLOptimizer.filterVerbatim(SQLVerbatim value) |
SQLValueIF[] |
SQLFunction.getArguments() |
SQLValueIF |
SQLLike.getLeft() |
SQLValueIF |
SQLNotEquals.getLeft() |
SQLValueIF |
SQLEquals.getLeft() |
SQLValueIF |
SQLIn.getLeft() |
SQLValueIF |
SQLPrimitive.getReference() |
SQLValueIF |
SQLVerbatim.getReference() |
SQLValueIF |
SQLParameter.getReference() |
SQLValueIF |
SQLColumns.getReference() |
SQLValueIF |
SQLValueReference.getReference() |
SQLValueIF |
SQLValueIF.getReference()
INTERNAL: Returns the referenced value if one exists.
|
SQLValueIF |
SQLTuple.getReference() |
SQLValueIF |
SQLFunction.getReference() |
SQLValueIF |
SQLNull.getReference() |
SQLValueIF |
SQLLike.getRight() |
SQLValueIF |
SQLNotEquals.getRight() |
SQLValueIF |
SQLEquals.getRight() |
SQLValueIF |
SQLIn.getRight() |
SQLValueIF |
SQLAggregate.getValue() |
SQLValueIF |
SQLIsNull.getValue() |
SQLValueIF |
SQLOrderBy.getValue() |
SQLValueIF |
SQLAggregateReference.getValue() |
SQLValueIF |
SQLValueExpression.getValue() |
SQLValueIF |
SQLAggregateIF.getValue()
INTERNAL: Returns the SQLValueIF that the aggregate function is
to be evaluated against.
|
SQLValueIF[] |
SQLTuple.getValues() |
protected SQLValueIF |
SQLBuilder.produceCollection(JDOCollection coll,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceField(JDOField field,
SQLTable endtable,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceFunction(JDOFunction func,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceNativeValue(JDONativeValue field,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceObject(JDOObject object,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceParameter(JDOParameter par,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.producePrimitive(JDOPrimitive primitive,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceSelectSQLValueIF(JDOValueIF value,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceValue(JDOValueIF value,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF[] |
SQLBuilder.produceValues(JDOValueIF[] values,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceVariable(JDOVariable var,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
SQLQuery.addAscending(SQLValueIF value) |
void |
SQLQuery.addDescending(SQLValueIF value) |
void |
SQLQuery.addSelect(SQLValueIF value) |
protected void |
AbstractSQLAnalyzer.analyzeValue(SQLExpressionIF expr,
SQLValueIF sqlvalue) |
protected void |
GenericSQLGenerator.analyzeValue(SQLValueIF value,
Map tlevels,
Integer level) |
protected void |
AbstractSQLAnalyzer.analyzeValues(SQLExpressionIF expr,
SQLValueIF[] values) |
protected void |
GenericSQLGenerator.atomicSQLValueIF(SQLValueIF value,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected SQLValueIF |
RedundantTablesSQLOptimizer.filterValue(SQLValueIF value) |
protected SQLValueIF |
FilterSQLOptimizer.filterValue(SQLValueIF sqlvalue) |
protected SQLValueIF[] |
FilterSQLOptimizer.filterValues(SQLValueIF[] values) |
protected int |
GenericSQLGenerator.flattenSQLValueIF(SQLValueIF[] values,
SQLValueIF[] flatlist,
int pos) |
protected int |
GenericSQLGenerator.flattenSQLValueIF(SQLValueIF[] values,
SQLValueIF[] flatlist,
int pos) |
protected int |
GenericSQLGenerator.flattenSQLValueIF(SQLValueIF value,
SQLValueIF[] flatlist,
int pos) |
protected int |
GenericSQLGenerator.flattenSQLValueIF(SQLValueIF value,
SQLValueIF[] flatlist,
int pos) |
protected void |
GenericSQLGenerator.joinSQLValueIF(SQLValueIF value,
String separator,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
GenericSQLGenerator.referenceSQLValueIFOpBinary(SQLValueIF value1,
String operator,
SQLValueIF value2,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
GenericSQLGenerator.referenceSQLValueIFOpUnary(SQLValueIF value,
String operator,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
GenericSQLGenerator.selectColumnAlias(SQLValueIF value,
StringBuilder sql) |
protected void |
GenericSQLGenerator.selectSQLColumns(SQLColumns columns,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info,
boolean nonagg) |
protected void |
GenericSQLGenerator.selectSQLFunction(SQLFunction value,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
GenericSQLGenerator.selectSQLNull(SQLNull value,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
GenericSQLGenerator.selectSQLPrimitive(SQLPrimitive value,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
GenericSQLGenerator.selectSQLValueIF(SQLValueIF value,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
GenericSQLGenerator.selectSQLVerbatim(SQLVerbatim value,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
void |
SQLFunction.setArguments(SQLValueIF[] args) |
void |
SQLLike.setLeft(SQLValueIF left) |
void |
SQLNotEquals.setLeft(SQLValueIF left) |
void |
SQLEquals.setLeft(SQLValueIF left) |
void |
SQLIn.setLeft(SQLValueIF left) |
void |
SQLLike.setRight(SQLValueIF right) |
void |
SQLNotEquals.setRight(SQLValueIF right) |
void |
SQLEquals.setRight(SQLValueIF right) |
void |
SQLIn.setRight(SQLValueIF right) |
void |
SQLAggregate.setValue(SQLValueIF value) |
void |
SQLIsNull.setValue(SQLValueIF value) |
void |
SQLOrderBy.setValue(SQLValueIF value) |
void |
SQLAggregateReference.setValue(SQLValueIF value) |
void |
SQLValueExpression.setValue(SQLValueIF value) |
void |
SQLAggregateIF.setValue(SQLValueIF value)
INTERNAL: Sets the SQLValueIF that the aggregate function is
to be evaluated against.
|
void |
SQLTuple.setValues(SQLValueIF[] values) |
protected void |
GenericSQLGenerator.whereSQLValueEqualsNull(SQLValueIF value,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
GenericSQLGenerator.whereSQLValueNotEqualsNull(SQLValueIF value,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected SQLAggregateIF |
SQLBuilder.wrapAggregate(int aggtype,
SQLValueIF sqlvalue) |
Constructor and Description |
---|
SQLAggregate(SQLValueIF value,
int type) |
SQLEquals(SQLValueIF left,
SQLValueIF right) |
SQLFunction(String name,
SQLValueIF[] args) |
SQLIn(SQLValueIF left,
SQLValueIF right) |
SQLIsNull(SQLValueIF value) |
SQLLike(SQLValueIF left,
SQLValueIF right,
boolean caseSensitive) |
SQLNotEquals(SQLValueIF left,
SQLValueIF right) |
SQLOrderBy(SQLValueIF value,
int order) |
SQLTuple(SQLValueIF[] values) |
SQLValueExpression(SQLValueIF value) |
SQLValueReference(SQLValueIF refvalue) |
Constructor and Description |
---|
SQLTuple(List<SQLValueIF> values) |