Exemple #1
0
 def reduce_DESCRIBE_SchemaItem(self, *kids):
     """%reduce DESCRIBE SchemaItem DescribeFormat"""
     self.val = qlast.DescribeStmt(
         object=kids[1].val,
         language=kids[2].val.language,
         options=kids[2].val.options,
     )
Exemple #2
0
 def reduce_DESCRIBE_OBJECT(self, *kids):
     """%reduce DESCRIBE OBJECT NodeName DescribeFormat"""
     self.val = qlast.DescribeStmt(
         object=kids[2].val,
         language=kids[3].val.language,
         options=kids[3].val.options,
     )
Exemple #3
0
 def reduce_DESCRIBE_ROLES(self, *kids):
     """%reduce DESCRIBE ROLES DescribeFormat"""
     self.val = qlast.DescribeStmt(
         object=qlast.DescribeGlobal.Roles,
         language=kids[2].val.language,
         options=kids[2].val.options,
     )
Exemple #4
0
 def reduce_DESCRIBE_INSTANCE_CONFIG(self, *kids):
     """%reduce DESCRIBE INSTANCE CONFIG DescribeFormat"""
     self.val = qlast.DescribeStmt(
         object=qlast.DescribeGlobal.InstanceConfig,
         language=kids[3].val.language,
         options=kids[3].val.options,
     )
Exemple #5
0
 def reduce_DESCRIBE_CURRENT_DATABASE_CONFIG(self, *kids):
     """%reduce DESCRIBE CURRENT DATABASE CONFIG DescribeFormat"""
     self.val = qlast.DescribeStmt(
         object=qlast.DescribeGlobal.DatabaseConfig,
         language=kids[4].val.language,
         options=kids[4].val.options,
     )
Exemple #6
0
 def reduce_DESCRIBE_SCHEMA(self, *kids):
     """%reduce DESCRIBE SCHEMA DescribeFormat"""
     self.val = qlast.DescribeStmt(
         object=qlast.DescribeGlobal.Schema,
         language=kids[2].val.language,
         options=kids[2].val.options,
     )
Exemple #7
0
 def reduce_DESCRIBE_SYSTEM_CONFIG(self, *kids):
     """%reduce DESCRIBE SYSTEM CONFIG DescribeFormat"""
     self.val = qlast.DescribeStmt(
         object=qlast.DescribeGlobal.SystemConfig,
         language=kids[3].val.language,
         options=kids[3].val.options,
     )
Exemple #8
0
 def reduce_DESCRIBE_OBJECT(self, *kids):
     """%reduce DESCRIBE OBJECT NodeName DescribeFormat
                OptDescribeOptions
     """
     self.val = qlast.DescribeStmt(
         language=kids[3].val,
         object=kids[2].val,
         options=kids[4].val,
     )
Exemple #9
0
 def reduce_DESCRIBE_SchemaItem(self, *kids):
     """%reduce DESCRIBE SchemaItem DescribeFormat
                OptDescribeOptions
     """
     self.val = qlast.DescribeStmt(
         language=kids[2].val,
         object=kids[1].val,
         options=kids[3].val,
     )
Exemple #10
0
 def reduce_DESCRIBE_SCHEMA(self, *kids):
     """%reduce DESCRIBE SCHEMA DescribeFormat
                OptDescribeOptions
     """
     self.val = qlast.DescribeStmt(
         language=kids[2].val,
         object=None,
         options=kids[3].val,
     )