Skip to content

Commit

Permalink
Protobuf changes for secondary indexes (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat authored Oct 3, 2024
1 parent 24d5995 commit 583497a
Show file tree
Hide file tree
Showing 6 changed files with 965 additions and 99 deletions.
147 changes: 97 additions & 50 deletions proto/client.pb.go

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions proto/client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ message PutRequest {
// If one or more sequence key are specified. The key will get added suffixes
// based on adding the delta to the current highest key with the same prefix
repeated uint64 sequence_key_delta = 7;

map<string, string> secondary_indexes = 8;
}

/**
Expand Down Expand Up @@ -361,6 +363,8 @@ message ListRequest {
string start_inclusive = 2;
// The end of the range, exclusive
string end_exclusive = 3;

optional string secondary_index_name = 4;
}

/**
Expand All @@ -382,6 +386,8 @@ message RangeScanRequest {
string start_inclusive = 2;
// The end of the range, exclusive
string end_exclusive = 3;

optional string secondary_index_name = 4;
}

/**
Expand Down
Loading

0 comments on commit 583497a

Please sign in to comment.