Package org.vitrivr.cottontail.grpc
Class CottontailGrpc.Query
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.vitrivr.cottontail.grpc.CottontailGrpc.Query
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,CottontailGrpc.QueryOrBuilder
- Enclosing class:
- CottontailGrpc
public static final class CottontailGrpc.Query
extends com.google.protobuf.GeneratedMessageV3
implements CottontailGrpc.QueryOrBuilder
A simple query.Protobuf type
org.vitrivr.cottontail.grpc.Query- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final CottontailGrpc.Queryprivate CottontailGrpc.Fromstatic final intprivate longstatic final intprivate byteprivate CottontailGrpc.Orderstatic final intprivate static final com.google.protobuf.Parser<CottontailGrpc.Query>private CottontailGrpc.Projectionstatic final intprivate static final longprivate longstatic final intprivate CottontailGrpc.Wherestatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CottontailGrpc.Querystatic final com.google.protobuf.Descriptors.DescriptorgetFrom().org.vitrivr.cottontail.grpc.From from = 1;.org.vitrivr.cottontail.grpc.From from = 1;longgetLimit()Size of the result-set (default: unlimited).getOrder().org.vitrivr.cottontail.grpc.Order order = 4;.org.vitrivr.cottontail.grpc.Order order = 4;com.google.protobuf.Parser<CottontailGrpc.Query>.org.vitrivr.cottontail.grpc.Projection projection = 2;.org.vitrivr.cottontail.grpc.Projection projection = 2;intlonggetSkip()Number of records to skip.getWhere().org.vitrivr.cottontail.grpc.Where where = 3;.org.vitrivr.cottontail.grpc.Where where = 3;booleanhasFrom().org.vitrivr.cottontail.grpc.From from = 1;inthashCode()booleanhasOrder().org.vitrivr.cottontail.grpc.Order order = 4;boolean.org.vitrivr.cottontail.grpc.Projection projection = 2;booleanhasWhere().org.vitrivr.cottontail.grpc.Where where = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic CottontailGrpc.Query.Builderstatic CottontailGrpc.Query.BuildernewBuilder(CottontailGrpc.Query prototype) protected CottontailGrpc.Query.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CottontailGrpc.QueryparseDelimitedFrom(InputStream input) static CottontailGrpc.QueryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CottontailGrpc.QueryparseFrom(byte[] data) static CottontailGrpc.QueryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CottontailGrpc.QueryparseFrom(com.google.protobuf.ByteString data) static CottontailGrpc.QueryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CottontailGrpc.QueryparseFrom(com.google.protobuf.CodedInputStream input) static CottontailGrpc.QueryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CottontailGrpc.QueryparseFrom(InputStream input) static CottontailGrpc.QueryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CottontailGrpc.QueryparseFrom(ByteBuffer data) static CottontailGrpc.QueryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CottontailGrpc.Query>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
FROM_FIELD_NUMBER
public static final int FROM_FIELD_NUMBER- See Also:
-
from_
-
PROJECTION_FIELD_NUMBER
public static final int PROJECTION_FIELD_NUMBER- See Also:
-
projection_
-
WHERE_FIELD_NUMBER
public static final int WHERE_FIELD_NUMBER- See Also:
-
where_
-
ORDER_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER- See Also:
-
order_
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER- See Also:
-
limit_
private long limit_ -
SKIP_FIELD_NUMBER
public static final int SKIP_FIELD_NUMBER- See Also:
-
skip_
private long skip_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
Query
private Query(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) -
Query
private Query()
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasFrom
public boolean hasFrom().org.vitrivr.cottontail.grpc.From from = 1;- Specified by:
hasFromin interfaceCottontailGrpc.QueryOrBuilder- Returns:
- Whether the from field is set.
-
getFrom
.org.vitrivr.cottontail.grpc.From from = 1;- Specified by:
getFromin interfaceCottontailGrpc.QueryOrBuilder- Returns:
- The from.
-
getFromOrBuilder
.org.vitrivr.cottontail.grpc.From from = 1;- Specified by:
getFromOrBuilderin interfaceCottontailGrpc.QueryOrBuilder
-
hasProjection
public boolean hasProjection().org.vitrivr.cottontail.grpc.Projection projection = 2;- Specified by:
hasProjectionin interfaceCottontailGrpc.QueryOrBuilder- Returns:
- Whether the projection field is set.
-
getProjection
.org.vitrivr.cottontail.grpc.Projection projection = 2;- Specified by:
getProjectionin interfaceCottontailGrpc.QueryOrBuilder- Returns:
- The projection.
-
getProjectionOrBuilder
.org.vitrivr.cottontail.grpc.Projection projection = 2;- Specified by:
getProjectionOrBuilderin interfaceCottontailGrpc.QueryOrBuilder
-
hasWhere
public boolean hasWhere().org.vitrivr.cottontail.grpc.Where where = 3;- Specified by:
hasWherein interfaceCottontailGrpc.QueryOrBuilder- Returns:
- Whether the where field is set.
-
getWhere
.org.vitrivr.cottontail.grpc.Where where = 3;- Specified by:
getWherein interfaceCottontailGrpc.QueryOrBuilder- Returns:
- The where.
-
getWhereOrBuilder
.org.vitrivr.cottontail.grpc.Where where = 3;- Specified by:
getWhereOrBuilderin interfaceCottontailGrpc.QueryOrBuilder
-
hasOrder
public boolean hasOrder().org.vitrivr.cottontail.grpc.Order order = 4;- Specified by:
hasOrderin interfaceCottontailGrpc.QueryOrBuilder- Returns:
- Whether the order field is set.
-
getOrder
.org.vitrivr.cottontail.grpc.Order order = 4;- Specified by:
getOrderin interfaceCottontailGrpc.QueryOrBuilder- Returns:
- The order.
-
getOrderOrBuilder
.org.vitrivr.cottontail.grpc.Order order = 4;- Specified by:
getOrderOrBuilderin interfaceCottontailGrpc.QueryOrBuilder
-
getLimit
public long getLimit()Size of the result-set (default: unlimited).
uint64 limit = 5;- Specified by:
getLimitin interfaceCottontailGrpc.QueryOrBuilder- Returns:
- The limit.
-
getSkip
public long getSkip()Number of records to skip.
uint64 skip = 6;- Specified by:
getSkipin interfaceCottontailGrpc.QueryOrBuilder- Returns:
- The skip.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CottontailGrpc.Query parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.Query parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.Query parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.Query parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.Query parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.Query parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CottontailGrpc.Query parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CottontailGrpc.Query parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CottontailGrpc.Query parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CottontailGrpc.Query parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CottontailGrpc.Query.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-