Package

com.salesforce.op.features

types

Permalink

package types

A collection of decorators that allow converting Scala and Java types into Feature Types

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. types
  2. FeatureTypeSparkConverters
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class ArrayDoubleConversions extends AnyVal

    Permalink
  2. class Base64 extends Text

    Permalink

    Base64 encoded binary value representation

  3. class Base64Map extends TextMap

    Permalink

    Map of base64 binary encoded values

  4. class Binary extends OPNumeric[Boolean] with SingleResponse

    Permalink

    Binary value representation

  5. class BinaryMap extends OPMap[Boolean] with NumericMap with SingleResponse

    Permalink

    Map of binary values

  6. implicit final class BooleanConversions extends AnyVal

    Permalink
  7. trait Categorical extends FeatureType

    Permalink

    Represents a feature type that can only take on values from some discrete, finite number of values.

  8. class City extends Text with Location

    Permalink

    City value representation, i.e.

    City value representation, i.e. 'New York', 'Paris' etc.

  9. class CityMap extends TextMap with Location

    Permalink

    Map of city values

  10. class ComboBox extends Text

    Permalink

    A single text value that represents a selection from a set of values or a user specified one

  11. class ComboBoxMap extends TextMap

    Permalink

    Map of combobox values

  12. class Country extends Text with Location

    Permalink

    Country value representation, i.e.

    Country value representation, i.e. 'United States of America', 'France" etc.

  13. class CountryMap extends TextMap with Location

    Permalink

    Map of country values

  14. class Currency extends Real

    Permalink

    Currency value representation

  15. class CurrencyMap extends RealMap

    Permalink

    Map of currency values

  16. class Date extends Integral

    Permalink

    Date value representation

  17. class DateList extends OPList[Long]

    Permalink

    A list of date values

  18. class DateMap extends IntegralMap

    Permalink

    Map of date values

  19. class DateTime extends Date

    Permalink

    Date & time value representation

  20. class DateTimeList extends DateList

    Permalink

    A list of date & time values

  21. class DateTimeMap extends DateMap

    Permalink

    Map of date & time values

  22. implicit final class DoubleConversions extends AnyVal

    Permalink
  23. class Email extends Text

    Permalink

    Email value representation

  24. class EmailMap extends TextMap

    Permalink

    Map of email values

  25. trait FeatureType extends Serializable

    Permalink

    A representation of Feature Value Type container

  26. sealed trait FeatureTypeFactory[T <: FeatureType] extends Serializable

    Permalink

    Factory for creating Feature Type instances

    Factory for creating Feature Type instances

    T

    feature type

  27. sealed trait FeatureTypeSparkConverter[T <: FeatureType] extends Serializable

    Permalink

    Feature Type from/to Spark primitives converter, i.e Real from/to Double etc.

    Feature Type from/to Spark primitives converter, i.e Real from/to Double etc.

    T

    feature type

  28. trait FeatureTypeSparkConverters extends AnyRef

    Permalink

    All feature type from/to Spark primitives converters

  29. implicit final class FloatConversions extends AnyVal

    Permalink
  30. class Geolocation extends OPList[Double] with Location

    Permalink

    Represented as a list of latitude, longitude, accuracy The value is only populated if all are present, otherwise IllegalArgumentException is thrown.

  31. sealed abstract class GeolocationAccuracy extends IntEnumEntry

    Permalink

    Geolocation Accuracy tells you more about the location at the latitude and longitude for a give address.

    Geolocation Accuracy tells you more about the location at the latitude and longitude for a give address. For example, 'Zip' means the latitude and longitude point to the center of the zip code area.

  32. class GeolocationMap extends OPMap[Seq[Double]] with Location

    Permalink

    Map of geolocation values

  33. class ID extends Text

    Permalink

    Unique identifier value representation

  34. class IDMap extends TextMap

    Permalink

    Map of ID values

  35. implicit final class IntConversions extends AnyVal

    Permalink
  36. class Integral extends OPNumeric[Long]

    Permalink

    Integral value representation

    Integral value representation

    A base class for all the integral Feature Types

  37. class IntegralMap extends OPMap[Long] with NumericMap

    Permalink

    Map of integral values

  38. implicit final class JBooleanConversions extends AnyVal

    Permalink
  39. implicit final class JDoubleConversions extends AnyVal

    Permalink
  40. implicit final class JFloatConversions extends AnyVal

    Permalink
  41. implicit final class JIntegerConversions extends AnyVal

    Permalink
  42. implicit final class JLongConversions extends AnyVal

    Permalink
  43. implicit final class JMapBooleanConversions extends AnyVal

    Permalink
  44. implicit final class JMapDoubleConversions extends AnyVal

    Permalink
  45. implicit final class JMapLongConversions extends AnyVal

    Permalink
  46. implicit final class JMapSetConversions extends AnyVal

    Permalink
  47. implicit final class JMapStringConversions extends AnyVal

    Permalink
  48. trait Location extends FeatureType

    Permalink

    Location mixin

  49. implicit final class LongConversions extends AnyVal

    Permalink
  50. implicit final class MapBooleanConversions extends AnyVal

    Permalink
  51. implicit final class MapDoubleConversions extends AnyVal

    Permalink
  52. implicit final class MapGeolocationConversions extends AnyVal

    Permalink
  53. implicit final class MapLongConversions extends AnyVal

    Permalink
  54. implicit final class MapSetConversions extends AnyVal

    Permalink
  55. implicit final class MapStringConversions extends AnyVal

    Permalink
  56. class MultiPickList extends OPSet[String]

    Permalink

    Multi picklist value that represents a multiple selection from a set of values

  57. class MultiPickListMap extends OPMap[Set[String]] with MultiResponse

    Permalink

    Map of multi picklist values

  58. trait MultiResponse extends FeatureType with Categorical

    Permalink

    Represents a feature type that can take on zero or more of some discrete, finite number of values.

  59. trait NonNullable extends FeatureType

    Permalink

    Non Nullable mixin

  60. class NonNullableEmptyException extends IllegalArgumentException

    Permalink

    This exception is thrown when an empty or null value is passed into NonNullable feature type

  61. trait NumericMap extends AnyRef

    Permalink

    Numeric Map mixin

  62. abstract class OPCollection extends FeatureType

    Permalink

    A base class for all the collections Feature Types (maps, lists, sets, vector etc.)

  63. abstract class OPList[A] extends OPCollection

    Permalink

    A base class for all the list Feature Types

    A base class for all the list Feature Types

    A

    item type

  64. abstract class OPMap[A] extends OPCollection

    Permalink

    A base class for all the map Feature Types

    A base class for all the map Feature Types

    A

    item type

  65. abstract class OPNumeric[N] extends FeatureType

    Permalink

    A base class for all the numeric Feature Types

    A base class for all the numeric Feature Types

    N

    number type (Long, Double etc)

  66. abstract class OPSet[A] extends OPCollection with MultiResponse

    Permalink

    A base class for all the set Feature Types

  67. class OPVector extends OPCollection

    Permalink

    Vector representation

  68. implicit final class OptBooleanConversions extends AnyVal

    Permalink
  69. implicit final class OptDoubleConversions extends AnyVal

    Permalink
  70. implicit final class OptFloatConversions extends AnyVal

    Permalink
  71. implicit final class OptIntConversions extends AnyVal

    Permalink
  72. implicit final class OptLongConversions extends AnyVal

    Permalink
  73. implicit final class OptStringConversions extends AnyVal

    Permalink
  74. class Percent extends Real

    Permalink

    Percentage value representation

  75. class PercentMap extends RealMap

    Permalink

    Map of percent values

  76. class Phone extends Text

    Permalink

    Phone number value representation, i.e.

    Phone number value representation, i.e. '+1-650-113-111-2222'

  77. class PhoneMap extends TextMap

    Permalink

    Map of phone values

  78. class PickList extends Text with SingleResponse

    Permalink

    A single text value that represents a single selection from a set of values

  79. class PickListMap extends TextMap with SingleResponse

    Permalink

    Map of picklist values

  80. class PostalCode extends Text with Location

    Permalink

    Postal code value representation, i.e.

    Postal code value representation, i.e. '92101', '72212-341' etc.

  81. class PostalCodeMap extends TextMap with Location

    Permalink

    Map of postal code values

  82. class Prediction extends RealMap with NonNullable

    Permalink

    Prediction representation - a map containing prediction, and optional raw prediction and probability values.

    Prediction representation - a map containing prediction, and optional raw prediction and probability values.

    This value can only be constructed from a non empty map containing a prediction, and optional raw prediction and probability values, otherwise NonNullableEmptyException is thrown.

  83. class Real extends OPNumeric[Double]

    Permalink

    Real value representation

    Real value representation

    A base class for all the real Feature Types

  84. class RealMap extends OPMap[Double] with NumericMap

    Permalink

    Map of real values

  85. class RealNN extends Real with NonNullable

    Permalink

    Real non nullable value representation

    Real non nullable value representation

    This value can only be constructed from a concrete Double value, if empty value is passed the NonNullableEmptyException is thrown.

  86. implicit final class SeqDoubleConversions extends AnyVal

    Permalink
  87. implicit final class SeqLongConversions extends AnyVal

    Permalink
  88. implicit final class SeqStringConversions extends AnyVal

    Permalink
  89. implicit final class SetStringConversions extends AnyVal

    Permalink
  90. trait SingleResponse extends FeatureType with Categorical

    Permalink

    Represents a feature type that can take on at most one of some discrete, finite number of values.

  91. class State extends Text with Location

    Permalink

    State value representation, i.e.

    State value representation, i.e. 'CA', 'OR' etc.

  92. class StateMap extends TextMap with Location

    Permalink

    Map of state values

  93. class Street extends Text with Location

    Permalink

    Street representation, i.e.

    Street representation, i.e. '123 University Ave' etc.

  94. class StreetMap extends TextMap with Location

    Permalink

    Map of street values

  95. implicit final class StringConversions extends AnyVal

    Permalink
  96. class Text extends FeatureType

    Permalink

    Text value representation

    Text value representation

    A base class for all the text Feature Types

  97. class TextArea extends Text

    Permalink

    Large text values (more than 4000 bytes)

  98. class TextAreaMap extends TextMap

    Permalink

    Map of text area values

  99. class TextList extends OPList[String]

    Permalink

    A list of text values

  100. class TextMap extends OPMap[String]

    Permalink

    Map of text values

  101. implicit final class Tup3DoubleConversions extends AnyVal

    Permalink
  102. class URL extends Text

    Permalink

    URL value representation

  103. class URLMap extends TextMap

    Permalink

    Map of URL values

  104. implicit final class VectorConversions extends AnyVal

    Permalink

