Documentation ¶
Index ¶
Constants ¶
View Source
const KeySpace = "carepet"
View Source
const KeySpaceCQL = "" /* 149-byte string literal not displayed */
Variables ¶
View Source
var MeasureMetadata = table.Metadata{ Name: "measurement", Columns: []string{"sensor_id", "ts", "value"}, PartKey: []string{"sensor_id"}, SortKey: []string{"ts"}, }
View Source
var OwnerMetadata = table.Metadata{ Name: "owner", Columns: []string{"owner_id", "address", "name"}, PartKey: []string{"owner_id"}, SortKey: []string{}, }
View Source
var PetMetadata = table.Metadata{ Name: "pet", Columns: []string{"owner_id", "pet_id", "chip_id", "species", "breed", "color", "gender", "age", "weight", "address", "name"}, PartKey: []string{"owner_id"}, SortKey: []string{"pet_id"}, }
View Source
var SensorAvgMetadata = table.Metadata{ Name: "sensor_avg", Columns: []string{"sensor_id", "date", "hour", "value"}, PartKey: []string{"sensor_id"}, SortKey: []string{"date", "hour"}, }
View Source
var SensorMetadata = table.Metadata{ Name: "sensor", Columns: []string{"pet_id", "sensor_id", "type"}, PartKey: []string{"pet_id"}, SortKey: []string{"sensor_id"}, }
View Source
var TableMeasure = table.New(MeasureMetadata)
View Source
var TableOwner = table.New(OwnerMetadata)
View Source
var TablePet = table.New(PetMetadata)
View Source
var TableSensor = table.New(SensorMetadata)
View Source
var TableSensorAvg = table.New(SensorAvgMetadata)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.