This commit is contained in:
Sugu Sougoumarane 2016-05-20 09:56:05 -07:00
Родитель 74295d38a0
Коммит 1b1ec26f2f
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -63,7 +63,7 @@ type Vindex struct {
// (or plugged in) vindex names. // (or plugged in) vindex names.
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
// params is a map of attribute value pairs // params is a map of attribute value pairs
// that must be dedfined as required by the // that must be defined as required by the
// vindex constructors. The values can only // vindex constructors. The values can only
// be strings. // be strings.
Params map[string]string `protobuf:"bytes,2,rep,name=params" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` Params map[string]string `protobuf:"bytes,2,rep,name=params" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
@ -89,7 +89,7 @@ func (m *Vindex) GetParams() map[string]string {
// Table is the table info for a Keyspace. // Table is the table info for a Keyspace.
type Table struct { type Table struct {
// If the table is a sequence, type must be // If the table is a sequence, type must be
// "Sequence". Otherwise, it should be empty. // "sequence". Otherwise, it should be empty.
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
// column_vindexes associates columns to vindexes. // column_vindexes associates columns to vindexes.
ColumnVindexes []*ColumnVindex `protobuf:"bytes,2,rep,name=column_vindexes,json=columnVindexes" json:"column_vindexes,omitempty"` ColumnVindexes []*ColumnVindex `protobuf:"bytes,2,rep,name=column_vindexes,json=columnVindexes" json:"column_vindexes,omitempty"`

Просмотреть файл

@ -18,7 +18,7 @@ message Vindex {
// (or plugged in) vindex names. // (or plugged in) vindex names.
string type = 1; string type = 1;
// params is a map of attribute value pairs // params is a map of attribute value pairs
// that must be dedfined as required by the // that must be defined as required by the
// vindex constructors. The values can only // vindex constructors. The values can only
// be strings. // be strings.
map<string, string> params = 2; map<string, string> params = 2;