showNodeProperty() | showEdgeProperty()
Method and class:
Response showNodeProperty(String schema)
Response showNodeProperty(String schema, RequestConfig requestConfig)
Response showEdgeProperty(String schema)
Response showEdgeProperty(String schema, RequestConfig requestConfig)
Example: Acquire all node prooperties of schema 'client' and edge properties of schema 'transfer' of graphset 'test'
public class Main {
public static void main(String[] args) {
// omit code of establishing server connection 'conn' using graphset 'default'
RequestConfig requestConfig = new RequestConfig();
requestConfig.setGraphName("test");
Response res1 = conn.showNodeProperty("client", requestConfig);
Response res2 = conn.showEdgeProperty("transfer", requestConfig);
}
}