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.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 Sequence
          A database sequence.
 class SequenceEvaluator
           
 

Methods in org.axiondb that return Selectable
 Selectable Function.getArgument(int i)
          Returns the Selectableat the given index.
 Selectable SelectableBasedConstraint.getSelectable(int i)
           
 Selectable FromNode.getCondition()
          get the join condition
 Selectable Database.resolveSelectable(Selectable selectable, List aliasList, TableIdentifier[] tables)
           
 Selectable Database.resolveSelectable(Selectable selectable, TableIdentifier[] tables)
          "Resolve" the given Selectablerelative to the given list of tables, converting aliased or relative references into absolute ones.
 Selectable OrderNode.getSelectable()
           
 Selectable Column.getDefault()
           
 

Methods in org.axiondb with parameters of type Selectable
 void Function.addArgument(Selectable arg)
          Append the given Selectableto my argument list.
 void Function.setArgument(int i, Selectable arg)
           
 void SelectableBasedConstraint.addSelectable(Selectable sel)
           
 void FromNode.setCondition(Selectable condition)
          Set the join condition
 void SelectableVisitor.visit(Selectable node)
           
 boolean Database.canResolveSelectable(Selectable selectable, TableIdentifier[] tables)
           
 Selectable Database.resolveSelectable(Selectable selectable, List aliasList, TableIdentifier[] tables)
           
 Selectable Database.resolveSelectable(Selectable selectable, TableIdentifier[] tables)
          "Resolve" the given Selectablerelative to the given list of tables, converting aliased or relative references into absolute ones.
 void OrderNode.setSelectable(Selectable sel)
           
 RowIterator Table.getIndexedRows(Selectable where, boolean readOnly)
           
 void JoinedRowIterator.setJoinCondition(RowDecorator decorator, Selectable condition)
           
 

Constructors in org.axiondb with parameters of type Selectable
OrderNode(Selectable selectable, boolean descending)
          Create an OrderNode that sorts the given selectable in ascending or descending order.
RowComparator(Selectable sel, RowDecorator dec)
           
Column(String name, DataType type, Selectable defaultValue)
          Create column with the given name and type .
 

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 CheckConstraint.setCondition(Selectable where)
           
 void BaseSelectableBasedConstraint.addSelectable(Selectable sel)
           
 

Uses of Selectable in org.axiondb.engine
 

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

Methods in org.axiondb.engine with parameters of type Selectable
 Selectable SnapshotIsolationTransaction.resolveSelectable(Selectable selectable, TableIdentifier[] tables)
           
 boolean SnapshotIsolationTransaction.canResolveSelectable(Selectable selectable, TableIdentifier[] tables)
           
 Selectable SnapshotIsolationTransaction.resolveSelectable(Selectable selectable, List aliasList, TableIdentifier[] tables)
           
 RowIterator TransactableTableImpl.getIndexedRows(Selectable node, boolean readOnly)
           
 Selectable BaseDatabase.resolveSelectable(Selectable selectable, TableIdentifier[] tables)
           
 boolean BaseDatabase.canResolveSelectable(Selectable selectable, TableIdentifier[] tables)
           
 Selectable BaseDatabase.resolveSelectable(Selectable selectable, List aliasList, TableIdentifier[] tables)
           
 

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
 Selectable AxionQueryContext.getGroupBy(int i)
          Gets Selectable in Group by clause.
 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()
           
 

Methods in org.axiondb.engine.commands with parameters of type Selectable
 void InsertCommand.addValue(Selectable val)
           
static void BaseAxionCommand.appendBindVariables(Selectable sel, List list)
           
protected  RowIterator BaseAxionCommand.getRowIterator(Table table, Selectable whereNode, boolean readOnly)
           
protected  RowIterator BaseAxionCommand.getRowIterator(Table table, Selectable whereNode, boolean readOnly, RowDecorator dec)
           
 void AlterTableCommand.addColumn(String name, String datatypename, String precision, String scale, Selectable defaultValue)
           
 void UpsertCommand.setCondition(Selectable condition)
           
 void UpsertCommand.addUpdateValue(Selectable val)
           
