OmniSciDB  ca0c39ec8f
 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 1173 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 1175 of file generate_TableFunctionsFactory_init.py.

1176  def __init__(self, type, inner):
1177  """
1178  Parameters
1179  ----------
1180  type : str
1181  inner : list[TypeNode]
1182  """
1183  self.type = type
1184  self.inner = inner

Member Function Documentation

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

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

1193  def __str__(self):
1194  i = ", ".join([str(i) for i in self.inner])
1195  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 1185 of file generate_TableFunctionsFactory_init.py.

1186  def accept(self, visitor):
1187  return visitor.visit_composed_node(self)
def generate_TableFunctionsFactory_init.ComposedNode.cursor_length (   self)

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

1189  def cursor_length(self):
1190  assert self.is_cursor()
1191  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 1215 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().

1216  def is_any_text_encoding_dict(self):
1217  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 1203 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().

1204  def is_array_text_encoding_dict(self):
1205  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 1212 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().

1214  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 1209 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().

1211  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 1206 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().

1207  def is_column_text_encoding_dict(self):
1208  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 1200 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().

1201  def is_text_encoding_dict(self):
1202  return False

+ Here is the caller graph for this function:

Member Data Documentation

generate_TableFunctionsFactory_init.ComposedNode.__repr__ = __str__
staticprivate

Definition at line 1218 of file generate_TableFunctionsFactory_init.py.

generate_TableFunctionsFactory_init.ComposedNode.inner

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


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