@RestController
@RequestMapping(value="/api/v1.2/graph-connections/{connId}/schema")
public class SchemaController
extends BaseController
ORDER_ASC, ORDER_DESC| Constructor and Description |
|---|
SchemaController() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkParamsValid(PropertyKeyService service,
LabelUpdateEntity entity,
int connId) |
static void |
checkProperties(PropertyKeyService service,
Set<Property> properties,
boolean mustNullable,
int connId)
Check properties are defined
|
static void |
checkPropertyIndexes(SchemaLabelEntity entity,
int connId) |
org.apache.hugegraph.controller.schema.SchemaController.SchemaView |
displayInSchemaView(int connId) |
<T extends SchemaEntity> |
listInPage(Function<Integer,List<T>> fetcher,
int connId,
String content,
String nameOrder,
int pageNo,
int pageSize) |
<T extends SchemaEntity> |
sortByCreateTime(List<T> entities,
boolean asc) |
<T extends SchemaEntity> |
sortByName(List<T> entities,
boolean asc) |
<T extends SchemaEntity> |
sortByRelativity(List<T> entities,
String content) |
checkIdSameAsBody, checkParamsNotEmpty, checkParamsNotEmpty, mergeEntity@GetMapping(value="graphview")
public org.apache.hugegraph.controller.schema.SchemaController.SchemaView displayInSchemaView(@PathVariable(value="connId")
int connId)
public <T extends SchemaEntity> com.baomidou.mybatisplus.core.metadata.IPage<T> listInPage(Function<Integer,List<T>> fetcher, int connId, String content, String nameOrder, int pageNo, int pageSize)
public <T extends SchemaEntity> void sortByName(List<T> entities, boolean asc)
public <T extends SchemaEntity> void sortByCreateTime(List<T> entities, boolean asc)
public <T extends SchemaEntity> void sortByRelativity(List<T> entities, String content)
public static void checkProperties(PropertyKeyService service, Set<Property> properties, boolean mustNullable, int connId)
public static void checkPropertyIndexes(SchemaLabelEntity entity, int connId)
public static void checkParamsValid(PropertyKeyService service, LabelUpdateEntity entity, int connId)
Copyright © 2024 The Apache Software Foundation. All rights reserved.