pub struct CreateProjectionRequest
pub table_name: String,
pub projection_name: String,
pub column_names: Vec<String>,
pub options: HashMap<String, String>,
The request payload for the /create/projection endpoint.
Create a projection of an existing table
Fields
table_name: StringName 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: StringName of the projection to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.
column_names: Vec<String>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: HashMap<String, String>Optional parameters.
Trait Implementations
impl Clone for CreateProjectionRequest
fn clone(&self) -> CreateProjectionRequest
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Debug for CreateProjectionRequest
impl Default for CreateProjectionRequest
impl<‘de> Deserialize<‘de> for CreateProjectionRequest
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
fn avro_schema(&self) -> &‘static str
fn use_compression() -> bool
KineticaOptions::use_snappy enabled. Read more