7 using System.Collections.Generic;
12 public class ShowFunctionsRequest : KineticaData
16 public const string PROPERTIES =
"properties";
17 public const string SHOW_SCALAR_FUNCTIONS =
"show_scalar_functions";
18 public const string TRUE =
"true";
19 public const string FALSE =
"false";
20 public const string SHOW_AGGREGATE_FUNCTIONS =
"show_aggregate_functions";
21 public const string SHOW_SQL_PROCEDURES =
"show_sql_procedures";
22 public const string SHOW_USER_DEFINED_FUNCTIONS =
"show_user_defined_functions";
23 public const string SHOW_CAST_FUNCTIONS =
"show_cast_functions";
26 public IList<string> names {
get;
set; } =
new List<string>();
27 public IDictionary<string, string> options {
get;
set; } =
new Dictionary<string, string>();
29 public ShowFunctionsRequest() { }
31 public ShowFunctionsRequest( IList<string> names,
32 IDictionary<string, string> options =
null)
34 this.names = names ??
new List<string>();
35 this.options = options ??
new Dictionary<string, string>();
41 public class ShowFunctionsResponse : KineticaData
45 public const string SCALAR =
"scalar";
46 public const string AGGREGATE =
"aggregate";
47 public const string SQL =
"sql";
48 public const string UDF =
"udf";
49 public const string CAST =
"cast";
50 public const string NONDETERMINISTIC =
"nondeterministic";
53 public IList<string> function_names {
get;
set; } =
new List<string>();
54 public IList<string> return_types {
get;
set; } =
new List<string>();
55 public IList<IList<string>> parameters {
get;
set; } =
new List<IList<string>>();
56 public IList<int> optional_parameter_count {
get;
set; } =
new List<int>();
57 public IList<int> flags {
get;
set; } =
new List<int>();
58 public IList<string> type_schemas {
get;
set; } =
new List<string>();
59 public IList<IDictionary<string, IList<string>>> properties {
get;
set; } =
new List<IDictionary<string, IList<string>>>();
60 public IDictionary<string, string> info {
get;
set; } =
new Dictionary<string, string>();