public class LambdaInsertWrapper<T> extends AbstractChainWrapper<T> implements Wrapper<LambdaInsertWrapper<T>,T>
AbstractChainWrapper.ArrayIterator<T>| 限定符和类型 | 字段和说明 |
|---|---|
private io.milvus.v2.client.MilvusClientV2 |
client |
private String |
collectionName |
private ConversionCache |
conversionCache |
private com.google.gson.JsonObject |
entity |
private Class<T> |
entityType |
private String |
partitionName |
maxRetriesfilters, textMatches| 构造器和说明 |
|---|
LambdaInsertWrapper() |
LambdaInsertWrapper(String collectionName,
io.milvus.v2.client.MilvusClientV2 client,
ConversionCache conversionCache,
Class<T> entityType) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init(String collectionName,
io.milvus.v2.client.MilvusClientV2 client,
ConversionCache conversionCache,
Class<T> entityType) |
MilvusResp<io.milvus.v2.service.vector.response.InsertResp> |
insert()
构建完整的insert请求
|
MilvusResp<io.milvus.v2.service.vector.response.InsertResp> |
insert(Iterator<T> iterator) |
private MilvusResp<io.milvus.v2.service.vector.response.InsertResp> |
insert(List<com.google.gson.JsonObject> jsonObjects) |
MilvusResp<io.milvus.v2.service.vector.response.InsertResp> |
insert(T... entity) |
LambdaInsertWrapper<T> |
partition(FieldFunction<T,?> partitionName) |
LambdaInsertWrapper<T> |
partition(String partitionName) |
LambdaInsertWrapper<T> |
put(FieldFunction<T,?> fieldName,
Object value) |
LambdaInsertWrapper<T> |
put(String fieldName,
Object value) |
LambdaInsertWrapper<T> |
wrapper() |
executeWithRetry, handleCollectionNotLoadedaddFilter, addFilter, and, arrayContains, arrayContains, arrayContainsAll, arrayContainsAll, arrayContainsAny, arrayContainsAny, arrayLength, arrayLength, between, between, buildFilters, convertValue, convertValues, eq, eq, ge, ge, getPropertiesMap, gt, gt, in, in, isNotNull, isNotNull, isNull, isNull, jsonContains, jsonContains, jsonContainsAll, jsonContainsAll, jsonContainsAny, jsonContainsAny, le, le, like, like, likeLeft, likeLeft, likeRight, likeRight, lt, lt, ne, ne, not, not, or, textMatch, textMatch, textMatch, textMatch, wrapFieldNameprivate ConversionCache conversionCache
private String collectionName
private String partitionName
private io.milvus.v2.client.MilvusClientV2 client
private com.google.gson.JsonObject entity
public LambdaInsertWrapper(String collectionName, io.milvus.v2.client.MilvusClientV2 client, ConversionCache conversionCache, Class<T> entityType)
public LambdaInsertWrapper()
public LambdaInsertWrapper<T> put(FieldFunction<T,?> fieldName, Object value)
public LambdaInsertWrapper<T> put(String fieldName, Object value)
public LambdaInsertWrapper<T> partition(String partitionName)
public LambdaInsertWrapper<T> partition(FieldFunction<T,?> partitionName)
public MilvusResp<io.milvus.v2.service.vector.response.InsertResp> insert()
private MilvusResp<io.milvus.v2.service.vector.response.InsertResp> insert(List<com.google.gson.JsonObject> jsonObjects)
@SafeVarargs public final MilvusResp<io.milvus.v2.service.vector.response.InsertResp> insert(T... entity) throws io.milvus.exception.MilvusException
io.milvus.exception.MilvusExceptionpublic MilvusResp<io.milvus.v2.service.vector.response.InsertResp> insert(Iterator<T> iterator) throws io.milvus.exception.MilvusException
io.milvus.exception.MilvusExceptionpublic void init(String collectionName, io.milvus.v2.client.MilvusClientV2 client, ConversionCache conversionCache, Class<T> entityType)
init 在接口中 Wrapper<LambdaInsertWrapper<T>,T>public LambdaInsertWrapper<T> wrapper()
wrapper 在接口中 Wrapper<LambdaInsertWrapper<T>,T>Copyright © 2024. All rights reserved.