Expand description

Data definition Language (DDL) Queries

This module contains other modules, types, traits and functions to use the DDL abilities of Skytable efficiently.

Example: creating tables

use skytable::ddl::{Ddl, Keymap, KeymapType};
use skytable::sync::Connection;

let mut con = Connection::new("127.0.0.1", 2003).unwrap();
let table = Keymap::new("mykeyspace:mytable")
    .set_ktype(KeymapType::Str)
    .set_vtype(KeymapType::Binstr);
con.create_table(table).unwrap();

Structs

A Keymap Model Table

Enums

Data types for the Keymap data model

A convenient representation for the whereami action

Traits

DDL queries that can be run on async socket connections

Any object that represents a table and that can be turned into a query

Ddlsync

DDL queries that can be run on a sync socket connections