Package io.dingodb.common
Interface Common.LoadDiskAnnParamOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.LoadDiskAnnParam,Common.LoadDiskAnnParam.Builder
- Enclosing class:
- Common
public static interface Common.LoadDiskAnnParamOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleandeprecated index process internal automatic guessing.intWhile serving the index, the entire graph is stored on SSD.booleanWhether to warm up the index.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
-
getNumNodesToCache
int getNumNodesToCache()While serving the index, the entire graph is stored on SSD. For faster search performance, you can cache a few frequently accessed nodes in memory. (default is 0): required.
uint32 num_nodes_to_cache = 1;- Returns:
- The numNodesToCache.
-
getWarmup
boolean getWarmup()Whether to warm up the index. If true, the index will be loaded into memory and kept in memory for faster. (default is true): required.
bool warmup = 2;- Returns:
- The warmup.
-
getDirectLoadWithoutBuild
boolean getDirectLoadWithoutBuild()deprecated index process internal automatic guessing. if true, direct load without build index. default is false. Note: If it is true, do not call the import build interface, call load directly. If it is false, first import the data, then build, and then call load
bool direct_load_without_build = 3;- Returns:
- The directLoadWithoutBuild.
-