Uses of Interface
org.axiondb.Selectable

Packages that use Selectable
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. 
 

Uses of Selectable in org.axiondb
 

Subinterfaces of Selectable in org.axiondb
 interface Function
          A database function.
 

Classes in org.axiondb that implement Selectable
 class BaseSelectable
           
 class BindVariable
          A Literalthat can be bound via PreparedStatementmethods.
 class ColumnIdentifier
          An identifier for a column.
 class Literal
          A typedliteral value.
 class SequenceEvaluator
           
 

Methods in org.axiondb that return Selectable
 Selectable Function.getArgument(int i)
          Returns the Selectableat the given index.
 Selectable FromNode.getCondition()
          get the join condition
 Selectable Column.getDefault()
           
 Selectable OrderNode.getSelectable()
           
 Selectable SelectableBasedConstraint.getSelectable(int i)
           
 

Methods in org.axiondb with parameters of type Selectable
 void Function.addArgument(Selectable arg)
          Append the given Selectableto 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)
           
 

Constructors in org.axiondb with parameters of type Selectable
Column(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)
           
 

Uses of Selectable in org.axiondb.constraints
 

Methods in org.axiondb.constraints that return Selectable
 Selectable CheckConstraint.getCondition()
           
 Selectable BaseSelectableBasedConstraint.getSelectable(int i)
           
 

Methods in org.axiondb.constraints with parameters of type Selectable
 void BaseSelectableBasedConstraint.addSelectable(Selectable sel)
           
 void CheckConstraint.setCondition(Selectable where)
           
 

Uses of Selectable in org.axiondb.engine
 

Methods in org.axiondb.engine that return Selectable
 Selectable BaseDatabase.resolveSelectSelectable(SubSelectCommand select, TableIdentifier[] tables)
           
 

Methods in org.axiondb.engine with parameters of type Selectable
 RowIterator TransactableTableImpl.getIndexedRows(RowSource source, Selectable node, boolean readOnly)
           
 RowIterator TransactableTableImpl.getIndexedRows(Selectable node, boolean readOnly)
           
 

Uses of Selectable in org.axiondb.engine.commands
 

Classes in org.axiondb.engine.commands that implement Selectable
 class SubSelectCommand
          A Sub SELECT query used for view, scalar value, from node, row list
 

