public abstract class BaseMilvusMapper<T> extends Object
| 构造器和说明 |
|---|
BaseMilvusMapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
LambdaDeleteWrapper<T> |
deleteWrapper()
创建删除构建器实例
|
MilvusResp<List<MilvusResult<T>>> |
getById(Serializable... ids) |
abstract io.milvus.v2.client.MilvusClientV2 |
getClient() |
MilvusResp<io.milvus.v2.service.vector.response.InsertResp> |
insert(Collection<T> entity) |
MilvusResp<io.milvus.v2.service.vector.response.InsertResp> |
insert(T... entity) |
LambdaInsertWrapper<T> |
insertWrapper()
创建新增构建器实例
|
<W> W |
lambda(Class<T> entityType,
Wrapper<W,T> wrapper) |
<W> W |
lambda(Wrapper<W,T> wrapper)
创建通用构建器实例
|
LambdaQueryWrapper<T> |
queryWrapper()
创建搜索构建器实例
|
MilvusResp<io.milvus.v2.service.vector.response.DeleteResp> |
removeById(Serializable... ids) |
MilvusResp<io.milvus.v2.service.vector.response.UpsertResp> |
updateById(Collection<T> entity) |
MilvusResp<io.milvus.v2.service.vector.response.UpsertResp> |
updateById(T... entity) |
LambdaUpdateWrapper<T> |
updateWrapper()
创建更新构建器实例
|
public abstract io.milvus.v2.client.MilvusClientV2 getClient()
public LambdaQueryWrapper<T> queryWrapper()
public LambdaDeleteWrapper<T> deleteWrapper()
public LambdaUpdateWrapper<T> updateWrapper()
public LambdaInsertWrapper<T> insertWrapper()
public MilvusResp<List<MilvusResult<T>>> getById(Serializable... ids)
public MilvusResp<io.milvus.v2.service.vector.response.DeleteResp> removeById(Serializable... ids)
public MilvusResp<io.milvus.v2.service.vector.response.InsertResp> insert(T... entity)
public MilvusResp<io.milvus.v2.service.vector.response.InsertResp> insert(Collection<T> entity)
public MilvusResp<io.milvus.v2.service.vector.response.UpsertResp> updateById(T... entity)
public MilvusResp<io.milvus.v2.service.vector.response.UpsertResp> updateById(Collection<T> entity)
Copyright © 2024. All rights reserved.