List of Conversion functions
Type | Name and description |
---|---|
java.lang.Boolean |
toBoolean(java.lang.Number numberValue) Convert a number to a boolean |
java.lang.Boolean |
toBoolean(java.lang.String stringValue) Convert a string to a boolean |
java.lang.Double |
toDouble(java.lang.Boolean booleanValue) Convert a boolean value to a double |
java.lang.Double |
toDouble(java.lang.Integer integerValue) Convert an integer to a double |
java.lang.Double |
toDouble(java.lang.Long longValue) Convert a long value to double |
java.lang.Double |
toDouble(java.lang.String stringValue) Convert a string to a double |
java.lang.Integer |
toInteger(java.lang.String stringValue) Convert a string to Integer |
java.lang.Integer |
toInteger(java.lang.Double doubleValue) Convert a double value to an integer |
java.lang.Integer |
toInteger(java.lang.Long longValue) Convert a long to an integer |
java.lang.Integer |
toInteger(java.lang.Boolean booleanValue) Convert a boolean to an integer |
java.lang.Long |
toLong(java.lang.String stringValue) Convert a string to a long |
java.lang.Long |
toLong(java.lang.Boolean booleanValue) Convert a boolean to a long |
java.lang.Long |
toLong(java.util.Date dateValue) Convert a date to a long |
java.lang.Long |
toLong(java.lang.Double doubleValue) Convert a double to a long |
java.lang.String |
toString(java.lang.Object argument) Convert any data type to string |
Methods inherited from class | Name |
---|---|
class EnrichmentFunctions |
detectLanguage, extractKeyPhrases, extractNounGroups, extractWhitelistTags, geotagAddressGetCity, geotagAddressGetCountry, geotagAddressGetGeocode, geotagAddressGetPostcode, geotagAddressGetRegion, geotagAddressGetRegionID, geotagAddressGetSubRegion, geotagAddressGetSubRegionID, geotagIPAddressGetCity, geotagIPAddressGetCountry, geotagIPAddressGetGeocode, geotagIPAddressGetPostcode, geotagIPAddressGetRegion, geotagIPAddressGetRegionID, geotagIPAddressGetSubRegion, geotagIPAddressGetSubRegionID, getLocationEntities, getNegativeLocationEntitySentiment, getNegativeNounGroupsSentiment, getNegativeOrganizationEntitySentiment, getNegativePersonEntitySentiment, getNegativeTFIDFSentiment, getOrganizationEntities, getPersonEntities, getPositiveLocationEntitySentiment, getPositiveNounGroupsSentiment, getPositiveOrganizationEntitySentiment, getPositivePersonEntitySentiment, getPositiveTFIDFSentiment, getSentiment, reverseGeotagGetCity, reverseGeotagGetCountry, reverseGeotagGetPostcode, reverseGeotagGetRegion, reverseGeotagGetRegionID, reverseGeotagGetSubRegion, reverseGeotagGetSubRegionID, runExternalPlugin, stripTagsFromHTML, toPhoneticHash |
class groovy.lang.Script |
groovy.lang.Script#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.Script#evaluate(java.lang.String), groovy.lang.Script#evaluate(java.io.File), groovy.lang.Script#getBinding(), groovy.lang.Script#setBinding(groovy.lang.Binding), groovy.lang.Script#println(), groovy.lang.Script#println(java.lang.Object), groovy.lang.Script#run(java.io.File, [Ljava.lang.String;), groovy.lang.Script#run(), groovy.lang.Script#setProperty(java.lang.String, java.lang.Object), groovy.lang.Script#getProperty(java.lang.String), groovy.lang.Script#print(java.lang.Object), groovy.lang.Script#printf(java.lang.String, java.lang.Object), groovy.lang.Script#printf(java.lang.String, [Ljava.lang.Object;), groovy.lang.Script#getMetaClass(), groovy.lang.Script#setMetaClass(groovy.lang.MetaClass), groovy.lang.Script#wait(long, int), groovy.lang.Script#wait(long), groovy.lang.Script#wait(), groovy.lang.Script#equals(java.lang.Object), groovy.lang.Script#toString(), groovy.lang.Script#hashCode(), groovy.lang.Script#getClass(), groovy.lang.Script#notify(), groovy.lang.Script#notifyAll() |
Convert a number to a boolean
Convert a string to a boolean
Convert a boolean value to a double
Convert an integer to a double
Convert a long value to double
Convert a string to a double
Convert a string to Integer
Convert a double value to an integer
Convert a long to an integer
Convert a boolean to an integer
Convert a string to a long
Convert a boolean to a long
Convert a date to a long
Convert a double to a long
Convert any data type to string