OmniSciDB
a5dc49c757
|
Public Member Functions | |
def | __init__ |
def | name |
def | args |
def | format_sizer |
def | __repr__ |
def | __str__ |
def | tostring |
def | apply_column |
def | apply_namespace |
def | get_cpp_type |
def | format_cpp_type |
def | __getattr__ |
Public Attributes | |
type | |
annotations | |
Holds a `TYPE | ANNOTATIONS`-like structure.
Definition at line 4 of file TableFunctionsFactory_declbracket.py.
def TableFunctionsFactory_declbracket.Declaration.__init__ | ( | self, | |
type, | |||
annotations = [] |
|||
) |
Definition at line 7 of file TableFunctionsFactory_declbracket.py.
def TableFunctionsFactory_declbracket.Declaration.__getattr__ | ( | self, | |
name | |||
) |
Definition at line 49 of file TableFunctionsFactory_declbracket.py.
References TableFunctionsFactory_declbracket.Declaration.type, 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, JoinCondition.type, heavydb.common.ttypes.TTypeInfo.type, Function::NamedArg.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, heavydb.thrift.ttypes.TColumnRange.type, heavydb.thrift.ttypes.TRenderDatum.type, and heavydb.thrift.Heavy.get_db_object_privs_args.type.
def TableFunctionsFactory_declbracket.Declaration.__repr__ | ( | self | ) |
Definition at line 22 of file TableFunctionsFactory_declbracket.py.
References TableFunctionsFactory_declbracket.Declaration.annotations, heavydb.extension_functions.ttypes.TUserDefinedFunction.annotations, heavydb.extension_functions.ttypes.TUserDefinedTableFunction.annotations, com.mapd.parser.server.ExtensionFunction.annotations, TableFunctionsFactory_declbracket.Declaration.type, 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, JoinCondition.type, heavydb.common.ttypes.TTypeInfo.type, Function::NamedArg.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, heavydb.thrift.ttypes.TColumnRange.type, heavydb.thrift.ttypes.TRenderDatum.type, and heavydb.thrift.Heavy.get_db_object_privs_args.type.
def TableFunctionsFactory_declbracket.Declaration.__str__ | ( | self | ) |
Definition at line 25 of file TableFunctionsFactory_declbracket.py.
References TableFunctionsFactory_declbracket.Declaration.annotations, heavydb.extension_functions.ttypes.TUserDefinedFunction.annotations, heavydb.extension_functions.ttypes.TUserDefinedTableFunction.annotations, com.mapd.parser.server.ExtensionFunction.annotations, join(), TableFunctionsFactory_declbracket.Declaration.type, 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, JoinCondition.type, heavydb.common.ttypes.TTypeInfo.type, Function::NamedArg.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, heavydb.thrift.ttypes.TColumnRange.type, heavydb.thrift.ttypes.TRenderDatum.type, and heavydb.thrift.Heavy.get_db_object_privs_args.type.
def TableFunctionsFactory_declbracket.Declaration.apply_column | ( | self | ) |
Definition at line 33 of file TableFunctionsFactory_declbracket.py.
References TableFunctionsFactory_declbracket.Declaration.annotations, heavydb.extension_functions.ttypes.TUserDefinedFunction.annotations, heavydb.extension_functions.ttypes.TUserDefinedTableFunction.annotations, and com.mapd.parser.server.ExtensionFunction.annotations.
def TableFunctionsFactory_declbracket.Declaration.apply_namespace | ( | self, | |
ns = 'ExtArgumentType' |
|||
) |
Definition at line 36 of file TableFunctionsFactory_declbracket.py.
References TableFunctionsFactory_declbracket.Declaration.annotations, heavydb.extension_functions.ttypes.TUserDefinedFunction.annotations, heavydb.extension_functions.ttypes.TUserDefinedTableFunction.annotations, and com.mapd.parser.server.ExtensionFunction.annotations.
def TableFunctionsFactory_declbracket.Declaration.args | ( | self | ) |
Definition at line 16 of file TableFunctionsFactory_declbracket.py.
def TableFunctionsFactory_declbracket.Declaration.format_cpp_type | ( | self, | |
idx, | |||
use_generic_arg_name = False , |
|||
is_input = True |
|||
) |
Definition at line 42 of file TableFunctionsFactory_declbracket.py.
References TableFunctionsFactory_declbracket.Declaration.annotations, heavydb.extension_functions.ttypes.TUserDefinedFunction.annotations, heavydb.extension_functions.ttypes.TUserDefinedTableFunction.annotations, and com.mapd.parser.server.ExtensionFunction.annotations.
def TableFunctionsFactory_declbracket.Declaration.format_sizer | ( | self | ) |
Definition at line 19 of file TableFunctionsFactory_declbracket.py.
def TableFunctionsFactory_declbracket.Declaration.get_cpp_type | ( | self | ) |
Definition at line 39 of file TableFunctionsFactory_declbracket.py.
Referenced by TableFunctionsFactory_declbracket.Bracket.format_cpp_type().
def TableFunctionsFactory_declbracket.Declaration.name | ( | self | ) |
Definition at line 12 of file TableFunctionsFactory_declbracket.py.
def TableFunctionsFactory_declbracket.Declaration.tostring | ( | self | ) |
Definition at line 30 of file TableFunctionsFactory_declbracket.py.
TableFunctionsFactory_declbracket.Declaration.annotations |
Definition at line 9 of file TableFunctionsFactory_declbracket.py.
Referenced by TableFunctionsFactory_node.UdtfNode.__iter__(), TableFunctionsFactory_node.ArgNode.__iter__(), TableFunctionsFactory_declbracket.Declaration.__repr__(), TableFunctionsFactory_declbracket.Declaration.__str__(), TableFunctionsFactory_declbracket.Declaration.apply_column(), TableFunctionsFactory_declbracket.Declaration.apply_namespace(), TableFunctionsFactory_declbracket.Declaration.format_cpp_type(), TableFunctionsFactory_node.ArgNode.get_annotation(), and TableFunctionsFactory_node.ArgNode.set_annotation().
TableFunctionsFactory_declbracket.Declaration.type |
Definition at line 8 of file TableFunctionsFactory_declbracket.py.
Referenced by TableFunctionsFactory_node.PrimitiveNode.__eq__(), TableFunctionsFactory_declbracket.Declaration.__getattr__(), TableFunctionsFactory_node.ArgNode.__iter__(), TableFunctionsFactory_declbracket.Declaration.__repr__(), TableFunctionsFactory_declbracket.Declaration.__str__(), TableFunctionsFactory_parser.Token.__str__(), TableFunctionsFactory_node.TypeNode.is_array_text_encoding_dict(), TableFunctionsFactory_node.TypeNode.is_column(), TableFunctionsFactory_node.TypeNode.is_column_list(), TableFunctionsFactory_node.TypeNode.is_cursor(), TableFunctionsFactory_node.TypeNode.is_output_buffer_sizer(), TableFunctionsFactory_node.TypeNode.is_string_scalar(), and TableFunctionsFactory_node.TypeNode.is_text_encoding_dict().