@Service public class PropertyIndexService extends SchemaService
USER_KEY_CREATE_TIME, USER_KEY_STYLE| Constructor and Description |
|---|
PropertyIndexService() |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
addBatch(List<org.apache.hugegraph.structure.schema.IndexLabel> indexLabels,
org.apache.hugegraph.driver.HugeClient client) |
void |
checkConflict(List<PropertyIndex> entities,
ConflictDetail detail,
int connId,
boolean compareEachOther) |
ConflictStatus |
checkConflict(PropertyIndex entity,
int connId) |
static PropertyIndex |
convert(org.apache.hugegraph.structure.schema.IndexLabel indexLabel) |
static org.apache.hugegraph.structure.schema.IndexLabel |
convert(PropertyIndex entity,
org.apache.hugegraph.driver.HugeClient client) |
List<org.apache.hugegraph.structure.schema.IndexLabel> |
filter(ConflictDetail detail,
org.apache.hugegraph.driver.HugeClient client) |
List<PropertyIndex> |
list(Collection<String> names,
int connId) |
List<PropertyIndex> |
list(Collection<String> names,
int connId,
boolean emptyAsAll) |
List<PropertyIndex> |
list(int connId) |
com.baomidou.mybatisplus.core.metadata.IPage<PropertyIndex> |
list(int connId,
org.apache.hugegraph.structure.constant.HugeType type,
int pageNo,
int pageSize) |
com.baomidou.mybatisplus.core.metadata.IPage<PropertyIndex> |
list(int connId,
org.apache.hugegraph.structure.constant.HugeType type,
String content,
int pageNo,
int pageSize)
The sort result like that, content is 'name'
--------------+------------------------+---------------------------------
base_value | index label name | fields
--------------+------------------------+---------------------------------
xxxname | xxxByName | name
--------------+------------------------+---------------------------------
| personByName | name
person +------------------------+---------------------------------
| personByAgeAndName | age name
--------------+------------------------+---------------------------------
| softwareByName | name
software +------------------------+---------------------------------
| softwareByPriveAndName | price name
--------------+------------------------+---------------------------------
|
List<Long> |
removeBatch(List<String> indexLabels,
org.apache.hugegraph.driver.HugeClient client) |
addBatch, addBatch, client, collectIndexLabels, collectIndexLabels, collectNames, collectProperties, collectPropertyIndexes, compareWithEachOther, compareWithOthers, config, convertIndexLabels, getCreateTime, removeBatch, removeBatch, toStringArraypublic List<PropertyIndex> list(int connId)
public List<PropertyIndex> list(Collection<String> names, int connId)
public List<PropertyIndex> list(Collection<String> names, int connId, boolean emptyAsAll)
public com.baomidou.mybatisplus.core.metadata.IPage<PropertyIndex> list(int connId, org.apache.hugegraph.structure.constant.HugeType type, int pageNo, int pageSize)
public com.baomidou.mybatisplus.core.metadata.IPage<PropertyIndex> list(int connId, org.apache.hugegraph.structure.constant.HugeType type, String content, int pageNo, int pageSize)
public List<Long> addBatch(List<org.apache.hugegraph.structure.schema.IndexLabel> indexLabels, org.apache.hugegraph.driver.HugeClient client)
public List<Long> removeBatch(List<String> indexLabels, org.apache.hugegraph.driver.HugeClient client)
public void checkConflict(List<PropertyIndex> entities, ConflictDetail detail, int connId, boolean compareEachOther)
public ConflictStatus checkConflict(PropertyIndex entity, int connId)
public List<org.apache.hugegraph.structure.schema.IndexLabel> filter(ConflictDetail detail, org.apache.hugegraph.driver.HugeClient client)
public static PropertyIndex convert(org.apache.hugegraph.structure.schema.IndexLabel indexLabel)
public static org.apache.hugegraph.structure.schema.IndexLabel convert(PropertyIndex entity, org.apache.hugegraph.driver.HugeClient client)
Copyright © 2024 The Apache Software Foundation. All rights reserved.