/** * <pre> * put an entry to table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Empty> put( com.webank.ai.fate.api.eggroll.storage.Kv.Operand request) { return futureUnaryCall( getChannel().newCall(getPutMethod(), getCallOptions()), request); }
/** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static KVServiceFutureStub newFutureStub( io.grpc.Channel channel) { return new KVServiceFutureStub(channel); }
@java.lang.Override protected KVServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new KVServiceFutureStub(channel, callOptions); }
/** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static KVServiceFutureStub newFutureStub( io.grpc.Channel channel) { return new KVServiceFutureStub(channel); }
/** * <pre> * create a table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.CreateTableInfo> createIfAbsent( com.webank.ai.fate.api.eggroll.storage.Kv.CreateTableInfo request) { return futureUnaryCall( getChannel().newCall(getCreateIfAbsentMethod(), getCallOptions()), request); }
/** * <pre> * destroy a table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Empty> destroy( com.webank.ai.fate.api.eggroll.storage.Kv.Empty request) { return futureUnaryCall( getChannel().newCall(getDestroyMethod(), getCallOptions()), request); }
/** * <pre> * delete an entry from table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Operand> delete( com.webank.ai.fate.api.eggroll.storage.Kv.Operand request) { return futureUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request); }
/** * <pre> * put an entry to table if absent * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Operand> putIfAbsent( com.webank.ai.fate.api.eggroll.storage.Kv.Operand request) { return futureUnaryCall( getChannel().newCall(getPutIfAbsentMethod(), getCallOptions()), request); }
/** * <pre> * create a table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.CreateTableInfo> createIfAbsent( com.webank.ai.fate.api.eggroll.storage.Kv.CreateTableInfo request) { return futureUnaryCall( getChannel().newCall(getCreateIfAbsentMethod(), getCallOptions()), request); }
/** * <pre> * put an entry to table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Empty> put( com.webank.ai.fate.api.eggroll.storage.Kv.Operand request) { return futureUnaryCall( getChannel().newCall(getPutMethod(), getCallOptions()), request); }
/** * <pre> * count record amount of a table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Count> count( com.webank.ai.fate.api.eggroll.storage.Kv.Empty request) { return futureUnaryCall( getChannel().newCall(getCountMethod(), getCallOptions()), request); } }
/** * <pre> * delete an entry from table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Operand> delete( com.webank.ai.fate.api.eggroll.storage.Kv.Operand request) { return futureUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request); }
@java.lang.Override protected KVServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new KVServiceFutureStub(channel, callOptions); }
/** * <pre> * destroy a table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Empty> destroy( com.webank.ai.fate.api.eggroll.storage.Kv.Empty request) { return futureUnaryCall( getChannel().newCall(getDestroyMethod(), getCallOptions()), request); }
/** * <pre> * get an entry from table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Operand> get( com.webank.ai.fate.api.eggroll.storage.Kv.Operand request) { return futureUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request); }
/** * <pre> * count record amount of a table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Count> count( com.webank.ai.fate.api.eggroll.storage.Kv.Empty request) { return futureUnaryCall( getChannel().newCall(getCountMethod(), getCallOptions()), request); } }
/** * <pre> * get an entry from table * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Operand> get( com.webank.ai.fate.api.eggroll.storage.Kv.Operand request) { return futureUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request); }
/** * <pre> * put an entry to table if absent * </pre> */ public com.google.common.util.concurrent.ListenableFuture<com.webank.ai.fate.api.eggroll.storage.Kv.Operand> putIfAbsent( com.webank.ai.fate.api.eggroll.storage.Kv.Operand request) { return futureUnaryCall( getChannel().newCall(getPutIfAbsentMethod(), getCallOptions()), request); }