public class GrpcClientExecuteQuery extends Object
STARGATE_HOST and/or STARGATE_GRPC_PORT.
Lastly, it requires the Stargate Token to perform auth logic. Please set it in the: STARGATE_TOKEN.
It executes:
| Constructor and Description |
|---|
GrpcClientExecuteQuery()
Construct client for accessing StargateGrpc server using a new channel.
|
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ManagedChannel |
createChannel(String host,
int port) |
void |
executeSingleQuery() |
static void |
main(String[] args)
Runner of the GrpcClientExample
|
public GrpcClientExecuteQuery()
public static void main(String[] args) throws InterruptedException
InterruptedExceptionpublic void executeSingleQuery()
public io.grpc.ManagedChannel createChannel(String host, int port)
Copyright © 2022. All rights reserved.