public static final class RiakKvPB.RpbIndexReq extends com.google.protobuf.GeneratedMessage implements RiakKvPB.RpbIndexReqOrBuilder
RpbIndexReq
Secondary Index query request
| Modifier and Type | Class and Description |
|---|---|
static class |
RiakKvPB.RpbIndexReq.Builder
Protobuf type
RpbIndexReq |
static class |
RiakKvPB.RpbIndexReq.IndexQueryType
Protobuf enum
RpbIndexReq.IndexQueryType |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
BUCKET_FIELD_NUMBER |
static int |
CONTINUATION_FIELD_NUMBER |
static int |
COVER_CONTEXT_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
MAX_RESULTS_FIELD_NUMBER |
static int |
PAGINATION_SORT_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakKvPB.RpbIndexReq> |
PARSER |
static int |
QTYPE_FIELD_NUMBER |
static int |
RANGE_MAX_FIELD_NUMBER |
static int |
RANGE_MIN_FIELD_NUMBER |
static int |
RETURN_BODY_FIELD_NUMBER |
static int |
RETURN_TERMS_FIELD_NUMBER |
static int |
STREAM_FIELD_NUMBER |
static int |
TERM_REGEX_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
com.google.protobuf.ByteString |
getContinuation()
optional bytes continuation = 10; |
com.google.protobuf.ByteString |
getCoverContext()
optional bytes cover_context = 15; |
static RiakKvPB.RpbIndexReq |
getDefaultInstance() |
RiakKvPB.RpbIndexReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getIndex()
required bytes index = 2; |
com.google.protobuf.ByteString |
getKey()
optional bytes key = 4; |
int |
getMaxResults()
optional uint32 max_results = 9; |
boolean |
getPaginationSort()
optional bool pagination_sort = 14; |
com.google.protobuf.Parser<RiakKvPB.RpbIndexReq> |
getParserForType() |
RiakKvPB.RpbIndexReq.IndexQueryType |
getQtype()
required .RpbIndexReq.IndexQueryType qtype = 3; |
com.google.protobuf.ByteString |
getRangeMax()
optional bytes range_max = 6; |
com.google.protobuf.ByteString |
getRangeMin()
optional bytes range_min = 5; |
boolean |
getReturnBody()
optional bool return_body = 16; |
boolean |
getReturnTerms()
optional bool return_terms = 7; |
int |
getSerializedSize() |
boolean |
getStream()
optional bool stream = 8; |
com.google.protobuf.ByteString |
getTermRegex()
optional bytes term_regex = 13; |
int |
getTimeout()
optional uint32 timeout = 11; |
com.google.protobuf.ByteString |
getType()
optional bytes type = 12; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBucket()
required bytes bucket = 1; |
boolean |
hasContinuation()
optional bytes continuation = 10; |
boolean |
hasCoverContext()
optional bytes cover_context = 15; |
boolean |
hasIndex()
required bytes index = 2; |
boolean |
hasKey()
optional bytes key = 4; |
boolean |
hasMaxResults()
optional uint32 max_results = 9; |
boolean |
hasPaginationSort()
optional bool pagination_sort = 14; |
boolean |
hasQtype()
required .RpbIndexReq.IndexQueryType qtype = 3; |
boolean |
hasRangeMax()
optional bytes range_max = 6; |
boolean |
hasRangeMin()
optional bytes range_min = 5; |
boolean |
hasReturnBody()
optional bool return_body = 16; |
boolean |
hasReturnTerms()
optional bool return_terms = 7; |
boolean |
hasStream()
optional bool stream = 8; |
boolean |
hasTermRegex()
optional bytes term_regex = 13; |
boolean |
hasTimeout()
optional uint32 timeout = 11; |
boolean |
hasType()
optional bytes type = 12; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakKvPB.RpbIndexReq.Builder |
newBuilder() |
static RiakKvPB.RpbIndexReq.Builder |
newBuilder(RiakKvPB.RpbIndexReq prototype) |
RiakKvPB.RpbIndexReq.Builder |
newBuilderForType() |
protected RiakKvPB.RpbIndexReq.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakKvPB.RpbIndexReq |
parseDelimitedFrom(InputStream input) |
static RiakKvPB.RpbIndexReq |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbIndexReq |
parseFrom(byte[] data) |
static RiakKvPB.RpbIndexReq |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbIndexReq |
parseFrom(com.google.protobuf.ByteString data) |
static RiakKvPB.RpbIndexReq |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbIndexReq |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakKvPB.RpbIndexReq |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbIndexReq |
parseFrom(InputStream input) |
static RiakKvPB.RpbIndexReq |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbIndexReq.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<RiakKvPB.RpbIndexReq> PARSER
public static final int BUCKET_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
public static final int QTYPE_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int RANGE_MIN_FIELD_NUMBER
public static final int RANGE_MAX_FIELD_NUMBER
public static final int RETURN_TERMS_FIELD_NUMBER
public static final int STREAM_FIELD_NUMBER
public static final int MAX_RESULTS_FIELD_NUMBER
public static final int CONTINUATION_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int TERM_REGEX_FIELD_NUMBER
public static final int PAGINATION_SORT_FIELD_NUMBER
public static final int COVER_CONTEXT_FIELD_NUMBER
public static final int RETURN_BODY_FIELD_NUMBER
public static RiakKvPB.RpbIndexReq getDefaultInstance()
public RiakKvPB.RpbIndexReq getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RiakKvPB.RpbIndexReq> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasBucket()
required bytes bucket = 1;hasBucket in interface RiakKvPB.RpbIndexReqOrBuilderpublic com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;getBucket in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasIndex()
required bytes index = 2;hasIndex in interface RiakKvPB.RpbIndexReqOrBuilderpublic com.google.protobuf.ByteString getIndex()
required bytes index = 2;getIndex in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasQtype()
required .RpbIndexReq.IndexQueryType qtype = 3;hasQtype in interface RiakKvPB.RpbIndexReqOrBuilderpublic RiakKvPB.RpbIndexReq.IndexQueryType getQtype()
required .RpbIndexReq.IndexQueryType qtype = 3;getQtype in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasKey()
optional bytes key = 4;
key here means equals value for index?
hasKey in interface RiakKvPB.RpbIndexReqOrBuilderpublic com.google.protobuf.ByteString getKey()
optional bytes key = 4;
key here means equals value for index?
getKey in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasRangeMin()
optional bytes range_min = 5;hasRangeMin in interface RiakKvPB.RpbIndexReqOrBuilderpublic com.google.protobuf.ByteString getRangeMin()
optional bytes range_min = 5;getRangeMin in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasRangeMax()
optional bytes range_max = 6;hasRangeMax in interface RiakKvPB.RpbIndexReqOrBuilderpublic com.google.protobuf.ByteString getRangeMax()
optional bytes range_max = 6;getRangeMax in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasReturnTerms()
optional bool return_terms = 7;hasReturnTerms in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean getReturnTerms()
optional bool return_terms = 7;getReturnTerms in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasStream()
optional bool stream = 8;hasStream in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean getStream()
optional bool stream = 8;getStream in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasMaxResults()
optional uint32 max_results = 9;hasMaxResults in interface RiakKvPB.RpbIndexReqOrBuilderpublic int getMaxResults()
optional uint32 max_results = 9;getMaxResults in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasContinuation()
optional bytes continuation = 10;hasContinuation in interface RiakKvPB.RpbIndexReqOrBuilderpublic com.google.protobuf.ByteString getContinuation()
optional bytes continuation = 10;getContinuation in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasTimeout()
optional uint32 timeout = 11;hasTimeout in interface RiakKvPB.RpbIndexReqOrBuilderpublic int getTimeout()
optional uint32 timeout = 11;getTimeout in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasType()
optional bytes type = 12;
Bucket type, if not set we assume the 'default' type
hasType in interface RiakKvPB.RpbIndexReqOrBuilderpublic com.google.protobuf.ByteString getType()
optional bytes type = 12;
Bucket type, if not set we assume the 'default' type
getType in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasTermRegex()
optional bytes term_regex = 13;hasTermRegex in interface RiakKvPB.RpbIndexReqOrBuilderpublic com.google.protobuf.ByteString getTermRegex()
optional bytes term_regex = 13;getTermRegex in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasPaginationSort()
optional bool pagination_sort = 14;
Whether to use pagination sort for non-paginated queries
hasPaginationSort in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean getPaginationSort()
optional bool pagination_sort = 14;
Whether to use pagination sort for non-paginated queries
getPaginationSort in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasCoverContext()
optional bytes cover_context = 15;
parallel extraction extension
hasCoverContext in interface RiakKvPB.RpbIndexReqOrBuilderpublic com.google.protobuf.ByteString getCoverContext()
optional bytes cover_context = 15;
parallel extraction extension
getCoverContext in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean hasReturnBody()
optional bool return_body = 16;
Return values with keys, only works with $bucket/$key index queries
hasReturnBody in interface RiakKvPB.RpbIndexReqOrBuilderpublic boolean getReturnBody()
optional bool return_body = 16;
Return values with keys, only works with $bucket/$key index queries
getReturnBody in interface RiakKvPB.RpbIndexReqOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static RiakKvPB.RpbIndexReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbIndexReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbIndexReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbIndexReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbIndexReq parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbIndexReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbIndexReq parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbIndexReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbIndexReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbIndexReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbIndexReq.Builder newBuilder()
public RiakKvPB.RpbIndexReq.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakKvPB.RpbIndexReq.Builder newBuilder(RiakKvPB.RpbIndexReq prototype)
public RiakKvPB.RpbIndexReq.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakKvPB.RpbIndexReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.