Modifier and Type | Class and Description |
---|---|
static class |
StatementConfiguration.Builder
Builder class for
StatementConfiguration for more flexible construction. |
Constructor and Description |
---|
StatementConfiguration(Integer fetchDirection,
Integer fetchSize,
Integer maxFieldSize,
Integer maxRows,
Integer queryTimeout)
Constructor for
StatementConfiguration . |
Modifier and Type | Method and Description |
---|---|
Integer |
getFetchDirection()
Get the fetch direction.
|
Integer |
getFetchSize()
Get the fetch size.
|
Integer |
getMaxFieldSize()
Get the max field size.
|
Integer |
getMaxRows()
Get the max rows.
|
Integer |
getQueryTimeout()
Get the query timeout.
|
boolean |
isFetchDirectionSet()
Whether fetch direction is set.
|
boolean |
isFetchSizeSet()
Whether fetch size is set.
|
boolean |
isMaxFieldSizeSet()
Whether max field size is set.
|
boolean |
isMaxRowsSet()
Whether max rows is set.
|
boolean |
isQueryTimeoutSet()
Whether query timeout is set.
|
public StatementConfiguration(Integer fetchDirection, Integer fetchSize, Integer maxFieldSize, Integer maxRows, Integer queryTimeout)
StatementConfiguration
. For more flexibility, use StatementConfiguration.Builder
.fetchDirection
- The direction for fetching rows from database tables.fetchSize
- The number of rows that should be fetched from the database when more rows are needed.maxFieldSize
- The maximum number of bytes that can be returned for character and binary column values.maxRows
- The maximum number of rows that a ResultSet
can produce.queryTimeout
- The number of seconds the driver will wait for execution.public Integer getFetchDirection()
public boolean isFetchDirectionSet()
public Integer getFetchSize()
public boolean isFetchSizeSet()
public Integer getMaxFieldSize()
public boolean isMaxFieldSizeSet()
public Integer getMaxRows()
public boolean isMaxRowsSet()
public Integer getQueryTimeout()
public boolean isQueryTimeoutSet()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.