OmniSciDB  085a039ca4
 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 1120 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 1122 of file generate_TableFunctionsFactory_init.py.

1123  def __init__(self, type, inner):
1124  """
1125  Parameters
1126  ----------
1127  type : str
1128  inner : list[TypeNode]
1129  """
1130  self.type = type
1131  self.inner = inner

Member Function Documentation

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

Definition at line 1139 of file generate_TableFunctionsFactory_init.py.

References generate_TableFunctionsFactory_init.ComposedNode.inner, join(), com.mapd.parser.extension.ddl.heavysql.HeavySqlEncoding.type, com.mapd.parser.extension.ddl.heavysql.HeavySqlDataType.type, ai.heavy.jdbc.HeavyAIArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.type, com.mapd.parser.extension.ddl.SqlValidateSystem.type, com.mapd.parser.extension.ddl.SqlGrantPrivilege.type, com.mapd.parser.extension.ddl.SqlRevokePrivilege.type, ConverterCreateParameter.type, foreign_storage::UserMapping.type, heavydb.completion_hints.ttypes.TCompletionHint.type, ColumnLazyFetchInfo.type, JoinCondition.type, generate_TableFunctionsFactory_init.Declaration.type, heavydb.common.ttypes.TTypeInfo.type, Function::NamedArg.type, generate_TableFunctionsFactory_init.Token.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, generate_TableFunctionsFactory_init.ArgNode.type, generate_TableFunctionsFactory_init.TypeNode.type, heavydb.thrift.ttypes.TColumnRange.type, heavydb.thrift.ttypes.TRenderDatum.type, and heavydb.thrift.Heavy.get_db_object_privs_args.type.

1140  def __str__(self):
1141  i = ", ".join([str(i) for i in self.inner])
1142  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 1132 of file generate_TableFunctionsFactory_init.py.

1133  def accept(self, visitor):
1134  return visitor.visit_composed_node(self)
def generate_TableFunctionsFactory_init.ComposedNode.cursor_length (   self)

Definition at line 1135 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().

1136  def cursor_length(self):
1137  assert self.is_cursor()
1138  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 1153 of file generate_TableFunctionsFactory_init.py.

References generate_TableFunctionsFactory_init.ComposedNode.inner.

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

Definition at line 1150 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().

1152  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 1147 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().

1148  def is_column_text_encoding_dict(self):
1149  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 1156 of file generate_TableFunctionsFactory_init.py.

generate_TableFunctionsFactory_init.ComposedNode.inner

Definition at line 1130 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 1129 of file generate_TableFunctionsFactory_init.py.


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