Module: Alf

Extended by:
Facade
Defined in:
lib/alf/dsl.rb,
lib/alf/core.rb,
lib/alf/core.rb,
lib/alf/tuple.rb,
lib/alf/types.rb,
lib/alf/relvar.rb,
lib/alf/facade.rb,
lib/alf/reader.rb,
lib/alf/errors.rb,
lib/alf/engine.rb,
lib/alf/adapter.rb,
lib/alf/algebra.rb,
lib/alf/support.rb,
lib/alf/compiler.rb,
lib/alf/relation.rb,
lib/alf/database.rb,
lib/alf/renderer.rb,
lib/alf/optimizer.rb,
lib/alf/viewpoint.rb,
lib/alf/predicate.rb,
lib/alf/aggregator.rb,
lib/alf/reader/csv.rb,
lib/alf/engine/cog.rb,
lib/alf/types/keys.rb,
lib/alf/types/size.rb,
lib/alf/engine/leaf.rb,
lib/alf/reader/rash.rb,
lib/alf/reader/ruby.rb,
lib/alf/engine/semi.rb,
lib/alf/reader/json.rb,
lib/alf/reader/yaml.rb,
lib/alf/engine/rank.rb,
lib/alf/engine/join.rb,
lib/alf/lang/parser.rb,
lib/alf/engine/wrap.rb,
lib/alf/engine/take.rb,
lib/alf/relvar/fake.rb,
lib/alf/engine/clip.rb,
lib/alf/relvar/base.rb,
lib/alf/engine/sort.rb,
lib/alf/renderer/csv.rb,
lib/alf/engine/group.rb,
lib/alf/compiler/cog.rb,
lib/alf/engine/quota.rb,
lib/alf/engine/image.rb,
lib/alf/core/version.rb,
lib/alf/support/tree.rb,
lib/alf/relvar/memory.rb,
lib/alf/types/heading.rb,
lib/alf/types/boolean.rb,
lib/alf/engine/rename.rb,
lib/alf/engine/concat.rb,
lib/alf/engine/coerce.rb,
lib/alf/compiler/plan.rb,
lib/alf/engine/unwrap.rb,
lib/alf/renderer/rash.rb,
lib/alf/renderer/html.rb,
lib/alf/renderer/text.rb,
lib/alf/renderer/json.rb,
lib/alf/renderer/yaml.rb,
lib/alf/support/scope.rb,
lib/alf/engine/filter.rb,
lib/alf/types/selector.rb,
lib/alf/engine/ungroup.rb,
lib/alf/support/coerce.rb,
lib/alf/adapter/memory.rb,
lib/alf/adapter/folder.rb,
lib/alf/types/renaming.rb,
lib/alf/support/config.rb,
lib/alf/engine/autonum.rb,
lib/alf/engine/compact.rb,
lib/alf/aggregator/avg.rb,
lib/alf/types/ordering.rb,
lib/alf/aggregator/sum.rb,
lib/alf/aggregator/min.rb,
lib/alf/update/updater.rb,
lib/alf/update/deleter.rb,
lib/alf/relvar/virtual.rb,
lib/alf/aggregator/max.rb,
lib/alf/engine/defaults.rb,
lib/alf/algebra/operand.rb,
lib/alf/types/attr_name.rb,
lib/alf/types/attr_list.rb,
lib/alf/lang/predicates.rb,
lib/alf/lang/functional.rb,
lib/alf/engine/to_array.rb,
lib/alf/update/inserter.rb,
lib/alf/engine/set_attr.rb,
lib/alf/types/selection.rb,
lib/alf/lang/aggregators.rb,
lib/alf/engine/type_safe.rb,
lib/alf/types/type_check.rb,
lib/alf/algebra/shortcut.rb,
lib/alf/engine/aggregate.rb,
lib/alf/algebra/operator.rb,
lib/alf/support/registry.rb,
lib/alf/engine/join/hash.rb,
lib/alf/aggregator/count.rb,
lib/alf/support/to_lispy.rb,
lib/alf/engine/summarize.rb,
lib/alf/database/options.rb,
lib/alf/relvar/read_only.rb,
lib/alf/engine/semi/hash.rb,
lib/alf/compiler/default.rb,
lib/alf/engine/generator.rb,
lib/alf/predicate/factory.rb,
lib/alf/predicate/grammar.rb,
lib/alf/support/dot_utils.rb,
lib/alf/lang/parser/safer.rb,
lib/alf/optimizer/project.rb,
lib/alf/lang/parser/lispy.rb,
lib/alf/engine/group/hash.rb,
lib/alf/aggregator/concat.rb,
lib/alf/aggregator/stddev.rb,
lib/alf/support/csv_utils.rb,
lib/alf/engine/image/hash.rb,
lib/alf/engine/compact/set.rb,
lib/alf/predicate/nodes/in.rb,
lib/alf/predicate/nodes/eq.rb,
lib/alf/predicate/nodes/gt.rb,
lib/alf/predicate/nodes/or.rb,
lib/alf/adapter/connection.rb,
lib/alf/aggregator/collect.rb,
lib/alf/engine/rank/cesure.rb,
lib/alf/optimizer/restrict.rb,
lib/alf/engine/materialize.rb,
lib/alf/predicate/nodes/lt.rb,
lib/alf/viewpoint/metadata.rb,
lib/alf/engine/hierarchize.rb,
lib/alf/support/tuple_scope.rb,
lib/alf/support/ordered_set.rb,
lib/alf/predicate/nodes/not.rb,
lib/alf/predicate/nodes/gte.rb,
lib/alf/types/summarization.rb,
lib/alf/engine/quota/cesure.rb,
lib/alf/aggregator/variance.rb,
lib/alf/predicate/nodes/lte.rb,
lib/alf/predicate/nodes/and.rb,
lib/alf/predicate/nodes/neq.rb,
lib/alf/engine/compact/uniq.rb,
lib/alf/database/connection.rb,
lib/alf/algebra/operand/fake.rb,
lib/alf/engine/infer_heading.rb,
lib/alf/lang/object_oriented.rb,
lib/alf/predicate/nodes/expr.rb,
lib/alf/algebra/operand/named.rb,
lib/alf/engine/support/cesure.rb,
lib/alf/algebra/operator/rank.rb,
lib/alf/engine/summarize/hash.rb,
lib/alf/algebra/operand/proxy.rb,
lib/alf/algebra/operator/join.rb,
lib/alf/support/miscellaneous.rb,
lib/alf/algebra/operator/clip.rb,
lib/alf/algebra/operator/page.rb,
lib/alf/algebra/operator/sort.rb,
lib/alf/algebra/operator/wrap.rb,
lib/alf/engine/sort/in_memory.rb,
lib/alf/algebra/support/unary.rb,
lib/alf/algebra/operator/minus.rb,
lib/alf/algebra/support/binary.rb,
lib/alf/algebra/operator/image.rb,
lib/alf/algebra/operator/union.rb,
lib/alf/algebra/operator/frame.rb,
lib/alf/algebra/operator/group.rb,
lib/alf/predicate/nodes/native.rb,
lib/alf/types/tuple_expression.rb,
lib/alf/algebra/operator/quota.rb,
lib/alf/predicate/nodes/literal.rb,
lib/alf/algebra/support/nullary.rb,
lib/alf/lang/oo/algebra_methods.rb,
lib/alf/engine/summarize/cesure.rb,
lib/alf/algebra/operator/rename.rb,
lib/alf/engine/materialize/hash.rb,
lib/alf/algebra/shortcut/allbut.rb,
lib/alf/algebra/operator/coerce.rb,
lib/alf/algebra/support/visitor.rb,
lib/alf/algebra/operator/unwrap.rb,
lib/alf/types/tuple_computation.rb,
lib/alf/support/to_ruby_literal.rb,
lib/alf/algebra/operator/extend.rb,
lib/alf/algebra/operator/autonum.rb,
lib/alf/engine/materialize/array.rb,
lib/alf/algebra/operator/ungroup.rb,
lib/alf/algebra/support/rewriter.rb,
lib/alf/algebra/operator/project.rb,
lib/alf/algebra/support/compiler.rb,
lib/alf/algebra/operator/compact.rb,
lib/alf/predicate/nodes/tautology.rb,
lib/alf/algebra/operator/restrict.rb,
lib/alf/algebra/support/signature.rb,
lib/alf/adapter/folder/connection.rb,
lib/alf/algebra/operator/matching.rb,
lib/alf/algebra/operator/defaults.rb,
lib/alf/lang/oo/rendering_methods.rb,
lib/alf/adapter/memory/connection.rb,
lib/alf/predicate/nodes/identifier.rb,
lib/alf/algebra/support/type_check.rb,
lib/alf/predicate/nodes/nadic_bool.rb,
lib/alf/algebra/support/relational.rb,
lib/alf/algebra/operator/generator.rb,
lib/alf/algebra/operator/summarize.rb,
lib/alf/algebra/operator/intersect.rb,
lib/alf/predicate/nodes/dyadic_comp.rb,
lib/alf/lang/oo/aggregation_methods.rb,
lib/alf/algebra/support/experimental.rb,
lib/alf/predicate/processors/renamer.rb,
lib/alf/algebra/operator/hierarchize.rb,
lib/alf/algebra/operator/not_matching.rb,
lib/alf/algebra/support/with_ordering.rb,
lib/alf/predicate/nodes/contradiction.rb,
lib/alf/algebra/support/non_relational.rb,
lib/alf/algebra/support/classification.rb,
lib/alf/predicate/processors/qualifier.rb,
lib/alf/adapter/connection/schema_cached.rb,
lib/alf/predicate/processors/to_ruby_code.rb,
lib/alf/predicate/nodes/qualified_identifier.rb

Defined Under Namespace

Modules: Algebra, Core, Dsl, Engine, Facade, Lang, Relvar, Support, Types, Update, Viewpoint Classes: Adapter, Aggregator, CoercionError, Compiler, ConfigError, Database, Error, FactAssertionError, IllegalStateError, NoSuchRelvarError, NoSuchTupleError, NotSupportedError, Optimizer, Predicate, ReadOnlyError, Reader, Relation, Renderer, SecurityError, Tuple, TypeCheckError, UnboundError, UnsupportedMimeTypeError

Constant Summary collapse

TupleLike =
lambda{|t| t.is_a?(Hash) || t.is_a?(Tuple) }
RelationLike =
lambda{|r| Relation===r || Engine::Cog===r || Reader===r || Relvar===r }
DUM =
Relation::DUM
DEE =
Relation::DEE
Tools =

module Support

Support

Method Summary

Methods included from Facade

Heading, Relation, Tuple, connect, database, examples, examples_adapter, query, reader