Package io.dingodb.diskann
Interface Diskann.VectorPushDataRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Diskann.VectorPushDataRequest,Diskann.VectorPushDataRequest.Builder
- Enclosing class:
- Diskann
public static interface Diskann.VectorPushDataRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe number of vectors already sent in this round of data transmission.getError()If an error occurs, cancel this round of data transmission.intIf an error occurs, cancel this round of data transmission.booleanIf true, force to load data even if file already exist.booleanIs there any data behind..dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;longgetTs()data versionlonggetTso()unique transaction idlonggetVectorIds(int index) vector idintvector idvector idlongvector index ID is equivalent to region_idgetVectors(int index) vector dataintvector datavector datagetVectorsOrBuilder(int index) vector dataList<? extends Common.VectorOrBuilder>vector databoolean.dingodb.pb.common.RequestInfo request_info = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRequestInfo
boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
Common.RequestInfo getRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- The requestInfo.
-
getRequestInfoOrBuilder
Common.RequestInfoOrBuilder getRequestInfoOrBuilder().dingodb.pb.common.RequestInfo request_info = 1; -
getVectorIndexId
long getVectorIndexId()vector index ID is equivalent to region_id
int64 vector_index_id = 2;- Returns:
- The vectorIndexId.
-
getVectorsList
List<Common.Vector> getVectorsList()vector data
repeated .dingodb.pb.common.Vector vectors = 3; -
getVectors
vector data
repeated .dingodb.pb.common.Vector vectors = 3; -
getVectorsCount
int getVectorsCount()vector data
repeated .dingodb.pb.common.Vector vectors = 3; -
getVectorsOrBuilderList
List<? extends Common.VectorOrBuilder> getVectorsOrBuilderList()vector data
repeated .dingodb.pb.common.Vector vectors = 3; -
getVectorsOrBuilder
vector data
repeated .dingodb.pb.common.Vector vectors = 3; -
getVectorIdsList
vector id
repeated int64 vector_ids = 4;- Returns:
- A list containing the vectorIds.
-
getVectorIdsCount
int getVectorIdsCount()vector id
repeated int64 vector_ids = 4;- Returns:
- The count of vectorIds.
-
getVectorIds
long getVectorIds(int index) vector id
repeated int64 vector_ids = 4;- Parameters:
index- The index of the element to return.- Returns:
- The vectorIds at the given index.
-
getHasMore
boolean getHasMore()Is there any data behind. ture : has data ; false : no data
bool has_more = 5;- Returns:
- The hasMore.
-
getErrorValue
int getErrorValue()If an error occurs, cancel this round of data transmission.
.dingodb.pb.error.Errno error = 6;- Returns:
- The enum numeric value on the wire for error.
-
getError
ErrorOuterClass.Errno getError()If an error occurs, cancel this round of data transmission.
.dingodb.pb.error.Errno error = 6;- Returns:
- The error.
-
getForceToLoadDataIfExist
boolean getForceToLoadDataIfExist()If true, force to load data even if file already exist.
bool force_to_load_data_if_exist = 7;- Returns:
- The forceToLoadDataIfExist.
-
getAlreadySendVectorCount
long getAlreadySendVectorCount()The number of vectors already sent in this round of data transmission. (Not including this)
int64 already_send_vector_count = 8;- Returns:
- The alreadySendVectorCount.
-
getTs
long getTs()data version
int64 ts = 9;- Returns:
- The ts.
-
getTso
long getTso()unique transaction id
int64 tso = 10;- Returns:
- The tso.
-