Package de.uplanet.lucy.server.util.db
Klasse DbResultSet
java.lang.Object
de.uplanet.lucy.server.util.db.DbResultSet
- Alle implementierten Schnittstellen:
de.uplanet.lucy.server.util.db.IDbResultSet,de.uplanet.lucy.server.util.db.IValueAccess,de.uplanet.lucy.server.util.db.IValueHolderAccess,de.uplanet.util.ICloseable,AutoCloseable,Iterable<IDbRow>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()List<?> findAll(groovy.lang.Closure<?> p_closure) Calls the given closure for every row in the result set and returns a list of rows for which the closure is valid.getBigDecimalValue(int p_iIdx) getBigDecimalValue(int p_iIdx, BigDecimal p_valueIfNull) getBooleanValue(int p_iIdx) getBooleanValue(int p_iIdx, Boolean p_valueIfNull) bytegetByteValue(int p_iIdx) getByteValue(int p_iIdx, Byte p_valueIfNull) getDateValue(int p_iIdx) getDateValue(int p_iIdx, Calendar p_cal) getDateValue(int p_iIdx, Date p_valueIfNull) getDateValue(int p_iIdx, Date p_valueIfNull, Calendar p_cal) getDateValue(int p_iIdx, Date p_valueIfNull, TimeZone p_tz) getDateValue(int p_iIdx, TimeZone p_tz) de.uplanet.lucy.server.util.db.DbRowListCreate a list of disconnected rows from this result set.getDoubleValue(int p_iIdx) getDoubleValue(int p_iIdx, Double p_valueIfNull) getFloatValue(int p_iIdx) getFloatValue(int p_iIdx, Float p_valueIfNull) getIntValue(int p_iIdx) getIntValue(int p_iIdx, Integer p_valueIfNull) getLongValue(int p_iIdx) getLongValue(int p_iIdx, Long p_valueIfNull) intGet the number of rows read so far.getShortValue(int p_iIdx) getShortValue(int p_iIdx, Short p_valueIfNull) getStringValue(int p_iIdx) getStringValue(int p_iIdx, String p_valueIfNull) getTimestampValue(int p_iIdx) getTimestampValue(int p_iIdx, Timestamp p_valueIfNull) getTimestampValue(int p_iIdx, Timestamp p_valueIfNull, Calendar p_cal) getTimestampValue(int p_iIdx, Timestamp p_valueIfNull, TimeZone p_tz) getTimestampValue(int p_iIdx, Calendar p_cal) getTimestampValue(int p_iIdx, TimeZone p_tz) getTimeValue(int p_iIdx) getTimeValue(int p_iIdx, Calendar p_cal) getTimeValue(int p_iIdx, Date p_valueIfNull) getTimeValue(int p_iIdx, Date p_valueIfNull, Calendar p_cal) getTimeValue(int p_iIdx, Date p_valueIfNull, TimeZone p_tz) getTimeValue(int p_iIdx, TimeZone p_tz) getValue(int p_iIdx) IValueHolder<?> getValueHolder(int p_iIdx) IValueHolder<?> getValueHolder(int p_iIdx, String p_strDataTypeAsSerializedQName) IValueHolder<?> getValueHolder(int p_iIdx, String p_strDataTypeAsSerializedQName, IValueHolder<?> p_valueIfNull) IValueHolder<?> getValueHolder(int p_iIdx, QName p_qmnDataType) IValueHolder<?> getValueHolder(int p_iIdx, QName p_qmnDataType, IValueHolder<?> p_valueIfNull) Collection<?> This method is not supportediterator()booleannext()booleanwasNull(int p_iIdx) Von Klasse geerbte Methoden java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden java.lang.Iterable
forEach, spliterator
-
Methodendetails
-
getRowCount
public int getRowCount()Get the number of rows read so far.- Gibt zurück:
- The number of rows read so far.
-
next
- Angegeben von:
nextin Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLException
-
wasNull
- Angegeben von:
wasNullin Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLException
-
getValueHolder
- Angegeben von:
getValueHolderin Schnittstellede.uplanet.lucy.server.util.db.IValueHolderAccess- Löst aus:
SQLException
-
getValueHolder
- Angegeben von:
getValueHolderin Schnittstellede.uplanet.lucy.server.util.db.IValueHolderAccess- Löst aus:
SQLException
-
getValueHolder
public IValueHolder<?> getValueHolder(int p_iIdx, String p_strDataTypeAsSerializedQName) throws SQLException - Angegeben von:
getValueHolderin Schnittstellede.uplanet.lucy.server.util.db.IValueHolderAccess- Löst aus:
SQLException
-
getValueHolder
public IValueHolder<?> getValueHolder(int p_iIdx, QName p_qmnDataType, IValueHolder<?> p_valueIfNull) throws SQLException - Angegeben von:
getValueHolderin Schnittstellede.uplanet.lucy.server.util.db.IValueHolderAccess- Löst aus:
SQLException
-
getValueHolder
public IValueHolder<?> getValueHolder(int p_iIdx, String p_strDataTypeAsSerializedQName, IValueHolder<?> p_valueIfNull) throws SQLException - Angegeben von:
getValueHolderin Schnittstellede.uplanet.lucy.server.util.db.IValueHolderAccess- Löst aus:
SQLException
-
close
- Angegeben von:
closein SchnittstelleAutoCloseable- Angegeben von:
closein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLException
-
getValue
- Angegeben von:
getValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLException
-
getValue
- Angegeben von:
getValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLException
-
getBooleanValue
public Boolean getBooleanValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getBooleanValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getBooleanValue
public Boolean getBooleanValue(int p_iIdx, Boolean p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getBooleanValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getByteValue
public byte getByteValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getByteValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getByteValue
public Byte getByteValue(int p_iIdx, Byte p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getByteValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getShortValue
public Short getShortValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getShortValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getShortValue
public Short getShortValue(int p_iIdx, Short p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getShortValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getIntValue
public Integer getIntValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getIntValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getIntValue
public Integer getIntValue(int p_iIdx, Integer p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getIntValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getLongValue
public Long getLongValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getLongValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getLongValue
public Long getLongValue(int p_iIdx, Long p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getLongValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getFloatValue
public Float getFloatValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getFloatValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getFloatValue
public Float getFloatValue(int p_iIdx, Float p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getFloatValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getDoubleValue
public Double getDoubleValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getDoubleValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getDoubleValue
public Double getDoubleValue(int p_iIdx, Double p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getDoubleValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getBigDecimalValue
public BigDecimal getBigDecimalValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getBigDecimalValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getBigDecimalValue
public BigDecimal getBigDecimalValue(int p_iIdx, BigDecimal p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getBigDecimalValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getStringValue
public String getStringValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getStringValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getStringValue
public String getStringValue(int p_iIdx, String p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getStringValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimestampValue
public Timestamp getTimestampValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimestampValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimestampValue
public Timestamp getTimestampValue(int p_iIdx, Calendar p_cal) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimestampValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimestampValue
public Timestamp getTimestampValue(int p_iIdx, TimeZone p_tz) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimestampValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimestampValue
public Timestamp getTimestampValue(int p_iIdx, Timestamp p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimestampValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimestampValue
public Timestamp getTimestampValue(int p_iIdx, Timestamp p_valueIfNull, TimeZone p_tz) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimestampValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimestampValue
public Timestamp getTimestampValue(int p_iIdx, Timestamp p_valueIfNull, Calendar p_cal) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimestampValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getDateValue
public Date getDateValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getDateValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getDateValue
public Date getDateValue(int p_iIdx, Calendar p_cal) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getDateValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getDateValue
public Date getDateValue(int p_iIdx, TimeZone p_tz) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getDateValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getDateValue
public Date getDateValue(int p_iIdx, Date p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getDateValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getDateValue
public Date getDateValue(int p_iIdx, Date p_valueIfNull, TimeZone p_tz) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getDateValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getDateValue
public Date getDateValue(int p_iIdx, Date p_valueIfNull, Calendar p_cal) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getDateValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimeValue
public Date getTimeValue(int p_iIdx) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimeValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimeValue
public Date getTimeValue(int p_iIdx, Calendar p_cal) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimeValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimeValue
public Date getTimeValue(int p_iIdx, TimeZone p_tz) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimeValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimeValue
public Date getTimeValue(int p_iIdx, Date p_valueIfNull) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimeValuein Schnittstellede.uplanet.lucy.server.util.db.IValueAccess- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimeValue
public Date getTimeValue(int p_iIdx, Date p_valueIfNull, TimeZone p_tz) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimeValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getTimeValue
public Date getTimeValue(int p_iIdx, Date p_valueIfNull, Calendar p_cal) throws SQLException, de.uplanet.lucy.server.util.db.ValueCastException - Angegeben von:
getTimeValuein Schnittstellede.uplanet.lucy.server.util.db.IDbResultSet- Löst aus:
SQLExceptionde.uplanet.lucy.server.util.db.ValueCastException
-
getDisconnectedRowList
public de.uplanet.lucy.server.util.db.DbRowList getDisconnectedRowList()Create a list of disconnected rows from this result set.Note:
- The result set data are at once fetched into memory so that calling this method may result in excessive memory consumption.
- After this method has been called, subsequent iterations over this result set will give no result. However anew call to this method will return the previous returned rows.
- Rows that were consumed in previous iterations over this result set will not be present in this list.
- Gibt zurück:
- A list of disconnected rows.
-
iterator
-
findAll
Calls the given closure for every row in the result set and returns a list of rows for which the closure is valid.- Parameter:
p_closure- The closure that's being called.- Gibt zurück:
- A list of rows the closure is valid for.
- Löst aus:
UnsupportedOperationException- - If the result set does not provide disconnected rows.
-
grep
This method is not supported.
- Löst aus:
UnsupportedOperationException
-