public class Collection extends Object
构造器和说明 |
---|
Collection() |
Collection(String collectionName,
List<Field> fields,
VikingDBService vikingDBService,
String primaryKey) |
限定符和类型 | 方法和说明 |
---|---|
<T> void |
deleteData(T id) |
List<DataObject> |
fetchData(List<?> ids) |
<T> DataObject |
fetchData(T id) |
void |
upsertData(DataObject dataObject) |
void |
upsertData(List<DataObject> dataObjects) |
public Collection(String collectionName, List<Field> fields, VikingDBService vikingDBService, String primaryKey)
public Collection()
public void upsertData(DataObject dataObject) throws Exception
Exception
public void upsertData(List<DataObject> dataObjects) throws Exception
Exception
public <T> DataObject fetchData(T id) throws Exception
Exception
public List<DataObject> fetchData(List<?> ids) throws Exception
Exception
Copyright © 2024. All rights reserved.