public class QueryCommandImpl extends CommandImpl implements QueryCommand
QueryCommand.ResultBatch, QueryCommand.Status
error, exception, networkTimeout, notices
Constructor and Description |
---|
QueryCommandImpl(String command) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ProtocolImpl protocol) |
int |
getMaxFieldLength() |
int |
getMaxRows() |
long |
getQueryTimeout() |
List<QueryCommand.ResultBatch> |
getResultBatches() |
QueryCommand.Status |
getStatus() |
void |
setMaxFieldLength(int maxFieldLength) |
void |
setMaxRows(int maxRows) |
void |
setQueryTimeout(long timeout) |
addNotice, enableCancelTimer, getError, getException, getNetworkTimeout, getWarnings, setError, setException, setNetworkTimeout, waitFor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getError, getException, getNetworkTimeout, getWarnings, setNetworkTimeout
public QueryCommandImpl(String command)
public long getQueryTimeout()
getQueryTimeout
in interface QueryCommand
public void setQueryTimeout(long timeout)
setQueryTimeout
in interface QueryCommand
public List<QueryCommand.ResultBatch> getResultBatches()
getResultBatches
in interface QueryCommand
public void execute(ProtocolImpl protocol) throws IOException
execute
in class CommandImpl
IOException
public QueryCommand.Status getStatus()
getStatus
in interface QueryCommand
public int getMaxFieldLength()
getMaxFieldLength
in interface QueryCommand
public void setMaxFieldLength(int maxFieldLength)
setMaxFieldLength
in interface QueryCommand
public int getMaxRows()
getMaxRows
in interface QueryCommand
public void setMaxRows(int maxRows)
setMaxRows
in interface QueryCommand
Copyright © 2013-2015 impossibl.com. All Rights Reserved.