@RestController
@RequestMapping(value="/api/v1.2/graph-connections/{connId}/schema/propertykeys")
public class PropertyKeyController
extends SchemaController
ORDER_ASC, ORDER_DESC| Constructor and Description |
|---|
PropertyKeyController() |
| Modifier and Type | Method and Description |
|---|---|
ConflictDetail |
checkConflict(int connId,
ConflictCheckEntity entity) |
Map<String,Boolean> |
checkUsing(int connId,
UsingCheckEntity entity) |
void |
create(int connId,
PropertyKeyEntity entity) |
void |
delete(int connId,
List<String> names,
boolean skipUsing)
Should request "check_using" before delete
|
PropertyKeyEntity |
get(int connId,
String name) |
com.baomidou.mybatisplus.core.metadata.IPage<PropertyKeyEntity> |
list(int connId,
String content,
String nameOrder,
int pageNo,
int pageSize) |
ConflictDetail |
recheckConflict(int connId,
ConflictCheckEntity entity) |
void |
reuse(int connId,
ConflictDetail detail) |
checkParamsValid, checkProperties, checkPropertyIndexes, displayInSchemaView, listInPage, sortByCreateTime, sortByName, sortByRelativitycheckIdSameAsBody, checkParamsNotEmpty, checkParamsNotEmpty, mergeEntity@GetMapping public com.baomidou.mybatisplus.core.metadata.IPage<PropertyKeyEntity> list(@PathVariable(value="connId") int connId, @RequestParam(name="content",required=false) String content, @RequestParam(name="name_order",required=false) String nameOrder, @RequestParam(name="page_no",required=false,defaultValue="1") int pageNo, @RequestParam(name="page_size",required=false,defaultValue="10") int pageSize)
@GetMapping(value="{name}")
public PropertyKeyEntity get(@PathVariable(value="connId")
int connId,
@PathVariable(value="name")
String name)
@PostMapping
public void create(@PathVariable(value="connId")
int connId,
@RequestBody
PropertyKeyEntity entity)
@PostMapping(value="check_conflict") public ConflictDetail checkConflict(@PathVariable(value="connId") int connId, @RequestBody ConflictCheckEntity entity)
@PostMapping(value="recheck_conflict") public ConflictDetail recheckConflict(@PathVariable(value="connId") int connId, @RequestBody ConflictCheckEntity entity)
@PostMapping(value="reuse")
public void reuse(@PathVariable(value="connId")
int connId,
@RequestBody
ConflictDetail detail)
@PostMapping(value="check_using") public Map<String,Boolean> checkUsing(@PathVariable(value="connId") int connId, @RequestBody UsingCheckEntity entity)
Copyright © 2024 The Apache Software Foundation. All rights reserved.