static Set AxionQueryOptimizer.flatConditionTree(Selectable tree)
          flatten into an ANDed set
static boolean AxionQueryOptimizer.onlyReferencesTable(TableIdentifier table, Selectable node)
           
static Set AxionQueryOptimizer.processWhereTree(Selectable tree)
          Decomposes the given WhereNodeinto a Setof nodes that were originally joined by ANDs, and adds to this set predicates that are implied by the original tree (for example, given A = 1 and A = B, we can infer B = 1.)
 void AxionQueryContext.addSelect(Selectable column)
          Adds a Selectableto the list of items being selected.
 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.addValue(Selectable val)
           
 void UpdateCommand.setWhere(Selectable where)
           
 void DeleteCommand.setWhere(Selectable where)
           
 void CreateTableCommand.addColumn(String name, String datatypename, Selectable defaultValue)
           
 void CreateTableCommand.addColumn(String name, String datatypename, String precision, String scale, Selectable defaultValue)
           
 

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

Uses of Selectable in org.axiondb.engine.rowiterators
 

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

Constructors in org.axiondb.engine.rowiterators with parameters of type Selectable
DistinctRowIterator(RowIterator iter, Map selectableMap, Selectable[] selectables)
           
FilteringRowIterator(RowIterator iterator, RowDecorator decorator, Selectable where)
           
FilteringChangingIndexedRowIterator(MutableIndexedRowIterator iterator, RowDecorator decorator, Selectable where)
           
 

Uses of Selectable in org.axiondb.engine.tables
 

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

Uses of Selectable in org.axiondb.engine.visitors
 

Methods in org.axiondb.engine.visitors with parameters of type Selectable
 HashSet FlattenWhereNodeVisitor.getNodes(Selectable node)
           
 void FlattenWhereNodeVisitor.visit(Selectable sel)
           
 void ReferencesOtherTablesWhereNodeVisitor.visit(Selectable node)
           
 

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 AggregateBigDecimalFunction
           
 class AndFunction
           
 class ArithmeticFunction
           
 class AsciiFunction
           
 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 BaseBooleanBranchFunction
           
 class BaseFunction
          An abstract base ConcreteFunctionimplementation.
 class BitAndFunction
           
 class BitOrFunction
           
 class CastAsFunction
          ANSI style Cast As Function function : CAST( {id|expr} AS type)
 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 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, timestamp)
 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 IfThenFunction
          IFTHEN(condition value): returns value if condition evalates to true; else, it returns null.
 class InFunction
           
 class InStringFunction
           
 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 string containing the lower case version of the input string.
 class LPadFunction
           
 class LTrimFunction
           
 class MatchesFunction
          MATCHES(string, string): returns a boolean that indicates whether first string matches the regular expression represented by the second string
 class MaxFunction
           
 class MinFunction
           
 class ModFunction
           
 class MultiplyFunction
           
 class NotEqualFunction
           
 class NotExistsFunction
           
 class NotFunction
           
 class NotInFunction
           
 class NowFunction
           
 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
           
 class SubstringFunction
          Syntax: SUBSTRING(str, m [,n]) -- m is one(1) based index.)
 class SubtractFunction
           
 class SumFunction
           
 class TruncateFunction
           
 class UpperFunction
          UPPER(string): returns a string representing the upper case version of the input string.
 

Methods in org.axiondb.functions that return Selectable
 Selectable BaseFunction.getArgument(int i)
           
 Selectable FunctionIdentifier.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)
           
 void FunctionIdentifier.addArgument(Selectable arg)
           
 void FunctionIdentifier.setArgument(int i, Selectable arg)
           
 

Uses of Selectable in org.axiondb.jdbc
 

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

Uses of Selectable in org.axiondb.parser
 

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

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