Methods in org.axiondb.engine.commands that return Selectable
static Selectable AxionQueryOptimizer.createOneRootFunction(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 Selectablebeing selected.
 Selectable[] AxionQueryContext.getSelected()
           
 Selectable AxionQueryContext.getWhere()
          Returns the where treefor this query.
 Selectable UpdateCommand.getWhere()
           
 Selectable DeleteCommand.getWhere()
           
protected  Selectable BaseAxionCommand.resolveSelectable(Selectable sel, Database db, List selected, TableIdentifier[] tables)
           
protected  Selectable BaseAxionCommand.resolveSelectable(Selectable sel, Database db, TableIdentifier[] tables)
           
 

Methods in org.axiondb.engine.commands with parameters of type Selectable
 void AlterTableCommand.addColumn(String name, String type, String precision, String scale, Selectable defaultValue, String generated)
           
 void AxionQueryContext.addSelect(Selectable column)
          Adds a Selectableto the list of items being selected.
 void UpsertCommand.addUpdateValue(Selectable val)
           
 void UpdateCommand.addValue(Selectable val)
           
 void AlterTableCommand.alterColumn(String name, String newName, Selectable newDefault, Boolean dropDefault)
           
 void CreateTableCommand.alterColumn(String name, String newName, Selectable newDefault, Boolean dropDefault)
           
static Set AxionQueryOptimizer.flatConditionTree(Selectable conditionTree)
          Flatten the given condition tree into an ANDed set
protected  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, 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 Selectablebeing selected.
 void AxionQueryContext.setSelected(Selectable[] selected)
           
 void AxionQueryContext.setWhere(Selectable where)
          Sets the where treefor this query.
 void UpdateCommand.setWhere(Selectable where)
           
 

Constructors in org.axiondb.engine.commands with parameters of type Selectable
DeleteCommand(String tableName, Selectable where)
           
DeleteCommand(TableIdentifier table, Selectable where)
           
DMLWhenClause(Selectable whenCondition)
           
 

Uses of Selectable in org.axiondb.engine.rowcollection
 

Methods in org.axiondb.engine.rowcollection with parameters of type Selectable
 RowIterator IntRowMap.getIndexedRows(Table source, Selectable node, boolean readOnly)
           
 

Uses of Selectable in org.axiondb.engine.rowiterators
 

Methods in org.axiondb.engine.rowiterators that return Selectable
protected  Selectable AbstractJoinedRowIterator.getJoinCondition()
           
 

Methods in org.axiondb.engine.rowiterators with parameters of type Selectable
 void AbstractJoinedRowIterator.setJoinCondition(Selectable joinCondition, RowDecorator decorator)
           
 

Constructors in org.axiondb.engine.rowiterators with parameters of type Selectable
DistinctRowIterator(RowIterator iter, Map selectableMap, Selectable[] selectables)
           
FilteringChangingIndexedRowIterator(MutableIndexedRowIterator iterator, RowDecorator decorator, Selectable where)
           
FilteringRowIterator(RowIterator iterator, RowDecorator decorator, Selectable where)
           
GroupedRowIterator(boolean sort, RowIterator rows, Map fieldMap, List groupBy, List selected, Selectable having, Selectable where, List orderBy)
           
GroupedRowIterator(RowIterator rows, Map fieldMap, List groupBy, List selected, Selectable having, List orderBy)
           
 

Uses of Selectable in org.axiondb.engine.tables
 

Methods in org.axiondb.engine.tables with parameters of type Selectable
 RowIterator BaseTable.getIndexedRows(RowSource source, Selectable node, boolean readOnly)
           
 RowIterator ExternalAxionDBTable.getIndexedRows(RowSource source, Selectable node, boolean readOnly)
           
 RowIterator TableView.getIndexedRows(RowSource source, Selectable node, boolean readOnly)
           
 RowIterator ExternalDatabaseTable.getIndexedRows(RowSource source, Selectable node, boolean readOnly)
           
 RowIterator BaseTable.getIndexedRows(Selectable node, boolean readOnly)
           
 RowIterator ExternalAxionDBTable.getIndexedRows(Selectable node, boolean readOnly)
           
 RowIterator TableView.getIndexedRows(Selectable node, boolean readOnly)
           
 RowIterator ExternalDatabaseTable.getIndexedRows(Selectable node, boolean readOnly)
           
 

Uses of Selectable in org.axiondb.engine.visitors
 

Methods in org.axiondb.engine.visitors that return Selectable
 Selectable ResolveSelectableVisitor.visit(ColumnIdentifier column, List selected, TableIdentifier[] tables)
           
 Selectable ResolveSelectableVisitor.visit(FunctionIdentifier fn, List selected, TableIdentifier[] tables)
           
 Selectable ResolveSelectableVisitor.visit(Selectable selectable, List selected, TableIdentifier[] tables)
          "Resolve" the given Selectablerelative to the given list of tables, converting aliased or relative references into absolute ones.
 Selectable ResolveSelectableVisitor.visit(SubSelectCommand select, TableIdentifier[] tables)
           
 

Methods in org.axiondb.engine.visitors with parameters of type Selectable
 Set FlattenWhereNodeVisitor.getNodes(Selectable node)
           
 void FindBindVariableVisitor.visit(Selectable sel)
           
 void AssertGroupByRulesVisitor.visit(Selectable select)
           
 void FindAggregateFunctionVisitor.visit(Selectable sel)
           
 void FlattenWhereNodeVisitor.visit(Selectable sel)
           
 void ReferencesOtherTablesWhereNodeVisitor.visit(Selectable node)
           
 Selectable ResolveSelectableVisitor.visit(Selectable selectable, List selected, TableIdentifier[] tables)
          "Resolve" the given Selectablerelative to the given list of tables, converting aliased or relative references into absolute ones.
 boolean MaskSelectablesForTablesVisitor.visit(Selectable sel, TableIdentifier[] tables)
           
 

Uses of Selectable in org.axiondb.functions
 

Subinterfaces of Selectable in org.axiondb.functions
 interface AggregateFunction
          An aggregate function, which evalutes a collection of Rows.
 interface ConcreteFunction
          An executable Function, as opposed to a FunctionIdentifier.
 interface ScalarFunction
          A ConcreteFunction that evaluates a single Row.
 

Classes in org.axiondb.functions that implement Selectable
 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 ConcreteFunctionimplementation.
 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 booleanthat 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 integerrepresenting the length of the input string .
 class LessThanFunction
           
 class LessThanOrEqualFunction
           
 class LikeToRegexpFunction
           
 class Log10Function
           
 class LowerFunction
          LOWER(string): returns a stringcontaining 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 stringrepresenting the upper case version of the input string .
 

Methods in org.axiondb.functions that return Selectable
 Selectable BaseFunction.getArgument(int i)
           
 

Methods in org.axiondb.functions with parameters of type Selectable
 void BaseFunction.addArgument(Selectable arg)
           
 void BaseFunction.setArgument(int i, Selectable arg)
           
 

Uses of Selectable in org.axiondb.jdbc
 

Constructors in org.axiondb.jdbc with parameters of type Selectable
AxionResultSet(RowDecoratorIterator rows, Selectable[] selected)
          Deprecated. use {@link #AxionResultSet(RowDecoratorIterator,Selectable,Statement)
AxionResultSet(RowDecoratorIterator rows, Selectable[] selected, Statement stmt)
           
AxionResultSetMetaData(Selectable[] selected)
           
 

Uses of Selectable in org.axiondb.parser
 

Methods in org.axiondb.parser that return Selectable
 Selectable[] AxionSqlParser.SqlBetweenClause()
           
 Selectable AxionSqlParser.SqlCase()
           
 Selectable AxionSqlParser.SqlCastAs()
           
 Selectable AxionSqlParser.SqlCompareExpr()
           
 Selectable AxionSqlParser.SqlExistsClause()
           
 Selectable AxionSqlParser.SqlExtract()
           
 Selectable AxionSqlParser.SqlFunction()
           
 Selectable AxionSqlParser.SqlGroupByElem()
           
 Selectable AxionSqlParser.SqlInClause(Selectable left)
           
 Selectable AxionSqlParser.SqlLikeClause(Selectable left)
           
 Selectable AxionSqlParser.SqlPosition()
           
 Selectable AxionSqlParser.SqlProductExprSelectable()
           
 Selectable AxionSqlParser.SqlPseudoColumn()
           
 Selectable AxionSqlParser.SqlSelectable()
           
 Selectable AxionSqlParser.SqlSelectableElements()
           
 Selectable AxionSqlParser.SqlSelectAsScalarValue()
           
 Selectable AxionSqlParser.SqlSelectClauseElement()
           
 Selectable AxionSqlParser.SqlSubString()
           
 Selectable AxionSqlParser.SqlSumExprSelectable()
           
 Selectable AxionSqlParser.SqlTrim()
           
 Selectable[] AxionSqlParser.SqlUpdateAssignment()
           
 Selectable AxionSqlParser.SqlWhere()
           
 Selectable AxionSqlParser.SqlWhereAnd()
           
 Selectable AxionSqlParser.SqlWhereElt()
           
 Selectable AxionSqlParser.SqlWhereNot()
           
 Selectable AxionSqlParser.SqlWhereOr()
           
 

Methods in org.axiondb.parser with parameters of type Selectable
 Selectable AxionSqlParser.SqlInClause(Selectable left)
           
 Selectable AxionSqlParser.SqlLikeClause(Selectable left)