Uses of Class
edu.caltech.nanodb.expressions.Environment
-
Packages that use Environment Package Description edu.caltech.nanodb.commands This package contains the classes that represent the commands that the NanoSQL database recognizes.edu.caltech.nanodb.expressions This package contains classes for representing and evaluating arithmetic and logical expressions.edu.caltech.nanodb.functions This package contains the abstractions for supporting simple functions, aggregate functions, and table-returning functions in NanoDB.edu.caltech.nanodb.plannodes This package contains classes for representing query execution plans, as well as analyzing their costs. -
-
Uses of Environment in edu.caltech.nanodb.commands
Fields in edu.caltech.nanodb.commands declared as Environment Modifier and Type Field Description private Environment
UpdateCommand.TupleUpdater. environment
The environment used to evaluate the update expressions. -
Uses of Environment in edu.caltech.nanodb.expressions
Fields in edu.caltech.nanodb.expressions declared as Environment Modifier and Type Field Description private Environment
TupleComparator. envTupleA
The environment to use for evaluating order-by expressions against the first tuple.private Environment
TupleComparator. envTupleB
The environment to use for evaluating order-by expressions against the second tuple.Fields in edu.caltech.nanodb.expressions with type parameters of type Environment Modifier and Type Field Description private java.util.ArrayList<Environment>
Environment. parents
In the case of correlated evaluation, this field holds parent environments that can be used to resolve symbol names into values.Methods in edu.caltech.nanodb.expressions with parameters of type Environment Modifier and Type Method Description void
Environment. addParentEnvironment(Environment env)
java.lang.Object
ArithmeticOperator. evaluate(Environment env)
java.lang.Object
BooleanOperator. evaluate(Environment env)
java.lang.Object
ColumnValue. evaluate(Environment env)
java.lang.Object
CompareOperator. evaluate(Environment env)
Evaluates this comparison expression and returns eitherBoolean.TRUE
orBoolean.FALSE
.java.lang.Object
ExistsOperator. evaluate(Environment env)
abstract java.lang.Object
Expression. evaluate(Environment env)
Evaluates this expression object in the context of the specified environment.java.lang.Object
FunctionCall. evaluate(Environment env)
java.lang.Object
InSubqueryOperator. evaluate(Environment env)
Evaluates this comparison expression and returns eitherBoolean.TRUE
orBoolean.FALSE
.java.lang.Object
InValuesOperator. evaluate(Environment env)
Evaluates this comparison expression and returns eitherBoolean.TRUE
orBoolean.FALSE
.java.lang.Object
IsNullOperator. evaluate(Environment env)
java.lang.Object
LiteralValue. evaluate(Environment env)
For literal values, evaluation simply involves returning the literal value.java.lang.Object
NegateOperator. evaluate(Environment env)
java.lang.Object
ScalarSubquery. evaluate(Environment env)
java.lang.Object
StringMatchOperator. evaluate(Environment env)
Evaluates this comparison expression and returns eitherBoolean.TRUE
orBoolean.FALSE
.boolean
Expression. evaluatePredicate(Environment env)
Evaluates an expression as a Boolean predicate. -
Uses of Environment in edu.caltech.nanodb.functions
Methods in edu.caltech.nanodb.functions with parameters of type Environment Modifier and Type Method Description java.lang.Object
Abs. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
ArcCos. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
ArcSin. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
ArcTan. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
ArcTan2. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Ceil. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Coalesce. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Concat. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Cos. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Floor. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Greatest. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
If. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
IfNull. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Least. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
NullIf. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Pow. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
ReadPerfCounter. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
ResetPerfCounter. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Round. evaluate(Environment env, java.util.List<Expression> args)
abstract java.lang.Object
SimpleFunction. evaluate(Environment env, java.util.List<Expression> args)
Evaluates the function.java.lang.Object
Sin. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Sqrt. evaluate(Environment env, java.util.List<Expression> args)
java.lang.Object
Tan. evaluate(Environment env, java.util.List<Expression> args)
-
Uses of Environment in edu.caltech.nanodb.plannodes
Fields in edu.caltech.nanodb.plannodes declared as Environment Modifier and Type Field Description protected Environment
PlanNode. environment
The environment used to evaluate expressions against tuples being processed.Methods in edu.caltech.nanodb.plannodes that return Environment Modifier and Type Method Description Environment
PlanNode. getEnvironment()
Returns the environment that this plan node uses during query evaluation.Methods in edu.caltech.nanodb.plannodes with parameters of type Environment Modifier and Type Method Description void
PlanNode. addParentEnvironmentToPlanTree(Environment parentEnv)
This method adds a parent environment to the entire plan tree rooted at this plan node.void
PlanNode. setEnvironment(Environment env)
Sets the plan node's environment to the specified environment object.
-