public class Index extends Object
构造器和说明 |
---|
Index() |
Index(String collectionName,
String indexName,
VectorIndexParams vectorIndex,
List<String> scalarIndex,
String stat,
VikingDBService vikingDBService) |
限定符和类型 | 方法和说明 |
---|---|
List<DataObject> |
fetchData(List<?> ids,
FetchDataParam fetchDataParam) |
<T> DataObject |
fetchData(T id,
FetchDataParam fetchDataParam) |
List<DataObject> |
getDatas(com.google.gson.internal.LinkedTreeMap<String,Object> resData,
List<String> outputFields) |
String |
requestPrimaryKey() |
List<DataObject> |
search(SearchParam searchParam) |
List<DataObject> |
searchById(SearchByIdParam searchByIdParam) |
List<DataObject> |
searchByText(SearchByTextParam searchByTextParam) |
List<DataObject> |
searchByVector(SearchByVectorParam searchByVectorParam) |
void |
setCpuQuota(Integer cpuQuota) |
void |
setCpuQuota(Long cpuQuota) |
void |
setShardCount(Integer shardCount) |
void |
setShardCount(Long shardCount) |
void |
setShardPolicy(String shardPolicy) |
public Index()
public Index(String collectionName, String indexName, VectorIndexParams vectorIndex, List<String> scalarIndex, String stat, VikingDBService vikingDBService)
public void setCpuQuota(Integer cpuQuota)
public void setCpuQuota(Long cpuQuota)
public void setShardCount(Integer shardCount)
public void setShardCount(Long shardCount)
public void setShardPolicy(String shardPolicy)
public List<DataObject> search(SearchParam searchParam) throws Exception
Exception
public List<DataObject> searchById(SearchByIdParam searchByIdParam) throws Exception
Exception
public List<DataObject> searchByVector(SearchByVectorParam searchByVectorParam) throws Exception
Exception
public List<DataObject> searchByText(SearchByTextParam searchByTextParam) throws Exception
Exception
public <T> DataObject fetchData(T id, FetchDataParam fetchDataParam) throws Exception
Exception
public List<DataObject> fetchData(List<?> ids, FetchDataParam fetchDataParam) throws Exception
Exception
Copyright © 2024. All rights reserved.