Kinetica   C#   API  Version 7.2.3.0
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  {
39  public const string COLLECTION_NAME = "collection_name";
40 
42  public const string EXECUTE_AS = "execute_as";
43 
72  public const string BUILD_MATERIALIZED_VIEW_POLICY = "build_materialized_view_policy";
73 
76  public const string ALWAYS = "always";
77 
80  public const string LAZY = "lazy";
81 
84  public const string ON_DEMAND = "on_demand";
85 
88  public const string SYSTEM = "system";
89 
105  public const string PERSIST = "persist";
106 
107  public const string TRUE = "true";
108  public const string FALSE = "false";
109 
112  public const string REFRESH_SPAN = "refresh_span";
113 
120  public const string REFRESH_STOP_TIME = "refresh_stop_time";
121 
159  public const string REFRESH_METHOD = "refresh_method";
160 
165  public const string MANUAL = "manual";
166 
168  public const string ON_QUERY = "on_query";
169 
175  public const string ON_CHANGE = "on_change";
176 
179  public const string PERIODIC = "periodic";
180 
185  public const string REFRESH_PERIOD = "refresh_period";
186 
193  public const string REFRESH_START_TIME = "refresh_start_time";
194 
198  public const string TTL = "ttl";
199  } // end struct Options
200 
208  public string table_name { get; set; }
209 
372  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
373 
377 
552  IDictionary<string, string> options = null)
553  {
554  this.table_name = table_name ?? "";
555  this.options = options ?? new Dictionary<string, string>();
556  } // end constructor
557  } // end class CreateMaterializedViewRequest
558 
563  {
567  public struct Info
568  {
571  public const string QUALIFIED_TABLE_NAME = "qualified_table_name";
572  } // end struct Info
573 
577  public string table_name { get; set; }
578 
580  public string view_id { get; set; }
581 
593  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
594  } // end class CreateMaterializedViewResponse
595 } // end namespace kinetica
A set of string constants for the parameter options.
const string BUILD_MATERIALIZED_VIEW_POLICY
Sets startup materialized view rebuild scheme.
const string PERIODIC
Refresh table periodically at rate specified by REFRESH_PERIOD
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
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.
const string REFRESH_PERIOD
When REFRESH_METHOD is PERIODIC, specifies the period in seconds at which refresh occurs
IDictionary< string, string > options
Optional parameters.
A set of parameters for Kinetica.createMaterializedView.
const string TTL
Sets the TTL of the table specified in table_name.
const string REFRESH_METHOD
Method by which the join can be refreshed when the data in underlying member tables have changed.
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.
A set of string constants for the parameter info.
const string REFRESH_START_TIME
When REFRESH_METHOD is PERIODIC, specifies the first time at which a refresh is to be done.
string table_name
Name of the table to be created that is the top-level table of the materialized view,...
const string SYSTEM
Rebuild materialized views using the system-configured default.
A set of results returned by Kinetica.createMaterializedView.
const string REFRESH_STOP_TIME
When REFRESH_METHOD is PERIODIC, specifies the time at which a periodic refresh is stopped.
CreateMaterializedViewRequest(string table_name, IDictionary< string, string > options=null)
Constructs a CreateMaterializedViewRequest object with the specified parameters.
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 PERSIST
If TRUE, then the materialized view specified in table_name will be persisted and will not expire unl...
const string ON_QUERY
Refresh any time the view is queried.
const string COLLECTION_NAME
[DEPRECATED–please specify the containing schema for the materialized view as part of table_name and ...
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > info
Additional information.
const string MANUAL
Refresh only occurs when manually requested by calling Kinetica.alterTable with an 'action' of 'refre...