Class: Veritas::SQL::Generator::Relation::Base

Inherits:
Unary show all
Defined in:
lib/veritas/sql/generator/relation/base.rb

Overview

Generates an SQL statement for a base relation

Constant Summary

Constants inherited from Unary

Unary::COLLAPSIBLE, Unary::DISTINCT

Constants included from Identifier

Identifier::ESCAPED_QUOTE, Identifier::QUOTE

Constants included from Literal

Literal::DATETIME_FORMAT, Literal::DATE_FORMAT, Literal::ESCAPED_QUOTE, Literal::FALSE, Literal::NULL, Literal::QUOTE, Literal::SEPARATOR, Literal::TIME_SCALE, Literal::TRUE

Constants included from Logic

Logic::AND, Logic::BETWEEN, Logic::EMPTY_ARRAY, Logic::EQUAL_TO, Logic::EQUAL_TO_NULL, Logic::GREATER_THAN, Logic::GREATER_THAN_OR_EQUAL_TO, Logic::IN, Logic::LESS_THAN, Logic::LESS_THAN_OR_EQUAL_TO, Logic::MATCH_ALL, Logic::MATCH_NONE, Logic::NOT_BETWEEN, Logic::NOT_EQUAL_TO, Logic::NOT_EQUAL_TO_NULL, Logic::NOT_IN, Logic::OR

Constants inherited from Veritas::SQL::Generator::Relation

ALL_COLUMNS, EMPTY_STRING, SEPARATOR

Constants inherited from Visitor

Visitor::DOUBLE_COLON, Visitor::NAME_REP, Visitor::NAME_SEP_REGEXP, Visitor::UNDERSCORE

Instance Attribute Summary

Attributes inherited from Veritas::SQL::Generator::Relation

#name

Method Summary

Methods inherited from Unary

#initialize, #to_s, #to_subquery, #visit_veritas_algebra_projection, #visit_veritas_algebra_rename, #visit_veritas_algebra_restriction, #visit_veritas_base_relation, #visit_veritas_relation_operation_limit, #visit_veritas_relation_operation_offset, #visit_veritas_relation_operation_order

Methods included from Direction

#visit_veritas_relation_operation_order_ascending, #visit_veritas_relation_operation_order_descending

Methods included from Attribute

#visit_veritas_attribute

Methods included from Identifier

#visit_identifier

Methods included from Literal

dup_frozen, #visit_class, #visit_date, #visit_date_time, #visit_enumerable, #visit_false_class, #visit_nil_class, #visit_numeric, #visit_string, #visit_time, #visit_true_class

Methods included from Logic

#visit_veritas_logic_connective_conjunction, #visit_veritas_logic_connective_disjunction, #visit_veritas_logic_connective_negation, #visit_veritas_logic_predicate_equality, #visit_veritas_logic_predicate_exclusion, #visit_veritas_logic_predicate_greater_than, #visit_veritas_logic_predicate_greater_than_or_equal_to, #visit_veritas_logic_predicate_inclusion, #visit_veritas_logic_predicate_inequality, #visit_veritas_logic_predicate_less_than, #visit_veritas_logic_predicate_less_than_or_equal_to, #visit_veritas_logic_proposition_contradiction, #visit_veritas_logic_proposition_tautology

Methods inherited from Veritas::SQL::Generator::Relation

#initialize, subquery, #to_sql, #visit, visit, #visited?

Methods inherited from Visitor

handler_for, #visit, #visited?

Constructor Details

This class inherits a constructor from Veritas::SQL::Generator::Relation::Unary