Kinetica   C#   API  Version 7.2.3.1
CreateMaterializedView.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica;
10 
25 {
29  public struct Options
30  {
38  public const string COLLECTION_NAME = "collection_name";
39 
41  public const string EXECUTE_AS = "execute_as";
42 
69  public const string BUILD_MATERIALIZED_VIEW_POLICY = "build_materialized_view_policy";
70 
73  public const string ALWAYS = "always";
74 
77  public const string LAZY = "lazy";
78 
80  public const string ON_DEMAND = "on_demand";
81 
84  public const string SYSTEM = "system";
85 
101  public const string PERSIST = "persist";
102 
103  public const string TRUE = "true";
104  public const string FALSE = "false";
105 
108  public const string REFRESH_SPAN = "refresh_span";
109 
116  public const string REFRESH_STOP_TIME = "refresh_stop_time";
117 
151  public const string REFRESH_METHOD = "refresh_method";
152 
157  public const string MANUAL = "manual";
158 
160  public const string ON_QUERY = "on_query";
161 
167  public const string ON_CHANGE = "on_change";
168 
171  public const string PERIODIC = "periodic";
172 
177  public const string REFRESH_PERIOD = "refresh_period";
178 
185  public const string REFRESH_START_TIME = "refresh_start_time";
186 
190  public const string TTL = "ttl";
191  } // end struct Options
192 
199  public string table_name { get; set; }
200 
355  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
356 
360 
526  IDictionary<string, string> options = null)
527  {
528  this.table_name = table_name ?? "";
529  this.options = options ?? new Dictionary<string, string>();
530  } // end constructor
531 } // end class CreateMaterializedViewRequest
532 
537 {
541  public struct Info
542  {
545  public const string QUALIFIED_TABLE_NAME = "qualified_table_name";
546  } // end struct Info
547 
551  public string table_name { get; set; }
552 
554  public string view_id { get; set; }
555 
567  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
568 } // end class CreateMaterializedViewResponse
A set of results returned by Kinetica.createMaterializedView.
const string MANUAL
Refresh only occurs when manually requested by calling Kinetica.alterTable with an 'action' of 'refre...
const string BUILD_MATERIALIZED_VIEW_POLICY
Sets startup materialized view rebuild scheme.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string table_name
Name of the table to be created that is the top-level table of the materialized view,...
const string QUALIFIED_TABLE_NAME
The fully qualified name of the result table (i.e.
const string ALWAYS
Rebuild as many materialized views as possible before accepting requests.
IDictionary< string, string > info
Additional information.
const string PERSIST
If TRUE, then the materialized view specified in table_name will be persisted and will not expire unl...
A set of string constants for the parameter info.
string table_name
Value of table_name.
const string ON_QUERY
Refresh any time the view is queried.
A set of string constants for the parameter options.
const string REFRESH_STOP_TIME
When REFRESH_METHOD is PERIODIC, specifies the time at which a periodic refresh is stopped.
const string PERIODIC
Refresh table periodically at rate specified by REFRESH_PERIOD.
const string REFRESH_START_TIME
When REFRESH_METHOD is PERIODIC, specifies the first time at which a refresh is to be done.
const string SYSTEM
Rebuild materialized views using the system-configured default.
const string REFRESH_METHOD
Method by which the join can be refreshed when the data in underlying member tables have changed.
const string COLLECTION_NAME
[DEPRECATED–please specify the containing schema for the materialized view as part of table_name and ...
const string TTL
Sets the TTL of the table specified in table_name.
CreateMaterializedViewRequest()
Constructs a CreateMaterializedViewRequest object with default parameters.
const string ON_CHANGE
If possible, incrementally refresh (refresh just those records added) whenever an insert,...
const string LAZY
Rebuild the necessary materialized views at start, and load the remainder lazily.
const string ON_DEMAND
Rebuild materialized views as requests use them.
const string REFRESH_SPAN
Sets the future time-offset(in seconds) at which periodic refresh stops.
const string EXECUTE_AS
User name to use to run the refresh job.
A set of parameters for Kinetica.createMaterializedView.
IDictionary< string, string > options
Optional parameters.
const string REFRESH_PERIOD
When REFRESH_METHOD is PERIODIC, specifies the period in seconds at which refresh occurs.
CreateMaterializedViewRequest(string table_name, IDictionary< string, string > options=null)
Constructs a CreateMaterializedViewRequest object with the specified parameters.