Module: Locomotive::RelationalAlgebra

Defined in:
lib/locomotive/relational_algebra/types.rb,
lib/locomotive/relational_algebra/schema.rb,
lib/locomotive/relational_algebra/ordering.rb,
lib/locomotive/relational_algebra/attributes.rb,
lib/locomotive/relational_algebra/rel_alg_ast_node.rb,
lib/locomotive/relational_algebra/query_information.rb,
lib/locomotive/relational_algebra/rel_alg_exceptions.rb,
lib/locomotive/relational_algebra/operators/set/union.rb,
lib/locomotive/relational_algebra/operators/boolean/or.rb,
lib/locomotive/relational_algebra/operators/join/cross.rb,
lib/locomotive/relational_algebra/operators/tables/nil.rb,
lib/locomotive/relational_algebra/operators/boolean/and.rb,
lib/locomotive/relational_algebra/operators/boolean/not.rb,
lib/locomotive/relational_algebra/operators/error/error.rb,
lib/locomotive/relational_algebra/operators/ranking/rank.rb,
lib/locomotive/relational_algebra/operators/set/distinct.rb,
lib/locomotive/relational_algebra/operators/typeing/cast.rb,
lib/locomotive/relational_algebra/operators/filter/select.rb,
lib/locomotive/relational_algebra/operators/set/basic_set.rb,
lib/locomotive/relational_algebra/operators/join/equi_join.rb,
lib/locomotive/relational_algebra/operators/ranking/row_id.rb,
lib/locomotive/relational_algebra/operators/set/difference.rb,
lib/locomotive/relational_algebra/operators/basic_operators.rb,
lib/locomotive/relational_algebra/operators/join/basic_join.rb,
lib/locomotive/relational_algebra/operators/join/predicates.rb,
lib/locomotive/relational_algebra/operators/join/theta_join.rb,
lib/locomotive/relational_algebra/operators/comparisons/less.rb,
lib/locomotive/relational_algebra/operators/ranking/row_rank.rb,
lib/locomotive/relational_algebra/operators/tables/ref_table.rb,
lib/locomotive/relational_algebra/operators/builtins/function.rb,
lib/locomotive/relational_algebra/operators/comparisons/equal.rb,
lib/locomotive/relational_algebra/operators/abstraction/lambda.rb,
lib/locomotive/relational_algebra/operators/projections/attach.rb,
lib/locomotive/relational_algebra/operators/ranking/rank_lists.rb,
lib/locomotive/relational_algebra/operators/ranking/row_number.rb,
lib/locomotive/relational_algebra/operators/comparisons/greater.rb,
lib/locomotive/relational_algebra/operators/abstraction/variable.rb,
lib/locomotive/relational_algebra/operators/tables/literal_table.rb,
lib/locomotive/relational_algebra/operators/boolean/basic_boolean.rb,
lib/locomotive/relational_algebra/operators/ranking/basic_ranking.rb,
lib/locomotive/relational_algebra/operators/builtins/arith_builtin.rb,
lib/locomotive/relational_algebra/operators/builtins/basic_builtin.rb,
lib/locomotive/relational_algebra/operators/comparisons/less_equal.rb,
lib/locomotive/relational_algebra/operators/projections/projection.rb,
lib/locomotive/relational_algebra/operators/aggregation/aggregation.rb,
lib/locomotive/relational_algebra/operators/aggregation/aggr_builtin.rb,
lib/locomotive/relational_algebra/operators/comparisons/greater_equal.rb,
lib/locomotive/relational_algebra/operators/comparisons/basic_comparison.rb,
lib/locomotive/relational_algebra/operators/serialization/basic_serialize.rb,
lib/locomotive/relational_algebra/operators/serialization/serialize_relation.rb

Defined Under Namespace

Classes: AbstractClassError, Addition, Aggr, AggrFun, All, And, ArgumentException, Ascending, Atom, Attach, AttachItem, Attribute, AttributeColumnStructure, Avg, BinOp, Binary, Cast, ColumnStructure, ColumnStructureEntry, Comparison, ConstAttribute, Contains, CorruptedSchema, Count, Cross, Descending, Difference, Distinct, Division, Duplicates, Equal, EquiJoin, Equivalence, Error, Fun, Function, GenericAttribute, GreaterEqualThan, GreaterThan, ITblsNotEqual, IdError, Inner, Item, Iter, Join, Leaf, LessEqualThan, LessThan, List, LiteralList, LiteralTable, Max, Min, Multiplication, Nil, Not, Numbering, OffsetType, Operator, Or, Outer, Pos, PredGreaterThan, PredLessThan, Predicate, PredicateList, Project, ProjectList, QueryInformationNode, QueryPlan, QueryPlanBundle, RAtomic, RBool, RDbl, RDec, RInt, RNat, RStr, RType, Rank, RefTbl, RelAlgAstNode, RelLambda, ResultType, RowId, RowNum, RowRank, Schema, Select, Serialize, SerializeRelation, Set, SideEffects, SortDirection, SortList, Subtraction, Sum, SurrogateList, ThetaJoin, Unary, Union, Variable

Instance Method Summary collapse

Instance Method Details

#Attribute(name) ⇒ Object



165
166
167
# File 'lib/locomotive/relational_algebra/attributes.rb', line 165

def Attribute(name)
  Attribute.new(name)
end

#Inner(id) ⇒ Object



90
91
92
# File 'lib/locomotive/relational_algebra/attributes.rb', line 90

def Inner(id)
  Inner.new(id)
end

#Item(id) ⇒ Object



114
115
116
# File 'lib/locomotive/relational_algebra/attributes.rb', line 114

def Item(id)
  Item.new(id)
end

#Iter(id) ⇒ Object



82
83
84
# File 'lib/locomotive/relational_algebra/attributes.rb', line 82

def Iter(id)
  Iter.new(id)
end

#LiteralTable(values) ⇒ Object



89
90
91
# File 'lib/locomotive/relational_algebra/operators/tables/literal_table.rb', line 89

def LiteralTable(values)
  LiteralTable.new(values)
end

#Outer(id) ⇒ Object



86
87
88
# File 'lib/locomotive/relational_algebra/attributes.rb', line 86

def Outer(id)
  Outer.new(id)
end

#Pos(id) ⇒ Object



94
95
96
# File 'lib/locomotive/relational_algebra/attributes.rb', line 94

def Pos(id)
  Pos.new(id)
end