com.yandex.ydb.table.rpc.SchemeRpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
JDBC client implementation over Table client, single jar
package com.yandex.ydb.table.rpc;
import java.util.concurrent.CompletableFuture;
import com.yandex.ydb.core.Result;
import com.yandex.ydb.core.rpc.Rpc;
import com.yandex.ydb.scheme.SchemeOperationProtos.DescribePathRequest;
import com.yandex.ydb.scheme.SchemeOperationProtos.DescribePathResponse;
import com.yandex.ydb.scheme.SchemeOperationProtos.ListDirectoryRequest;
import com.yandex.ydb.scheme.SchemeOperationProtos.ListDirectoryResponse;
import com.yandex.ydb.scheme.SchemeOperationProtos.MakeDirectoryRequest;
import com.yandex.ydb.scheme.SchemeOperationProtos.MakeDirectoryResponse;
import com.yandex.ydb.scheme.SchemeOperationProtos.RemoveDirectoryRequest;
import com.yandex.ydb.scheme.SchemeOperationProtos.RemoveDirectoryResponse;
/**
* @author Sergey Polovko
*/
public interface SchemeRpc extends Rpc {
/**
* Make directory.
*/
CompletableFuture> makeDirectory(MakeDirectoryRequest request, long deadlineAfter);
/**
* Remove directory.
*/
CompletableFuture> removeDirectory(RemoveDirectoryRequest request, long deadlineAfter);
/**
* Returns information about given directory and objects inside it.
*/
CompletableFuture> describeDirectory(ListDirectoryRequest request, long deadlineAfter);
/**
* Returns information about object with given path.
*/
CompletableFuture> describePath(DescribePathRequest request, long deadlineAfter);
}