Package | Description |
---|---|
org.axiondb |
Core interfaces, identifiers, and exceptions.
|
org.axiondb.constraints |
Constraint implementations. |
org.axiondb.engine |
Core database machinery.
|
org.axiondb.engine.commands |
AxionCommand implementations. |
org.axiondb.engine.rowcollection | |
org.axiondb.engine.rowiterators |
RowIterator implementations. |
org.axiondb.engine.tables | |
org.axiondb.engine.visitors | |
org.axiondb.functions |
Function implementations. |
org.axiondb.jdbc |
JDBC implementations.
|
org.axiondb.parser |
SQL parser interface and implementation classes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Function
A database function.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseSelectable |
class |
BindVariable
A
Literal that can be bound via PreparedStatement methods. |
class |
ColumnIdentifier
An identifier for a column.
|
class |
Literal
A
typed literal value. |
class |
SequenceEvaluator |
Modifier and Type | Method and Description |
---|---|
Selectable |
Function.getArgument(int i)
Returns the
Selectable at the given index. |
Selectable |
FromNode.getCondition()
get the join condition
|
Selectable |
Column.getDefault() |
Selectable |
OrderNode.getSelectable() |
Selectable |
SelectableBasedConstraint.getSelectable(int i) |
Modifier and Type | Method and Description |
---|---|
void |
Function.addArgument(Selectable arg)
Append the given
Selectable to my argument list. |
void |
SelectableBasedConstraint.addSelectable(Selectable sel) |
RowIterator |
Table.getIndexedRows(RowSource source,
Selectable where,
boolean readOnly) |
RowIterator |
Table.getIndexedRows(Selectable where,
boolean readOnly) |
void |
Function.setArgument(int i,
Selectable arg) |
void |
FromNode.setCondition(Selectable condition)
Set the join condition
|
void |
JoinedRowIterator.setJoinCondition(RowDecorator decorator,
Selectable condition) |
void |
OrderNode.setSelectable(Selectable sel) |
void |
SelectableVisitor.visit(Selectable node) |
Constructor and Description |
---|
Column(java.lang.String name,
DataType type,
Selectable defaultValue)
Create column with the given name and type .
|
OrderNode(Selectable selectable,
boolean descending)
Create an
OrderNode that sorts the given selectable in
ascending or descending order. |
RowComparator(Selectable sel,
RowDecorator dec) |
Modifier and Type | Method and Description |
---|---|
Selectable |
CheckConstraint.getCondition() |
Selectable |
BaseSelectableBasedConstraint.getSelectable(int i) |
Modifier and Type | Method and Description |
---|---|
void |
BaseSelectableBasedConstraint.addSelectable(Selectable sel) |
void |
CheckConstraint.setCondition(Selectable where) |
Modifier and Type | Method and Description |
---|---|
Selectable |
BaseDatabase.resolveSelectSelectable(SubSelectCommand select,
TableIdentifier[] tables) |
Modifier and Type | Method and Description |
---|---|
RowIterator |
TransactableTableImpl.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
TransactableTableImpl.getIndexedRows(Selectable node,
boolean readOnly) |
Modifier and Type | Class and Description |
---|---|
class |
SubSelectCommand
A Sub SELECT query used for view, scalar value, from node, row list
|
Modifier and Type | Method and Description |
---|---|
static Selectable |
AxionQueryOptimizer.createOneRootFunction(java.util.Set conditions)
Compose back the decomposed condition into a single condition tree.
|
static Selectable |
AxionQueryOptimizer.getColumnRefersTable(ComparisonFunction fn,
TableIdentifier tid) |
Selectable |
DMLWhenClause.getCondition() |
Selectable |
UpsertCommand.getCondition() |
Selectable |
AxionQueryContext.getGroupBy(int i)
Gets Selectable in Group by clause.
|
Selectable |
AxionQueryContext.getHaving() |
Selectable |
AxionQueryContext.getSelect(int i)
Gets the i th
Selectable being selected. |
Selectable[] |
AxionQueryContext.getSelected() |
Selectable |
UpdateCommand.getWhere() |
Selectable |
DeleteCommand.getWhere() |
Selectable |
AxionQueryContext.getWhere()
Returns the
where tree for this query. |
protected Selectable |
BaseAxionCommand.resolveSelectable(Selectable sel,
Database db,
java.util.List selected,
TableIdentifier[] tables) |
protected Selectable |
BaseAxionCommand.resolveSelectable(Selectable sel,
Database db,
TableIdentifier[] tables) |
Modifier and Type | Method and Description |
---|---|
void |
AlterTableCommand.addColumn(java.lang.String name,
java.lang.String type,
java.lang.String precision,
java.lang.String scale,
Selectable defaultValue,
java.lang.String generated) |
void |
AxionQueryContext.addSelect(Selectable column)
Adds a
Selectable to the list of items being selected. |
void |
UpsertCommand.addUpdateValue(Selectable val) |
void |
UpdateCommand.addValue(Selectable val) |
void |
AlterTableCommand.alterColumn(java.lang.String name,
java.lang.String newName,
Selectable newDefault,
java.lang.Boolean dropDefault) |
void |
CreateTableCommand.alterColumn(java.lang.String name,
java.lang.String newName,
Selectable newDefault,
java.lang.Boolean dropDefault) |
static java.util.Set |
AxionQueryOptimizer.flatConditionTree(Selectable conditionTree)
Flatten the given condition tree into an ANDed set
|
protected java.util.Iterator |
BaseAxionCommand.getBindVariableIterator(Selectable sel) |
protected RowIterator |
BaseAxionCommand.getRowIterator(Database db,
TableIdentifier tid,
Table table,
Selectable whereNode,
boolean readOnly,
RowDecorator dec) |
static Function |
AxionQueryOptimizer.isColumnIndexed(TableIdentifier tid,
Table table,
Selectable condition,
boolean mustCheckForIndex) |
static boolean |
AxionQueryOptimizer.onlyReferencesTable(TableIdentifier table,
Selectable conditionNode)
Check if the given table is the only table refernce in the condition
|
protected Selectable |
BaseAxionCommand.resolveSelectable(Selectable sel,
Database db,
java.util.List selected,
TableIdentifier[] tables) |
protected Selectable |
BaseAxionCommand.resolveSelectable(Selectable sel,
Database db,
TableIdentifier[] tables) |
void |
UpsertCommand.setCondition(Selectable condition) |
void |
AxionQueryContext.setHaving(Selectable having) |
void |
AxionQueryContext.setSelect(int i,
Selectable sel)
Sets the i th
Selectable being selected. |
void |
AxionQueryContext.setSelected(Selectable[] selected) |
void |
UpdateCommand.setWhere(Selectable where) |
void |
AxionQueryContext.setWhere(Selectable where)
Sets the
where tree for this query. |
Constructor and Description |
---|
DeleteCommand(java.lang.String tableName,
Selectable where) |
DeleteCommand(TableIdentifier table,
Selectable where) |
DMLWhenClause(Selectable whenCondition) |
Modifier and Type | Method and Description |
---|---|
RowIterator |
IntRowMap.getIndexedRows(Table source,
Selectable node,
boolean readOnly) |
Modifier and Type | Method and Description |
---|---|
protected Selectable |
AbstractJoinedRowIterator.getJoinCondition() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJoinedRowIterator.setJoinCondition(Selectable joinCondition,
RowDecorator decorator) |
Constructor and Description |
---|
DistinctRowIterator(RowIterator iter,
java.util.Map selectableMap,
Selectable[] selectables) |
FilteringChangingIndexedRowIterator(MutableIndexedRowIterator iterator,
RowDecorator decorator,
Selectable where) |
FilteringRowIterator(RowIterator iterator,
RowDecorator decorator,
Selectable where) |
GroupedRowIterator(boolean sort,
RowIterator rows,
java.util.Map fieldMap,
java.util.List groupBy,
java.util.List selected,
Selectable having,
Selectable where,
java.util.List orderBy) |
GroupedRowIterator(RowIterator rows,
java.util.Map fieldMap,
java.util.List groupBy,
java.util.List selected,
Selectable having,
java.util.List orderBy) |
Modifier and Type | Method and Description |
---|---|
RowIterator |
TableView.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
BaseTable.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
ExternalAxionDBTable.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
ExternalDatabaseTable.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
TableView.getIndexedRows(Selectable node,
boolean readOnly) |
RowIterator |
BaseTable.getIndexedRows(Selectable node,
boolean readOnly) |
RowIterator |
ExternalAxionDBTable.getIndexedRows(Selectable node,
boolean readOnly) |
RowIterator |
ExternalDatabaseTable.getIndexedRows(Selectable node,
boolean readOnly) |
Modifier and Type | Method and Description |
---|---|
Selectable |
ResolveSelectableVisitor.visit(ColumnIdentifier column,
java.util.List selected,
TableIdentifier[] tables) |
Selectable |
ResolveSelectableVisitor.visit(FunctionIdentifier fn,
java.util.List selected,
TableIdentifier[] tables) |
Selectable |
ResolveSelectableVisitor.visit(Selectable selectable,
java.util.List selected,
TableIdentifier[] tables)
"Resolve" the given
Selectable relative to the given list of
tables , converting aliased or relative references into
absolute ones. |
Selectable |
ResolveSelectableVisitor.visit(SubSelectCommand select,
TableIdentifier[] tables) |
Modifier and Type | Method and Description |
---|---|
java.util.Set |
FlattenWhereNodeVisitor.getNodes(Selectable node) |
void |
FindAggregateFunctionVisitor.visit(Selectable sel) |
void |
ReferencesOtherTablesWhereNodeVisitor.visit(Selectable node) |
void |
FindBindVariableVisitor.visit(Selectable sel) |
void |
FlattenWhereNodeVisitor.visit(Selectable sel) |
void |
AssertGroupByRulesVisitor.visit(Selectable select) |
Selectable |
ResolveSelectableVisitor.visit(Selectable selectable,
java.util.List selected,
TableIdentifier[] tables)
"Resolve" the given
Selectable relative to the given list of
tables , converting aliased or relative references into
absolute ones. |
boolean |
MaskSelectablesForTablesVisitor.visit(Selectable sel,
TableIdentifier[] tables) |
Modifier and Type | Interface and Description |
---|---|
interface |
AggregateFunction
An aggregate function, which evalutes a collection of
Row s. |
interface |
ConcreteFunction
An executable
Function , as opposed to a FunctionIdentifier . |
interface |
ScalarFunction
A
ConcreteFunction that evaluates a single
Row . |
Modifier and Type | Class and Description |
---|---|
class |
ABSFunction |
class |
AddFunction |
class |
AndFunction |
class |
ArithmeticFunction |
class |
AsciiFunction
Returns the Integer value of the left most char of the String
|
class |
AverageFunction |
class |
Base64DecodeFunction
BASE64DECODE(string): returns a byte array representing the Base64 decoded
value of the given string .
|
class |
Base64EncodeFunction
BASE64ENCODE(byte[]): returns a string representing the Base64 encoded
value of the given byte[] or Blob.
|
class |
BaseAggregateFunction |
class |
BaseBooleanBranchFunction |
class |
BaseFunction
An abstract base
ConcreteFunction implementation. |
class |
BaseRegExpFunction |
class |
BitAndFunction |
class |
BitOrFunction |
class |
CastAsFunction
ANSI style CAST...AS Function function : CAST( {id|expr} AS type[(precision[,scale])] )
|
class |
CharFunction
CHAR(number) : returns the character
representing the unicode value number . |
class |
CharToDateFunction
Syntax: CharToDate( date-string, 'format-literal' )
|
class |
CoalesceFunction
COALESCE([value]+) : returns the first non-null value in the
argument list. |
class |
ComparableAggregateFunction |
class |
ComparisonFunction |
class |
ConcatFunction
CONCAT(string [, string]*) : concatenates one or more
strings . |
class |
ContainsFunction
CONTAINS(string, string): returns a
boolean that
indicates whether the second string is a substring of the first. |
class |
CountFunction
COUNT : an aggregate function returning the number of rows. |
class |
DateAddFunction
Syntax: DateAdd(interval_type, interval, timestamp)
|
class |
DateDiffFunction
Syntax: DATEDIFF(interval_type, timestamp1, timestamp2)
|
class |
DatePartFunction
Syntax: DatePart(date-part, date-src) or EXTRACT(date-part FROM date-src)
|
class |
DateToCharFunction
Syntax: DateToChar( date-expr, 'format-string' )
|
class |
DifferenceFunction |
class |
DivideFunction |
class |
EqualFunction |
class |
ExistsFunction |
class |
FunctionIdentifier
A
Selectable representing an unresolved Function . |
class |
GreaterThanFunction |
class |
GreaterThanOrEqualFunction |
class |
HexFunction |
class |
IfThenFunction
IFTHEN(condition value) : returns value if condition
evalates to true; else, it returns null. |
class |
InFunction |
class |
InStringFunction
INSTR(str,substr): Returns the position of the first occurrence of substring substr in
string str.
|
class |
IsNotNullFunction |
class |
IsNullFunction |
class |
IsValidDateTimeFunction
Function to test whether the given String expression is in the same format as the given
date format expression.
|
class |
LengthFunction
Length(string): returns a
Type integer representing the
length of the input string . |
class |
LessThanFunction |
class |
LessThanOrEqualFunction |
class |
LikeToRegexpFunction |
class |
Log10Function |
class |
LowerFunction
LOWER(string): returns a
string containing the lower
case version of the input string . |
class |
LPadFunction |
class |
LTrimFunction |
class |
MatchesFunction
MATCHES(string, string): returns a
BooleanTypeboolean that
indicates whether first string matches the regular expression pattern
represented by the second string. |
class |
MaxFunction |
class |
MinFunction |
class |
ModFunction |
class |
MultiplyFunction |
class |
NotEqualFunction |
class |
NotFunction |
class |
NotInFunction |
class |
NowFunction |
class |
NullIfFunction
The NULLIF function returns a null value if the arguments are equal, otherwise it
returns the value of the first argument.
|
class |
OrFunction |
class |
ReplaceFunction |
class |
RoundFunction |
class |
RowNumFunction
Returns an one-based index indicating the order in which a row was selected from a
table, join, etc.
|
class |
RPadFunction |
class |
RTrimFunction |
class |
SignFunction
Returns an indicator of the sign of the given
double value. |
class |
SoundexFunction |
class |
SoundsLikeFunction |
class |
SpaceFunction
Returns a string filled with a given number of spaces.
|
class |
SubstringFunction
Syntax: SUBSTRING(str, m [,n]) -- m is one(1) based index.)
|
class |
SubtractFunction |
class |
SumFunction |
class |
TrimFunction
TRIM ( [LEADING| TRAILING| BOTH] [ trim-character ] FROM ] trim-source) function
|
class |
TruncateFunction |
class |
UpperFunction
UPPER(string): returns a
string representing the upper
case version of the input string . |
Modifier and Type | Method and Description |
---|---|
Selectable |
BaseFunction.getArgument(int i) |
Modifier and Type | Method and Description |
---|---|
void |
BaseFunction.addArgument(Selectable arg) |
void |
BaseFunction.setArgument(int i,
Selectable arg) |
Constructor and Description |
---|
AxionResultSet(RowDecoratorIterator rows,
Selectable[] selected)
Deprecated.
use {@link #AxionResultSet(RowDecoratorIterator,Selectable,Statement)
|
AxionResultSet(RowDecoratorIterator rows,
Selectable[] selected,
java.sql.Statement stmt) |
AxionResultSetMetaData(Selectable[] selected) |
Modifier and Type | Method and Description |
---|---|
Selectable |
AxionSqlParser.SqlInClause(Selectable left) |
Selectable |
AxionSqlParser.SqlLikeClause(Selectable left) |