Package org.vitrivr.cottontail.grpc
Class CottontailGrpc.KnnHint
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.vitrivr.cottontail.grpc.CottontailGrpc.KnnHint
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,CottontailGrpc.KnnHintOrBuilder
- Enclosing class:
- CottontailGrpc
public static final class CottontailGrpc.KnnHint extends com.google.protobuf.GeneratedMessageV3 implements CottontailGrpc.KnnHintOrBuilder
A hint to the query planner for kNN queries.
Protobuf typeorg.vitrivr.cottontail.grpc.KnnHint- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCottontailGrpc.KnnHint.AllowInexactKnnHintProtobuf typeorg.vitrivr.cottontail.grpc.KnnHint.AllowInexactKnnHintstatic interfaceCottontailGrpc.KnnHint.AllowInexactKnnHintOrBuilderstatic classCottontailGrpc.KnnHint.BuilderA hint to the query planner for kNN queries.static classCottontailGrpc.KnnHint.HintCasestatic classCottontailGrpc.KnnHint.IndexNameKnnHintProtobuf typeorg.vitrivr.cottontail.grpc.KnnHint.IndexNameKnnHintstatic interfaceCottontailGrpc.KnnHint.IndexNameKnnHintOrBuilderstatic classCottontailGrpc.KnnHint.IndexTypeKnnHintProtobuf typeorg.vitrivr.cottontail.grpc.KnnHint.IndexTypeKnnHintstatic interfaceCottontailGrpc.KnnHint.IndexTypeKnnHintOrBuilderstatic classCottontailGrpc.KnnHint.NoIndexKnnHintProtobuf typeorg.vitrivr.cottontail.grpc.KnnHint.NoIndexKnnHintstatic interfaceCottontailGrpc.KnnHint.NoIndexKnnHintOrBuilderstatic classCottontailGrpc.KnnHint.ParallelKnnHintProtobuf typeorg.vitrivr.cottontail.grpc.KnnHint.ParallelKnnHintstatic interfaceCottontailGrpc.KnnHint.ParallelKnnHintOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALLOWINEXACTINDEXHINT_FIELD_NUMBERstatic intNAMEINDEXHINT_FIELD_NUMBERstatic intNOINDEXHINT_FIELD_NUMBERstatic intPARALLELINDEXHINT_FIELD_NUMBERstatic intTYPEINDEXHINT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)CottontailGrpc.KnnHint.AllowInexactKnnHintgetAllowInexactIndexHint().org.vitrivr.cottontail.grpc.KnnHint.AllowInexactKnnHint allowInexactIndexHint = 2;CottontailGrpc.KnnHint.AllowInexactKnnHintOrBuildergetAllowInexactIndexHintOrBuilder().org.vitrivr.cottontail.grpc.KnnHint.AllowInexactKnnHint allowInexactIndexHint = 2;static CottontailGrpc.KnnHintgetDefaultInstance()CottontailGrpc.KnnHintgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()CottontailGrpc.KnnHint.HintCasegetHintCase()CottontailGrpc.KnnHint.IndexNameKnnHintgetNameIndexHint().org.vitrivr.cottontail.grpc.KnnHint.IndexNameKnnHint nameIndexHint = 4;CottontailGrpc.KnnHint.IndexNameKnnHintOrBuildergetNameIndexHintOrBuilder().org.vitrivr.cottontail.grpc.KnnHint.IndexNameKnnHint nameIndexHint = 4;CottontailGrpc.KnnHint.NoIndexKnnHintgetNoIndexHint().org.vitrivr.cottontail.grpc.KnnHint.NoIndexKnnHint noIndexHint = 1;CottontailGrpc.KnnHint.NoIndexKnnHintOrBuildergetNoIndexHintOrBuilder().org.vitrivr.cottontail.grpc.KnnHint.NoIndexKnnHint noIndexHint = 1;CottontailGrpc.KnnHint.ParallelKnnHintgetParallelIndexHint().org.vitrivr.cottontail.grpc.KnnHint.ParallelKnnHint parallelIndexHint = 5;CottontailGrpc.KnnHint.ParallelKnnHintOrBuildergetParallelIndexHintOrBuilder().org.vitrivr.cottontail.grpc.KnnHint.ParallelKnnHint parallelIndexHint = 5;com.google.protobuf.Parser<CottontailGrpc.KnnHint>getParserForType()intgetSerializedSize()CottontailGrpc.KnnHint.IndexTypeKnnHintgetTypeIndexHint().org.vitrivr.cottontail.grpc.KnnHint.IndexTypeKnnHint typeIndexHint = 3;CottontailGrpc.KnnHint.IndexTypeKnnHintOrBuildergetTypeIndexHintOrBuilder().org.vitrivr.cottontail.grpc.KnnHint.IndexTypeKnnHint typeIndexHint = 3;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAllowInexactIndexHint().org.vitrivr.cottontail.grpc.KnnHint.AllowInexactKnnHint allowInexactIndexHint = 2;inthashCode()booleanhasNameIndexHint().org.vitrivr.cottontail.grpc.KnnHint.IndexNameKnnHint nameIndexHint = 4;booleanhasNoIndexHint().org.vitrivr.cottontail.grpc.KnnHint.NoIndexKnnHint noIndexHint = 1;booleanhasParallelIndexHint().org.vitrivr.cottontail.grpc.KnnHint.ParallelKnnHint parallelIndexHint = 5;booleanhasTypeIndexHint().org.vitrivr.cottontail.grpc.KnnHint.IndexTypeKnnHint typeIndexHint = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CottontailGrpc.KnnHint.BuildernewBuilder()static CottontailGrpc.KnnHint.BuildernewBuilder(CottontailGrpc.KnnHint prototype)CottontailGrpc.KnnHint.BuildernewBuilderForType()protected CottontailGrpc.KnnHint.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CottontailGrpc.KnnHintparseDelimitedFrom(java.io.InputStream input)static CottontailGrpc.KnnHintparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CottontailGrpc.KnnHintparseFrom(byte[] data)static CottontailGrpc.KnnHintparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CottontailGrpc.KnnHintparseFrom(com.google.protobuf.ByteString data)static CottontailGrpc.KnnHintparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CottontailGrpc.KnnHintparseFrom(com.google.protobuf.CodedInputStream input)static CottontailGrpc.KnnHintparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CottontailGrpc.KnnHintparseFrom(java.io.InputStream input)static CottontailGrpc.KnnHintparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CottontailGrpc.KnnHintparseFrom(java.nio.ByteBuffer data)static CottontailGrpc.KnnHintparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CottontailGrpc.KnnHint>parser()CottontailGrpc.KnnHint.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NOINDEXHINT_FIELD_NUMBER
public static final int NOINDEXHINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOWINEXACTINDEXHINT_FIELD_NUMBER
public static final int ALLOWINEXACTINDEXHINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPEINDEXHINT_FIELD_NUMBER
public static final int TYPEINDEXHINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAMEINDEXHINT_FIELD_NUMBER
public static final int NAMEINDEXHINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARALLELINDEXHINT_FIELD_NUMBER
public static final int PARALLELINDEXHINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getHintCase
public CottontailGrpc.KnnHint.HintCase getHintCase()
- Specified by:
getHintCasein interfaceCottontailGrpc.KnnHintOrBuilder
-
hasNoIndexHint
public boolean hasNoIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.NoIndexKnnHint noIndexHint = 1;- Specified by:
hasNoIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- Whether the noIndexHint field is set.
-
getNoIndexHint
public CottontailGrpc.KnnHint.NoIndexKnnHint getNoIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.NoIndexKnnHint noIndexHint = 1;- Specified by:
getNoIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- The noIndexHint.
-
getNoIndexHintOrBuilder
public CottontailGrpc.KnnHint.NoIndexKnnHintOrBuilder getNoIndexHintOrBuilder()
.org.vitrivr.cottontail.grpc.KnnHint.NoIndexKnnHint noIndexHint = 1;- Specified by:
getNoIndexHintOrBuilderin interfaceCottontailGrpc.KnnHintOrBuilder
-
hasAllowInexactIndexHint
public boolean hasAllowInexactIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.AllowInexactKnnHint allowInexactIndexHint = 2;- Specified by:
hasAllowInexactIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- Whether the allowInexactIndexHint field is set.
-
getAllowInexactIndexHint
public CottontailGrpc.KnnHint.AllowInexactKnnHint getAllowInexactIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.AllowInexactKnnHint allowInexactIndexHint = 2;- Specified by:
getAllowInexactIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- The allowInexactIndexHint.
-
getAllowInexactIndexHintOrBuilder
public CottontailGrpc.KnnHint.AllowInexactKnnHintOrBuilder getAllowInexactIndexHintOrBuilder()
.org.vitrivr.cottontail.grpc.KnnHint.AllowInexactKnnHint allowInexactIndexHint = 2;- Specified by:
getAllowInexactIndexHintOrBuilderin interfaceCottontailGrpc.KnnHintOrBuilder
-
hasTypeIndexHint
public boolean hasTypeIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.IndexTypeKnnHint typeIndexHint = 3;- Specified by:
hasTypeIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- Whether the typeIndexHint field is set.
-
getTypeIndexHint
public CottontailGrpc.KnnHint.IndexTypeKnnHint getTypeIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.IndexTypeKnnHint typeIndexHint = 3;- Specified by:
getTypeIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- The typeIndexHint.
-
getTypeIndexHintOrBuilder
public CottontailGrpc.KnnHint.IndexTypeKnnHintOrBuilder getTypeIndexHintOrBuilder()
.org.vitrivr.cottontail.grpc.KnnHint.IndexTypeKnnHint typeIndexHint = 3;- Specified by:
getTypeIndexHintOrBuilderin interfaceCottontailGrpc.KnnHintOrBuilder
-
hasNameIndexHint
public boolean hasNameIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.IndexNameKnnHint nameIndexHint = 4;- Specified by:
hasNameIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- Whether the nameIndexHint field is set.
-
getNameIndexHint
public CottontailGrpc.KnnHint.IndexNameKnnHint getNameIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.IndexNameKnnHint nameIndexHint = 4;- Specified by:
getNameIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- The nameIndexHint.
-
getNameIndexHintOrBuilder
public CottontailGrpc.KnnHint.IndexNameKnnHintOrBuilder getNameIndexHintOrBuilder()
.org.vitrivr.cottontail.grpc.KnnHint.IndexNameKnnHint nameIndexHint = 4;- Specified by:
getNameIndexHintOrBuilderin interfaceCottontailGrpc.KnnHintOrBuilder
-
hasParallelIndexHint
public boolean hasParallelIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.ParallelKnnHint parallelIndexHint = 5;- Specified by:
hasParallelIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- Whether the parallelIndexHint field is set.
-
getParallelIndexHint
public CottontailGrpc.KnnHint.ParallelKnnHint getParallelIndexHint()
.org.vitrivr.cottontail.grpc.KnnHint.ParallelKnnHint parallelIndexHint = 5;- Specified by:
getParallelIndexHintin interfaceCottontailGrpc.KnnHintOrBuilder- Returns:
- The parallelIndexHint.
-
getParallelIndexHintOrBuilder
public CottontailGrpc.KnnHint.ParallelKnnHintOrBuilder getParallelIndexHintOrBuilder()
.org.vitrivr.cottontail.grpc.KnnHint.ParallelKnnHint parallelIndexHint = 5;- Specified by:
getParallelIndexHintOrBuilderin interfaceCottontailGrpc.KnnHintOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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.KnnHint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.KnnHint parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.KnnHint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.KnnHint 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.KnnHint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.KnnHint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CottontailGrpc.KnnHint parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CottontailGrpc.KnnHint parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CottontailGrpc.KnnHint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CottontailGrpc.KnnHint parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CottontailGrpc.KnnHint parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CottontailGrpc.KnnHint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public CottontailGrpc.KnnHint.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CottontailGrpc.KnnHint.Builder newBuilder()
-
newBuilder
public static CottontailGrpc.KnnHint.Builder newBuilder(CottontailGrpc.KnnHint prototype)
-
toBuilder
public CottontailGrpc.KnnHint.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CottontailGrpc.KnnHint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CottontailGrpc.KnnHint getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CottontailGrpc.KnnHint> parser()
-
getParserForType
public com.google.protobuf.Parser<CottontailGrpc.KnnHint> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CottontailGrpc.KnnHint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-