NzaeRecord Interface reference
A record corresponds to an input or output database row.
Each record consists of one or more fields, which correspond to columns. Fields are addresed by an int index which is zero-based. GetFieldX methods may return null. Objects applied to get and set methods must match or be convertable to or from the data type of the field (column).
See Also:
- next
- createOutputRecord
- NzaeAggMessageHandler
Public member functions
- boolean compatibleWithOutput()
- Determines if the record can be used as an output result.
- NzaeRecord duplicate()
- Creates a deep copy duplicate.
- Object getField(int index)
- Returns the field value as an Object.
- byte [] getFieldAsBinary(int index)
- Returns the field value cast to a byte [], that is a byte array.
- Boolean getFieldAsBoolean(int index)
- Returns the field value cast to a Boolean.
- java.sql.Date getFieldAsDate(int index)
- Returns the field value cast to a java.sql.Date.
- BigDecimal getFieldAsDecimal(int index)
- Returns the field value cast to a BigDecimal.
- NzaeInterval getFieldAsInterval(int index)
- Returns the field value cast to a NzaeInterval .
- Number getFieldAsNumber(int index)
- Returns the field value cast to a Number.
- String getFieldAsString(int index)
- Returns the field value cast to a String.
- java.sql.Time getFieldAsTime(int index)
- Returns the field value cast to a java.sql.Time.
- java.sql.Timestamp getFieldAsTimestamp(int index)
- Returns the field value cast to a java.sql.Timestamp.
- NzaeTimeTz getFieldAsTimeTz(int index)
- Returns the field value cast to a NzaeTimeTz .
- NzaeFieldInfo getFieldInfo(int index)
- Returns instance of NzaeFieldInfo interface.
- boolean isReadOnly()
- Determines if the record is read-only.
- void setField(int index, Object value)
- Sets the field value as an Object.
- void setFields(NzaeRecord rec)
- Sets all the fields from a record consisting of the same number and type of fields.
- int size()
- Gets the number of fields.
- String toString()
- The string representation of the record.
Public member functions documentation
- boolean compatibleWithOutput()
- Determines if the record can be used as an output result.
- NzaeRecord duplicate()
- Creates a deep copy duplicate.
- Object getField(int index)
- Returns the field value as an Object.
- byte [] getFieldAsBinary(int index)
- Returns the field value cast to a byte [], that is a byte array.
- Boolean getFieldAsBoolean(int index)
- Returns the field value cast to a Boolean.
- java.sql.Date getFieldAsDate(int index)
- Returns the field value cast to a java.sql.Date.
- BigDecimal getFieldAsDecimal(int index)
- Returns the field value cast to a BigDecimal.
- NzaeInterval getFieldAsInterval(int index)
- Returns the field value cast to a NzaeInterval .
- Number getFieldAsNumber(int index)
- Returns the field value cast to a Number.
- String getFieldAsString(int index)
- Returns the field value cast to a String.
- java.sql.Time getFieldAsTime(int index)
- Returns the field value cast to a java.sql.Time.
- java.sql.Timestamp getFieldAsTimestamp(int index)
- Returns the field value cast to a java.sql.Timestamp.
- NzaeTimeTz getFieldAsTimeTz(int index)
- Returns the field value cast to a NzaeTimeTz .
- NzaeFieldInfo getFieldInfo(int index)
- Returns instance of NzaeFieldInfo interface.
- boolean isReadOnly()
- Determines if the record is read-only.
- void setField(int index, Object value)
- Sets the field value as an Object.
- void setFields(NzaeRecord rec)
- Sets all the fields from a record consisting of the same number and type of fields.
- int size()
- Gets the number of fields.
- String toString()
- The string representation of the record.