OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
generate_TableFunctionsFactory_init.ComposedNode Class Reference
+ Inheritance diagram for generate_TableFunctionsFactory_init.ComposedNode:
+ Collaboration diagram for generate_TableFunctionsFactory_init.ComposedNode:

Public Member Functions

def __init__
 
def accept
 
def cursor_length
 
def __str__
 
def __iter__
 
def is_column_text_encoding_dict
 
def is_column_list_text_encoding_dict
 
def is_any_text_encoding_dict
 
- Public Member Functions inherited from generate_TableFunctionsFactory_init.TypeNode
def is_column
 
def is_column_list
 
def is_cursor
 
def is_output_buffer_sizer
 
- Public Member Functions inherited from generate_TableFunctionsFactory_init.Node
def accept
 
def __str__
 
def get_parent
 
def copy
 

Public Attributes

 type
 
 inner
 
- Public Attributes inherited from generate_TableFunctionsFactory_init.TypeNode
 type
 

Static Private Attributes

 __repr__ = __str__
 

Detailed Description

Definition at line 1056 of file generate_TableFunctionsFactory_init.py.

Constructor & Destructor Documentation

def generate_TableFunctionsFactory_init.ComposedNode.__init__ (   self,
  type,
  inner 
)
Parameters
----------
type : str
inner : list[TypeNode]

Definition at line 1058 of file generate_TableFunctionsFactory_init.py.

1059  def __init__(self, type, inner):
1060  """
1061  Parameters
1062  ----------
1063  type : str
1064  inner : list[TypeNode]
1065  """
1066  self.type = type
1067  self.inner = inner

Member Function Documentation

def generate_TableFunctionsFactory_init.ComposedNode.__iter__ (   self)
def generate_TableFunctionsFactory_init.ComposedNode.__str__ (   self)

Definition at line 1075 of file generate_TableFunctionsFactory_init.py.

References generate_TableFunctionsFactory_init.ComposedNode.inner, join(), com.mapd.parser.extension.ddl.omnisql.OmniSqlEncoding.type, com.mapd.parser.extension.ddl.omnisql.OmniSqlDataType.type, com.omnisci.jdbc.OmniSciArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.type, com.mapd.parser.extension.ddl.SqlValidateSystem.type, ConverterCreateParameter.type, com.mapd.parser.extension.ddl.SqlGrantPrivilege.type, com.mapd.parser.extension.ddl.SqlRevokePrivilege.type, foreign_storage::UserMapping.type, omnisci.completion_hints.ttypes.TCompletionHint.type, ColumnLazyFetchInfo.type, JoinCondition.type, generate_TableFunctionsFactory_init.Declaration.type, omnisci.common.ttypes.TTypeInfo.type, Function::NamedArg.type, generate_TableFunctionsFactory_init.Token.type, omnisci.serialized_result_set.ttypes.TTargetInfo.type, omnisci.serialized_result_set.ttypes.TCountDistinctSet.type, generate_TableFunctionsFactory_init.ArgNode.type, generate_TableFunctionsFactory_init.TypeNode.type, omnisci.thrift.ttypes.TColumnRange.type, omnisci.thrift.ttypes.TRenderDatum.type, and omnisci.thrift.OmniSci.get_db_object_privs_args.type.

1076  def __str__(self):
1077  i = ", ".join([str(i) for i in self.inner])
1078  return "Composed(%s<%s>)" % (self.type, i)
std::string join(T const &container, std::string const &delim)

+ Here is the call graph for this function:

def generate_TableFunctionsFactory_init.ComposedNode.accept (   self,
  visitor 
)

Definition at line 1068 of file generate_TableFunctionsFactory_init.py.

1069  def accept(self, visitor):
1070  return visitor.visit_composed_node(self)
def generate_TableFunctionsFactory_init.ComposedNode.cursor_length (   self)

Definition at line 1071 of file generate_TableFunctionsFactory_init.py.

References generate_TableFunctionsFactory_init.ComposedNode.inner, generate_TableFunctionsFactory_init.Bracket.is_cursor(), and generate_TableFunctionsFactory_init.TypeNode.is_cursor().

1072  def cursor_length(self):
1073  assert self.is_cursor()
1074  return len(self.inner)

+ Here is the call graph for this function:

def generate_TableFunctionsFactory_init.ComposedNode.is_any_text_encoding_dict (   self)

Definition at line 1089 of file generate_TableFunctionsFactory_init.py.

References generate_TableFunctionsFactory_init.ComposedNode.inner.

1090  def is_any_text_encoding_dict(self):
1091  return self.inner[0].is_text_encoding_dict()
def generate_TableFunctionsFactory_init.ComposedNode.is_column_list_text_encoding_dict (   self)

Definition at line 1086 of file generate_TableFunctionsFactory_init.py.

References generate_TableFunctionsFactory_init.ComposedNode.inner, generate_TableFunctionsFactory_init.Bracket.is_column_list(), and generate_TableFunctionsFactory_init.TypeNode.is_column_list().

1088  return self.is_column_list() and self.inner[0].is_text_encoding_dict()

+ Here is the call graph for this function:

def generate_TableFunctionsFactory_init.ComposedNode.is_column_text_encoding_dict (   self)

Definition at line 1083 of file generate_TableFunctionsFactory_init.py.

References generate_TableFunctionsFactory_init.ComposedNode.inner, generate_TableFunctionsFactory_init.Bracket.is_column(), and generate_TableFunctionsFactory_init.TypeNode.is_column().

1084  def is_column_text_encoding_dict(self):
1085  return self.is_column() and self.inner[0].is_text_encoding_dict()

+ Here is the call graph for this function:

Member Data Documentation

generate_TableFunctionsFactory_init.ComposedNode.__repr__ = __str__
staticprivate

Definition at line 1092 of file generate_TableFunctionsFactory_init.py.

generate_TableFunctionsFactory_init.ComposedNode.inner

Definition at line 1066 of file generate_TableFunctionsFactory_init.py.

Referenced by generate_TableFunctionsFactory_init.ComposedNode.__iter__(), generate_TableFunctionsFactory_init.ComposedNode.__str__(), generate_TableFunctionsFactory_init.ComposedNode.cursor_length(), generate_TableFunctionsFactory_init.ComposedNode.is_any_text_encoding_dict(), generate_TableFunctionsFactory_init.ComposedNode.is_column_list_text_encoding_dict(), and generate_TableFunctionsFactory_init.ComposedNode.is_column_text_encoding_dict().

generate_TableFunctionsFactory_init.ComposedNode.type

Definition at line 1065 of file generate_TableFunctionsFactory_init.py.


The documentation for this class was generated from the following file: