MultiShardResultSet Class
- java.
lang. Object - AutoCloseable
- com.
microsoft. azure. elasticdb. query. multishard. MultiShardResultSet
- com.
public class MultiShardResultSet
Constructor Summary
Constructor | Description |
---|---|
MultiShardResultSet(List<LabeledResultSet> results) |
Creates an Instance of MultiShardResultSet. |
Method Summary
Constructor Details
MultiShardResultSet
public MultiShardResultSet(List
Creates an Instance of MultiShardResultSet.
Parameters:
Method Details
absolute
public boolean absolute(int row)
Parameters:
afterLast
public void afterLast()
beforeFirst
public void beforeFirst()
cancelRowUpdates
public void cancelRowUpdates()
clearWarnings
public void clearWarnings()
close
public void close()
deleteRow
public void deleteRow()
findColumn
public int findColumn(String columnLabel)
Parameters:
first
public boolean first()
getArray
public Array getArray(int columnIndex)
Parameters:
getArray
public Array getArray(String columnLabel)
Parameters:
getAsciiStream
public InputStream getAsciiStream(int columnIndex)
Parameters:
getAsciiStream
public InputStream getAsciiStream(String columnLabel)
Parameters:
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex)
Parameters:
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex, int scale)
Parameters:
getBigDecimal
public BigDecimal getBigDecimal(String columnLabel)
Parameters:
getBigDecimal
public BigDecimal getBigDecimal(String columnLabel, int scale)
Parameters:
getBinaryStream
public InputStream getBinaryStream(int columnIndex)
Parameters:
getBinaryStream
public InputStream getBinaryStream(String columnLabel)
Parameters:
getBlob
public Blob getBlob(int columnIndex)
Parameters:
getBlob
public Blob getBlob(String columnLabel)
Parameters:
getBoolean
public boolean getBoolean(int columnIndex)
Parameters:
getBoolean
public boolean getBoolean(String columnLabel)
Parameters:
getByte
public byte getByte(int columnIndex)
Parameters:
getByte
public byte getByte(String columnLabel)
Parameters:
getBytes
public byte [] getBytes(int columnIndex)
Parameters:
getBytes
public byte [] getBytes(String columnLabel)
Parameters:
getCharacterStream
public Reader getCharacterStream(int columnIndex)
Parameters:
getCharacterStream
public Reader getCharacterStream(String columnLabel)
Parameters:
getClob
public Clob getClob(int columnIndex)
Parameters:
getClob
public Clob getClob(String columnLabel)
Parameters:
getConcurrency
public int getConcurrency()
getCursorName
public String getCursorName()
getDate
public Date getDate(int columnIndex)
Parameters:
getDate
public Date getDate(int columnIndex, Calendar cal)
Parameters:
getDate
public Date getDate(String columnLabel)
Parameters:
getDate
public Date getDate(String columnLabel, Calendar cal)
Parameters:
getDateTimeOffset
public DateTimeOffset getDateTimeOffset(int ordinal)
Parameters:
getDateTimeOffset
public DateTimeOffset getDateTimeOffset(String columnName)
Parameters:
getDouble
public double getDouble(int columnIndex)
Parameters:
getDouble
public double getDouble(String columnLabel)
Parameters:
getFetchDirection
public int getFetchDirection()
getFetchSize
public int getFetchSize()
getFloat
public float getFloat(int columnIndex)
Parameters:
getFloat
public float getFloat(String columnLabel)
Parameters:
getHoldability
public int getHoldability()
getInt
public int getInt(int columnIndex)
Parameters:
getInt
public int getInt(String columnLabel)
Parameters:
getLocation
public String getLocation()
getLong
public long getLong(int columnIndex)
Parameters:
getLong
public long getLong(String columnLabel)
Parameters:
getMetaData
public ResultSetMetaData getMetaData()
getMultiShardExceptions
public List
Get a list of MultiShardException which might have occurred during query execution.
Returns:
getNCharacterStream
public Reader getNCharacterStream(int columnIndex)
Parameters:
getNCharacterStream
public Reader getNCharacterStream(String columnLabel)
Parameters:
getNClob
public NClob getNClob(int columnIndex)
Parameters:
getNClob
public NClob getNClob(String columnLabel)
Parameters:
getNString
public String getNString(int columnIndex)
Parameters:
getNString
public String getNString(String columnLabel)
Parameters:
getObject
public Object getObject(int columnIndex)
Parameters:
getObject
public
Parameters:
getObject
public Object getObject(int columnIndex, Map
Parameters:
getObject
public Object getObject(String columnLabel)
Parameters:
getObject
public
Parameters:
getObject
public Object getObject(String columnLabel, Map
Parameters:
getRef
public Ref getRef(int columnIndex)
Parameters:
getRef
public Ref getRef(String columnLabel)
Parameters:
getResults
public List
getRow
public int getRow()
getRowCount
public int getRowCount()
Get the total number of rows present in the current result set without disturbing the cursor.
Returns:
Throws:
getRowId
public RowId getRowId(int columnIndex)
Parameters:
getRowId
public RowId getRowId(String columnLabel)
Parameters:
getShort
public short getShort(int columnIndex)
Parameters:
getShort
public short getShort(String columnLabel)
Parameters:
getSQLXML
public SQLXML getSQLXML(int columnIndex)
Parameters:
getSQLXML
public SQLXML getSQLXML(String columnLabel)
Parameters:
getStatement
public Statement getStatement()
getString
public String getString(int columnIndex)
Parameters:
getString
public String getString(String columnLabel)
Parameters:
getTime
public Time getTime(int columnIndex)
Parameters:
getTime
public Time getTime(int columnIndex, Calendar cal)
Parameters:
getTime
public Time getTime(String columnLabel)
Parameters:
getTime
public Time getTime(String columnLabel, Calendar cal)
Parameters:
getTimestamp
public Timestamp getTimestamp(int columnIndex)
Parameters:
getTimestamp
public Timestamp getTimestamp(int columnIndex, Calendar cal)
Parameters:
getTimestamp
public Timestamp getTimestamp(String columnLabel)
Parameters:
getTimestamp
public Timestamp getTimestamp(String columnLabel, Calendar cal)
Parameters:
getType
public int getType()
getUnicodeStream
public InputStream getUnicodeStream(int columnIndex)
Parameters:
getUnicodeStream
public InputStream getUnicodeStream(String columnLabel)
Parameters:
getUniqueIdentifier
public String getUniqueIdentifier(int ordinal)
Parameters:
getUniqueIdentifier
public String getUniqueIdentifier(String columnName)
Parameters:
getURL
public URL getURL(int columnIndex)
Parameters:
getURL
public URL getURL(String columnLabel)
Parameters:
getWarnings
public SQLWarning getWarnings()
insertRow
public void insertRow()
isAfterLast
public boolean isAfterLast()
isBeforeFirst
public boolean isBeforeFirst()
isClosed
public boolean isClosed()
isFirst
public boolean isFirst()
isLast
public boolean isLast()
isWrapperFor
public boolean isWrapperFor(Class iface)
Parameters:
last
public boolean last()
moveToCurrentRow
public void moveToCurrentRow()
moveToInsertRow
public void moveToInsertRow()
next
public boolean next()
previous
public boolean previous()
refreshRow
public void refreshRow()
relative
public boolean relative(int rows)
Parameters:
rowDeleted
public boolean rowDeleted()
rowInserted
public boolean rowInserted()
rowUpdated
public boolean rowUpdated()
setFetchDirection
public void setFetchDirection(int direction)
Parameters:
setFetchSize
public void setFetchSize(int rows)
Parameters:
unwrap
public
Parameters:
updateArray
public void updateArray(int columnIndex, Array x)
Parameters:
updateArray
public void updateArray(String columnLabel, Array x)
Parameters:
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x)
Parameters:
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, int length)
Parameters:
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, long length)
Parameters:
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x)
Parameters:
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x, int length)
Parameters:
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x, long length)
Parameters:
updateBigDecimal
public void updateBigDecimal(int columnIndex, BigDecimal x)
Parameters:
updateBigDecimal
public void updateBigDecimal(String columnLabel, BigDecimal x)
Parameters:
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x)
Parameters:
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, int length)
Parameters:
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, long length)
Parameters:
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x)
Parameters:
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x, int length)
Parameters:
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x, long length)
Parameters:
updateBlob
public void updateBlob(int columnIndex, Blob x)
Parameters:
updateBlob
public void updateBlob(int columnIndex, InputStream inputStream)
Parameters:
updateBlob
public void updateBlob(int columnIndex, InputStream inputStream, long length)
Parameters:
updateBlob
public void updateBlob(String columnLabel, Blob x)
Parameters:
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream)
Parameters:
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length)
Parameters:
updateBoolean
public void updateBoolean(int columnIndex, boolean x)
Parameters:
updateBoolean
public void updateBoolean(String columnLabel, boolean x)
Parameters:
updateByte
public void updateByte(int columnIndex, byte x)
Parameters:
updateByte
public void updateByte(String columnLabel, byte x)
Parameters:
updateBytes
public void updateBytes(int columnIndex, byte[] x)
Parameters:
updateBytes
public void updateBytes(String columnLabel, byte[] x)
Parameters:
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x)
Parameters:
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, int length)
Parameters:
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, long length)
Parameters:
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader x)
Parameters:
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader x, int length)
Parameters:
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader x, long length)
Parameters:
updateClob
public void updateClob(int columnIndex, Clob x)
Parameters:
updateClob
public void updateClob(int columnIndex, Reader x)
Parameters:
updateClob
public void updateClob(int columnIndex, Reader x, long length)
Parameters:
updateClob
public void updateClob(String columnLabel, Clob x)
Parameters:
updateClob
public void updateClob(String columnLabel, Reader x)
Parameters:
updateClob
public void updateClob(String columnLabel, Reader x, long length)
Parameters:
updateDate
public void updateDate(int columnIndex, Date x)
Parameters:
updateDate
public void updateDate(String columnLabel, Date x)
Parameters:
updateDouble
public void updateDouble(int columnIndex, double x)
Parameters:
updateDouble
public void updateDouble(String columnLabel, double x)
Parameters:
updateFloat
public void updateFloat(int columnIndex, float x)
Parameters:
updateFloat
public void updateFloat(String columnLabel, float x)
Parameters:
updateInt
public void updateInt(int columnIndex, int x)
Parameters:
updateInt
public void updateInt(String columnLabel, int x)
Parameters:
updateLong
public void updateLong(int columnIndex, long x)
Parameters:
updateLong
public void updateLong(String columnLabel, long x)
Parameters:
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x)
Parameters:
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x, long length)
Parameters:
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader x)
Parameters:
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader x, long length)
Parameters:
updateNClob
public void updateNClob(int columnIndex, NClob clob)
Parameters:
updateNClob
public void updateNClob(int columnIndex, Reader x)
Parameters:
updateNClob
public void updateNClob(int columnIndex, Reader x, long length)
Parameters:
updateNClob
public void updateNClob(String columnLabel, NClob clob)
Parameters:
updateNClob
public void updateNClob(String columnLabel, Reader x)
Parameters:
updateNClob
public void updateNClob(String columnLabel, Reader x, long length)
Parameters:
updateNString
public void updateNString(int columnIndex, String string)
Parameters:
updateNString
public void updateNString(String columnLabel, String string)
Parameters:
updateNull
public void updateNull(int columnIndex)
Parameters:
updateNull
public void updateNull(String columnLabel)
Parameters:
updateObject
public void updateObject(int columnIndex, Object x)
Parameters:
updateObject
public void updateObject(int columnIndex, Object x, int scaleOrLength)
Parameters:
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType)
Parameters:
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength)
Parameters:
updateObject
public void updateObject(String columnLabel, Object x)
Parameters:
updateObject
public void updateObject(String columnLabel, Object x, int scaleOrLength)
Parameters:
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType)
Parameters:
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength)
Parameters:
updateRef
public void updateRef(int columnIndex, Ref x)
Parameters:
updateRef
public void updateRef(String columnLabel, Ref x)
Parameters:
updateRow
public void updateRow()
updateRowId
public void updateRowId(int columnIndex, RowId x)
Parameters:
updateRowId
public void updateRowId(String columnLabel, RowId x)
Parameters:
updateShort
public void updateShort(int columnIndex, short x)
Parameters:
updateShort
public void updateShort(String columnLabel, short x)
Parameters:
updateSQLXML
public void updateSQLXML(int columnIndex, SQLXML xmlObject)
Parameters:
updateSQLXML
public void updateSQLXML(String columnLabel, SQLXML xmlObject)
Parameters:
updateString
public void updateString(int columnIndex, String x)
Parameters:
updateString
public void updateString(String columnLabel, String x)
Parameters:
updateTime
public void updateTime(int columnIndex, Time x)
Parameters:
updateTime
public void updateTime(String columnLabel, Time x)
Parameters:
updateTimestamp
public void updateTimestamp(int columnIndex, Timestamp x)
Parameters:
updateTimestamp
public void updateTimestamp(String columnLabel, Timestamp x)
Parameters:
wasNull
public boolean wasNull()