Value Members

  1. object Base64 extends Serializable

    Permalink
  2. implicit val Base64Converter: FeatureTypeSparkConverter[Base64]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  3. object Base64Map extends Serializable

    Permalink
  4. implicit val Base64MapConverter: FeatureTypeSparkConverter[Base64Map]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  5. object Binary extends Serializable

    Permalink
  6. implicit val BinaryConverter: FeatureTypeSparkConverter[Binary]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  7. object BinaryMap extends Serializable

    Permalink
  8. implicit val BinaryMapConverter: FeatureTypeSparkConverter[BinaryMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  9. object City extends Serializable

    Permalink
  10. implicit val CityConverter: FeatureTypeSparkConverter[City]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  11. object CityMap extends Serializable

    Permalink
  12. implicit val CityMapConverter: FeatureTypeSparkConverter[CityMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  13. object ComboBox extends Serializable

    Permalink
  14. implicit val ComboBoxConverter: FeatureTypeSparkConverter[ComboBox]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  15. object ComboBoxMap extends Serializable

    Permalink
  16. implicit val ComboBoxMapConverter: FeatureTypeSparkConverter[ComboBoxMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  17. object Country extends Serializable

    Permalink
  18. implicit val CountryConverter: FeatureTypeSparkConverter[Country]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  19. object CountryMap extends Serializable

    Permalink
  20. implicit val CountryMapConverter: FeatureTypeSparkConverter[CountryMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  21. object Currency extends Serializable

    Permalink
  22. implicit val CurrencyConverter: FeatureTypeSparkConverter[Currency]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  23. object CurrencyMap extends Serializable

    Permalink
  24. implicit val CurrencyMapConverter: FeatureTypeSparkConverter[CurrencyMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  25. object Date extends Serializable

    Permalink
  26. implicit val DateConverter: FeatureTypeSparkConverter[Date]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  27. object DateList extends Serializable

    Permalink
  28. implicit val DateListConverter: FeatureTypeSparkConverter[DateList]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  29. object DateMap extends Serializable

    Permalink
  30. implicit val DateMapConverter: FeatureTypeSparkConverter[DateMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  31. object DateTime extends Serializable

    Permalink
  32. implicit val DateTimeConverter: FeatureTypeSparkConverter[DateTime]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  33. object DateTimeList extends Serializable

    Permalink
  34. implicit val DateTimeListConverter: FeatureTypeSparkConverter[DateTimeList]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  35. object DateTimeMap extends Serializable

    Permalink
  36. implicit val DateTimeMapConverter: FeatureTypeSparkConverter[DateTimeMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  37. object Email extends Serializable

    Permalink
  38. implicit val EmailConverter: FeatureTypeSparkConverter[Email]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  39. object EmailMap extends Serializable

    Permalink
  40. implicit val EmailMapConverter: FeatureTypeSparkConverter[EmailMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  41. object FeatureType extends Serializable

    Permalink

    Feature value type related functions

  42. object FeatureTypeDefaults extends Product with Serializable

    Permalink

    Default values for Feature Types

  43. object FeatureTypeFactory extends Product with Serializable

    Permalink

    Factory for creating Feature Type instances from primitive values

  44. object FeatureTypeSparkConverter extends Product with Serializable

    Permalink

    Feature type from/to Spark primitives converter, i.e Real from/to Double etc.

  45. object FeatureTypeSparkConverters extends FeatureTypeSparkConverters with Product with Serializable

    Permalink

    All feature type from/to Spark primitives converters

  46. object Geolocation extends Serializable

    Permalink

    Represented as a list of latitude, longitude, accuracy (only populated if all are present)

  47. object GeolocationAccuracy extends IntEnum[GeolocationAccuracy] with Product with Serializable

    Permalink
  48. implicit val GeolocationConverter: FeatureTypeSparkConverter[Geolocation]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  49. object GeolocationMap extends Serializable

    Permalink
  50. implicit val GeolocationMapConverter: FeatureTypeSparkConverter[GeolocationMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  51. object ID extends Serializable

    Permalink
  52. implicit val IDConverter: FeatureTypeSparkConverter[ID]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  53. object IDMap extends Serializable

    Permalink
  54. implicit val IDMapConverter: FeatureTypeSparkConverter[IDMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  55. object Integral extends Serializable

    Permalink
  56. implicit val IntegralConverter: FeatureTypeSparkConverter[Integral]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  57. object IntegralMap extends Serializable

    Permalink
  58. implicit val IntegralMapConverter: FeatureTypeSparkConverter[IntegralMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  59. object MultiPickList extends Serializable

    Permalink
  60. implicit val MultiPickListConverter: FeatureTypeSparkConverter[MultiPickList]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  61. object MultiPickListMap extends Serializable

    Permalink
  62. implicit val MultiPickListMapConverter: FeatureTypeSparkConverter[MultiPickListMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  63. object OPVector extends Serializable

    Permalink
  64. implicit val OPVectorConverter: FeatureTypeSparkConverter[OPVector]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  65. object Percent extends Serializable

    Permalink
  66. implicit val PercentConverter: FeatureTypeSparkConverter[Percent]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  67. object PercentMap extends Serializable

    Permalink
  68. implicit val PercentMapConverter: FeatureTypeSparkConverter[PercentMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  69. object Phone extends Serializable

    Permalink
  70. implicit val PhoneConverter: FeatureTypeSparkConverter[Phone]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  71. object PhoneMap extends Serializable

    Permalink
  72. implicit val PhoneMapConverter: FeatureTypeSparkConverter[PhoneMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  73. object PickList extends Serializable

    Permalink
  74. implicit val PickListConverter: FeatureTypeSparkConverter[PickList]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  75. object PickListMap extends Serializable

    Permalink
  76. implicit val PickListMapConverter: FeatureTypeSparkConverter[PickListMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  77. object PostalCode extends Serializable

    Permalink
  78. implicit val PostalCodeConverter: FeatureTypeSparkConverter[PostalCode]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  79. object PostalCodeMap extends Serializable

    Permalink
  80. implicit val PostalCodeMapConverter: FeatureTypeSparkConverter[PostalCodeMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  81. object Prediction extends Serializable

    Permalink
  82. implicit val PredictionConverter: FeatureTypeSparkConverter[Prediction]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  83. object Real extends Serializable

    Permalink
  84. implicit val RealConverter: FeatureTypeSparkConverter[Real]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  85. object RealMap extends Serializable

    Permalink
  86. implicit val RealMapConverter: FeatureTypeSparkConverter[RealMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  87. object RealNN extends Serializable

    Permalink
  88. implicit val RealNNConverter: FeatureTypeSparkConverter[RealNN]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  89. object SomeValue

    Permalink

    Extractor for non empty feature type value

  90. object State extends Serializable

    Permalink
  91. implicit val StateConverter: FeatureTypeSparkConverter[State]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  92. object StateMap extends Serializable

    Permalink
  93. implicit val StateMapConverter: FeatureTypeSparkConverter[StateMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  94. object Street extends Serializable

    Permalink
  95. implicit val StreetConverter: FeatureTypeSparkConverter[Street]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  96. object StreetMap extends Serializable

    Permalink
  97. implicit val StreetMapConverter: FeatureTypeSparkConverter[StreetMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  98. object Text extends Serializable

    Permalink
  99. object TextArea extends Serializable

    Permalink
  100. implicit val TextAreaConverter: FeatureTypeSparkConverter[TextArea]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  101. object TextAreaMap extends Serializable

    Permalink
  102. implicit val TextAreaMapConverter: FeatureTypeSparkConverter[TextAreaMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  103. implicit val TextConverter: FeatureTypeSparkConverter[Text]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  104. object TextList extends Serializable

    Permalink
  105. implicit val TextListConverter: FeatureTypeSparkConverter[TextList]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  106. object TextMap extends Serializable

    Permalink
  107. implicit val TextMapConverter: FeatureTypeSparkConverter[TextMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  108. object URL extends Serializable

    Permalink
  109. implicit val URLConverter: FeatureTypeSparkConverter[URL]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  110. object URLMap extends Serializable

    Permalink
  111. implicit val URLMapConverter: FeatureTypeSparkConverter[URLMap]

    Permalink
    Definition Classes
    FeatureTypeSparkConverters
  112. implicit def booleanToRealMap(m: Map[String, Boolean]): Map[String, Double]

    Permalink
  113. implicit def intMapToRealMap(m: Map[String, Long]): Map[String, Double]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped