Aqualogic Interaction API  
 

IPTSResult Members

IPTSResult overview

Public Instance Methods

getFieldAsBoolean Returns the value of a boolean IPTSField. Throws a PTSNoFieldValueException if the field is not defined for this result.
getFieldAsDouble Returns the value of a floating-point IPTSField. Note that the Search Server stores all numeric types as 32-bit float values. Values will suffer roundoff error. Throws a PTSNoFieldValueException if the field is not defined for this result.
getFieldAsInt Returns the value of an integer IPTSField. Note that the Search Server stores all numeric types as 32-bit float values. Values will suffer roundoff error. Throws a PTSNoFieldValueException if the field is not defined for this result.
getFieldAsObject Returns the value of a IPTSField, regardless of type. The actual underlying type of the returned Object will be String, Integer, Double, Boolean, or XPDateTime. Throws a PTSNoFieldValueException if the field is not defined for this result.
getFieldAsString Returns the value of a String IPTSField. Throws a PTSNoFieldValueException if the field is not defined for this result.
getFieldAsXPDateTime Returns the value of a floating-point IPTSField. Note that the Search Server stores dates as 32-bit float values. Values will suffer roundoff error. Throws a PTSNoFieldValueException if the field is not defined for this result.
getFieldExcerpts 
getFieldExists Returns whether or not the field exists in this result. NOTE: Fields can not exist because they were not queried for, they were not indexed because they contain a null or empty string value, or because the calling code is trying to get an invalid field in this result.
getRank Returns the rank of this result within its result set. Convenience method that returns the same result as calling getFieldAsInt on the RANK field (see IPTSSearchableCollection.Rank).

See Also

IPTSResult Interface | com.plumtree.server.search Namespace