OmniSciDB  a987f07e93
 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_text_encoding_dict
 
def is_array_text_encoding_dict
 
def is_column_text_encoding_dict
 
def is_column_list_text_encoding_dict
 
def is_column_array_text_encoding_dict
 
def is_any_text_encoding_dict
 
- Public Member Functions inherited from generate_TableFunctionsFactory_init.TypeNode
def is_array
 
def is_column_any
 
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 1177 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 1179 of file generate_TableFunctionsFactory_init.py.

1180  def __init__(self, type, inner):
1181  """
1182  Parameters
1183  ----------
1184  type : str
1185  inner : list[TypeNode]
1186  """
1187  self.type = type
1188  self.inner = inner

Member Function Documentation

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

Definition at line 1196 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.parser.extension.ddl.SqlValidateSystem.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.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, generate_TableFunctionsFactory_init.Declaration.type, JoinCondition.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.

1197  def __str__(self):
1198  i = ", ".join([str(i) for i in self.inner])
1199  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 1189 of file generate_TableFunctionsFactory_init.py.

1190  def accept(self, visitor):
1191  return visitor.visit_composed_node(self)
def generate_TableFunctionsFactory_init.ComposedNode.cursor_length (   self)

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

1193  def cursor_length(self):
1194  assert self.is_cursor()
1195  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 1219 of file generate_TableFunctionsFactory_init.py.

References generate_TableFunctionsFactory_init.ComposedNode.inner, generate_TableFunctionsFactory_init.ComposedNode.is_array_text_encoding_dict(), and generate_TableFunctionsFactory_init.ComposedNode.is_text_encoding_dict().

1220  def is_any_text_encoding_dict(self):
1221  return self.inner[0].is_text_encoding_dict() or self.inner[0].is_array_text_encoding_dict()

+ Here is the call graph for this function:

def generate_TableFunctionsFactory_init.ComposedNode.is_array_text_encoding_dict (   self)

Definition at line 1207 of file generate_TableFunctionsFactory_init.py.

References generate_TableFunctionsFactory_init.ComposedNode.inner, ddl_utils::SqlType.is_array, EmbeddedDatabase::ColumnDetails.is_array, heavydb.common.ttypes.TTypeInfo.is_array, generate_TableFunctionsFactory_init.Bracket.is_array(), generate_TableFunctionsFactory_init.TypeNode.is_array(), and generate_TableFunctionsFactory_init.ComposedNode.is_text_encoding_dict().

Referenced by generate_TableFunctionsFactory_init.ComposedNode.is_any_text_encoding_dict(), and generate_TableFunctionsFactory_init.ComposedNode.is_column_array_text_encoding_dict().

1208  def is_array_text_encoding_dict(self):
1209  return self.is_array() and self.inner[0].is_text_encoding_dict()

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def generate_TableFunctionsFactory_init.ComposedNode.is_column_array_text_encoding_dict (   self)

Definition at line 1216 of file generate_TableFunctionsFactory_init.py.

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

1218  return self.is_column() and self.inner[0].is_array_text_encoding_dict()

+ Here is the call graph for this function:

def generate_TableFunctionsFactory_init.ComposedNode.is_column_list_text_encoding_dict (   self)

Definition at line 1213 of file generate_TableFunctionsFactory_init.py.

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

1215  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 1210 of file generate_TableFunctionsFactory_init.py.

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

1211  def is_column_text_encoding_dict(self):
1212  return self.is_column() and self.inner[0].is_text_encoding_dict()

+ Here is the call graph for this function:

def generate_TableFunctionsFactory_init.ComposedNode.is_text_encoding_dict (   self)

Definition at line 1204 of file generate_TableFunctionsFactory_init.py.

Referenced by generate_TableFunctionsFactory_init.ComposedNode.is_any_text_encoding_dict(), generate_TableFunctionsFactory_init.ComposedNode.is_array_text_encoding_dict(), generate_TableFunctionsFactory_init.ComposedNode.is_column_list_text_encoding_dict(), and generate_TableFunctionsFactory_init.ComposedNode.is_column_text_encoding_dict().

1205  def is_text_encoding_dict(self):
1206  return False

+ Here is the caller graph for this function:

Member Data Documentation

generate_TableFunctionsFactory_init.ComposedNode.__repr__ = __str__
staticprivate

Definition at line 1222 of file generate_TableFunctionsFactory_init.py.

generate_TableFunctionsFactory_init.ComposedNode.inner

Definition at line 1187 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_array_text_encoding_dict(), generate_TableFunctionsFactory_init.ComposedNode.is_column_array_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 1186 of file generate_TableFunctionsFactory_init.py.


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