public class FlightSqlScenario extends Object
Modifier and Type | Field and Description |
---|---|
static long |
UPDATE_PREPARED_STATEMENT_EXPECTED_ROWS |
static long |
UPDATE_STATEMENT_EXPECTED_ROWS |
Constructor and Description |
---|
FlightSqlScenario() |
Modifier and Type | Method and Description |
---|---|
void |
buildServer(FlightServer.Builder builder)
Set any other server options.
|
void |
client(BufferAllocator allocator,
Location location,
FlightClient client)
Run as the client in the scenario.
|
FlightProducer |
producer(BufferAllocator allocator,
Location location)
Construct the FlightProducer for a server in this scenario.
|
public static final long UPDATE_STATEMENT_EXPECTED_ROWS
public static final long UPDATE_PREPARED_STATEMENT_EXPECTED_ROWS
public FlightProducer producer(BufferAllocator allocator, Location location) throws Exception
Exception
public void buildServer(FlightServer.Builder builder) throws Exception
Exception
public void client(BufferAllocator allocator, Location location, FlightClient client) throws Exception
Exception
Copyright © 2022 The Apache Software Foundation. All rights reserved.