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

Public Member Functions

def __init__
 
def accept
 
def cursor_length
 
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
 
def is_column_of
 
def is_column_list_of
 
- Public Member Functions inherited from TableFunctionsFactory_node.TypeNode
def is_array
 
def is_column_any
 
def is_column
 
def is_column_list
 
def is_cursor
 
def is_output_buffer_sizer
 
def is_text_encoding_dict
 
def is_array_text_encoding_dict
 
def is_integer_scalar
 
def is_float_scalar
 
def is_boolean_scalar
 
def is_string_scalar
 
def is_scalar
 
- Public Member Functions inherited from TableFunctionsFactory_node.Node
def accept
 
def get_parent
 
def copy
 
- Public Member Functions inherited from TableFunctionsFactory_node.PrintNode
def __str__
 
def __repr__
 

Public Attributes

 type
 
 inner
 
- Public Attributes inherited from TableFunctionsFactory_node.TypeNode
 type
 

Detailed Description

Definition at line 197 of file TableFunctionsFactory_node.py.

Constructor & Destructor Documentation

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

Definition at line 199 of file TableFunctionsFactory_node.py.

200  def __init__(self, type, inner):
201  """
202  Parameters
203  ----------
204  type : str
205  inner : list[TypeNode]
206  """
207  self.type = type
208  self.inner = inner

Member Function Documentation

def TableFunctionsFactory_node.ComposedNode.__iter__ (   self)
def TableFunctionsFactory_node.ComposedNode.accept (   self,
  visitor 
)

Definition at line 209 of file TableFunctionsFactory_node.py.

Referenced by TableFunctionsFactory_node.PrintNode.__str__().

210  def accept(self, visitor):
211  return visitor.visit_composed_node(self)

+ Here is the caller graph for this function:

def TableFunctionsFactory_node.ComposedNode.cursor_length (   self)

Definition at line 212 of file TableFunctionsFactory_node.py.

References TableFunctionsFactory_node.ComposedNode.inner, TableFunctionsFactory_declbracket.Bracket.is_cursor(), and TableFunctionsFactory_node.TypeNode.is_cursor().

213  def cursor_length(self):
214  assert self.is_cursor()
215  return len(self.inner)

+ Here is the call graph for this function:

def TableFunctionsFactory_node.ComposedNode.is_any_text_encoding_dict (   self)

Definition at line 235 of file TableFunctionsFactory_node.py.

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

236  def is_any_text_encoding_dict(self):
237  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 TableFunctionsFactory_node.ComposedNode.is_array_text_encoding_dict (   self)

Definition at line 223 of file TableFunctionsFactory_node.py.

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

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

224  def is_array_text_encoding_dict(self):
225  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 TableFunctionsFactory_node.ComposedNode.is_column_array_text_encoding_dict (   self)

Definition at line 232 of file TableFunctionsFactory_node.py.

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

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

+ Here is the call graph for this function:

def TableFunctionsFactory_node.ComposedNode.is_column_list_of (   self,
  T 
)

Definition at line 241 of file TableFunctionsFactory_node.py.

References TableFunctionsFactory_node.ComposedNode.inner, TableFunctionsFactory_declbracket.Bracket.is_column_list(), and TableFunctionsFactory_node.TypeNode.is_column_list().

242  def is_column_list_of(self, T):
243  return self.is_column_list() and self.inner[0] == T
244 

+ Here is the call graph for this function:

def TableFunctionsFactory_node.ComposedNode.is_column_list_text_encoding_dict (   self)

Definition at line 229 of file TableFunctionsFactory_node.py.

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

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

+ Here is the call graph for this function:

def TableFunctionsFactory_node.ComposedNode.is_column_of (   self,
  T 
)

Definition at line 238 of file TableFunctionsFactory_node.py.

References TableFunctionsFactory_node.ComposedNode.inner, TableFunctionsFactory_declbracket.Bracket.is_column(), and TableFunctionsFactory_node.TypeNode.is_column().

239  def is_column_of(self, T):
240  return self.is_column() and self.inner[0] == T

+ Here is the call graph for this function:

def TableFunctionsFactory_node.ComposedNode.is_column_text_encoding_dict (   self)

Definition at line 226 of file TableFunctionsFactory_node.py.

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

228  return self.is_column() and self.inner[0].is_text_encoding_dict()

+ Here is the call graph for this function:

def TableFunctionsFactory_node.ComposedNode.is_text_encoding_dict (   self)

Definition at line 220 of file TableFunctionsFactory_node.py.

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

221  def is_text_encoding_dict(self):
222  return False

+ Here is the caller graph for this function:

Member Data Documentation

TableFunctionsFactory_node.ComposedNode.inner

Definition at line 207 of file TableFunctionsFactory_node.py.

Referenced by TableFunctionsFactory_node.ComposedNode.__iter__(), TableFunctionsFactory_node.ComposedNode.cursor_length(), TableFunctionsFactory_node.ComposedNode.is_any_text_encoding_dict(), TableFunctionsFactory_node.ComposedNode.is_array_text_encoding_dict(), TableFunctionsFactory_node.ComposedNode.is_column_array_text_encoding_dict(), TableFunctionsFactory_node.ComposedNode.is_column_list_of(), TableFunctionsFactory_node.ComposedNode.is_column_list_text_encoding_dict(), TableFunctionsFactory_node.ComposedNode.is_column_of(), and TableFunctionsFactory_node.ComposedNode.is_column_text_encoding_dict().

TableFunctionsFactory_node.ComposedNode.type

Definition at line 206 of file TableFunctionsFactory_node.py.

Referenced by TableFunctionsFactory_parser.Token.__str__().


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