|
Kinetica C# API
Version 7.2.3.1
|
A set of parameters for Kinetica.createProjection. More...
Inheritance diagram for CreateProjectionRequest:
Collaboration diagram for CreateProjectionRequest:Classes | |
| struct | Options |
| A set of string constants for the parameter options. More... | |
Public Member Functions | |
| CreateProjectionRequest () | |
| Constructs a CreateProjectionRequest object with default parameters. More... | |
| CreateProjectionRequest (string table_name, string projection_name, IList< string > column_names, IDictionary< string, string > options=null) | |
| Constructs a CreateProjectionRequest object with the specified parameters. More... | |
Public Member Functions inherited from KineticaData | |
| KineticaData (KineticaType type) | |
| Constructor from Kinetica Type More... | |
| KineticaData (System.Type type=null) | |
| Default constructor, with optional System.Type More... | |
| object | Get (int fieldPos) |
| Retrieve a specific property from this object More... | |
| void | Put (int fieldPos, object fieldValue) |
| Write a specific property to this object More... | |
Properties | |
| string | table_name [get, set] |
| Name of the existing table on which the projection is to be applied, in [schema_name. More... | |
| string | projection_name [get, set] |
| Name of the projection to be created, in [schema_name. More... | |
| IList< string > | column_names = new List<string>() [get, set] |
| List of columns from table_name to be included in the projection. More... | |
| IDictionary< string, string > | options = new Dictionary<string, string>() [get, set] |
| Optional parameters. More... | |
Properties inherited from KineticaData | |
| Schema | Schema [get] |
| Avro Schema for this class More... | |
Properties inherited from Avro.Specific.ISpecificRecord | |
| Schema | Schema [get] |
Additional Inherited Members | |
Static Public Member Functions inherited from KineticaData | |
| static ? RecordSchema | SchemaFromType (System.Type t, KineticaType? ktype=null) |
| Create an Avro Schema from a System.Type and a KineticaType. More... | |
A set of parameters for Kinetica.createProjection.
Creates a new projection of an existing table. A projection represents a subset of the columns (potentially including derived columns) of a table.
For projection details and examples, see Projections. For limitations, see Projection Limitations and Cautions.
Window functions, which can perform operations like moving averages, are available through this endpoint as well as Kinetica.getRecordsByColumn.
A projection can be created with a different shard key than the source table. By specifying SHARD_KEY, the projection will be sharded according to the specified columns, regardless of how the source table is sharded. The source table can even be unsharded or replicated.
If table_name is empty, selection is performed against a single-row virtual table. This can be useful in executing temporal (NOW()), identity (USER()), or constant-based functions (GEODIST(-77.11, 38.88, -71.06, 42.36)).
Definition at line 41 of file CreateProjection.cs.
|
inline |
Constructs a CreateProjectionRequest object with default parameters.
Definition at line 689 of file CreateProjection.cs.
|
inline |
Constructs a CreateProjectionRequest object with the specified parameters.
| table_name | Name of the existing table on which the projection is to be applied, in [schema_name.]table_name format, using standard name resolution rules. An empty table name creates a projection from a single-row virtual table, where columns specified should be constants or constant expressions. |
| projection_name | Name of the projection to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. |
| column_names | List of columns from table_name to be included in the projection. Can include derived columns. Can be specified as aliased via the syntax 'column_name as alias'. |
| options | Optional parameters.
|
Definition at line 1036 of file CreateProjection.cs.
|
getset |
List of columns from table_name to be included in the projection.
Can include derived columns. Can be specified as aliased via the syntax 'column_name as alias'.
Definition at line 358 of file CreateProjection.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 685 of file CreateProjection.cs.
|
getset |
Name of the projection to be created, in [schema_name.
]table_name format, using standard name resolution rules and meeting table naming criteria.
Definition at line 352 of file CreateProjection.cs.
|
getset |
Name of the existing table on which the projection is to be applied, in [schema_name.
]table_name format, using standard name resolution rules.
An empty table name creates a projection from a single-row virtual table, where columns specified should be constants or constant expressions.
Definition at line 344 of file CreateProjection.cs.