Package | Description |
---|---|
org.axiondb |
Core interfaces, identifiers, and exceptions.
|
org.axiondb.engine.commands |
AxionCommand implementations. |
org.axiondb.engine.indexes | |
org.axiondb.engine.rowiterators |
RowIterator implementations. |
org.axiondb.engine.visitors | |
org.axiondb.functions |
Function implementations. |
Modifier and Type | Method and Description |
---|---|
RowIterator |
Index.getRowIterator(RowSource source,
Function fn,
java.lang.Object value)
Returns a
RowIterator over the indexed rows, limited by the given
ComparisonOperator /value pair, using the default sort order. |
boolean |
Index.supportsFunction(Function fn)
Returns true iff
#getRowIterator(org.axiondb.RowSource,org.axiondb.ComparisonOperator,java.lang.Object)
can support the given operator, false otherwise. |
Modifier and Type | Method and Description |
---|---|
static Function |
AxionQueryOptimizer.findColumnLiteralEqualFunction(TableIdentifier tid,
Table table,
java.util.Set conditions,
boolean mustCheckForIndex) |
static Function |
AxionQueryOptimizer.findColumnLiteralFunction(TableIdentifier tid,
Table table,
java.util.Set conditions,
boolean mustCheckForIndex)
Find column-literal comparision function for a given table.
|
static Function |
AxionQueryOptimizer.isColumnIndexed(TableIdentifier tid,
Table table,
Selectable condition,
boolean mustCheckForIndex) |
Modifier and Type | Method and Description |
---|---|
RowIterator |
ObjectBTreeIndex.getRowIterator(RowSource source,
Function function,
java.lang.Object value) |
RowIterator |
IntBTreeIndex.getRowIterator(RowSource source,
Function function,
java.lang.Object value) |
abstract RowIterator |
BaseIndex.getRowIterator(RowSource source,
Function fn,
java.lang.Object value) |
RowIterator |
BaseArrayIndex.getRowIterator(RowSource source,
Function fn,
java.lang.Object value) |
abstract boolean |
BaseIndex.supportsFunction(Function fn) |
boolean |
BaseArrayIndex.supportsFunction(Function fn) |
boolean |
BaseBTreeIndex.supportsFunction(Function fn) |
Constructor and Description |
---|
ChangingIndexedRowIterator(Index index,
Table table,
Function fn) |
RebindableIndexedRowIterator(Index index,
RowSource table,
Function fn,
BindVariable bvar) |
Modifier and Type | Method and Description |
---|---|
void |
FindBindVariableVisitor.visit(Function fn) |
void |
TableColumnsUsedInFunctionVisitor.visit(Function fn,
Table sourceTable) |
boolean |
MaskSelectablesForTablesVisitor.visit(Function fn,
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 . |