com.opendatagroup.hadrian.ast

Fcn

trait Fcn extends AnyRef

Trait for a function in PFA: could be a library function, user-defined function, or emit.

Linear Supertypes
AnyRef, Any
Known Subclasses
ACos, ASin, ATan, ATan2, Abs, AbsDiff, Add, Add, All, Any, Append, Argmax, Argmax, ArgmaxLT, ArgmaxLT, ArgmaxN, ArgmaxN, ArgmaxNLT, ArgmaxNLT, Argmin, Argmin, ArgminLT, ArgminLT, ArgminN, ArgminN, ArgminNLT, ArgminNLT, BallR, Bernoulli, BetaCDF, BetaPDF, BetaQF, Bin, BinarySimilarity, BinomialCDF, BinomialPDF, BinomialQF, BitwiseAnd, BitwiseNot, BitwiseOr, BitwiseXOr, CLogLog, CastAvro, CastJson, Cauchit, CauchyCDF, CauchyPDF, CauchyQF, Ceil, Chebyshev, Chi2CDF, Chi2PDF, Chi2Prob, Chi2Prob, Chi2QF, Closest, ClosestN, Combinations, Comparison, CompoundTest, Concat, Concat, Contains, Contains, Contains, ContainsKey, ContainsValue, CopySign, Corresponds, Corresponds, CorrespondsWithIndex, CorrespondsWithKey, Cos, CosH, Count, Count, Count, Cycle, DayOfMonth, DayOfWeek, DayOfYear, DecodeAscii, DecodeLatin1, DecodeUtf16, DecodeUtf16BE, DecodeUtf16LE, DecodeUtf8, DefaultOnNonNum, DefaultOnNull, Det, Diff, Diff, Disjoint, Disjoint, Distinct, Divide, Dot, DropWhile, E, EigenBasis, EmitFcn, EncodeAscii, EncodeLatin1, EncodeUtf16, EncodeUtf16BE, EncodeUtf16LE, EncodeUtf8, EndsWith, EndsWith, Equal, Erf, Erfc, ErrorOnNonNum, ErrorOnNull, Euclidean, Except, Exp, ExpM1, ExponentialCDF, ExponentialPDF, ExponentialQF, FCDF, FPDF, FQF, FanoutBoolean, FanoutDouble, FanoutFloat, FanoutInt, FanoutLong, FillCounter, FillHistogram, FillHistogram2d, Filter, Filter, FilterMap, FilterMap, FilterMapWithIndex, FilterMapWithKey, FilterWithIndex, FilterWithKey, FindAll, FindFirst, FindGroupsAll, FindGroupsFirst, FlatMap, FlatMap, FlatMapWithIndex, FlatMapWithKey, Flatten, Floor, FloorDivide, Fold, FoldRight, Forecast1HoltWinters, ForecastHoltWinters, FromBase64, FromBytes, FromSet, GammaCDF, GammaPDF, GammaQF, Gaussian, Gaussian, GaussianCDF, GaussianLL, GaussianProcess, GaussianQF, GaussianSimilarity, GeoMean, GeometricCDF, GeometricPDF, GeometricQF, GreaterOrEqual, GreaterThan, GroupBy, Groups, GroupsAll, Head, Hex, HourOfDay, HypergeometricCDF, HypergeometricPDF, HypergeometricQF, Hypot, In, Index, Index, Index, IndexAll, Init, Insert, Intersection, Intersection, Inverse, IsAscii, IsDayOfMonth, IsDayOfWeek, IsDayOfYear, IsHourOfDay, IsInf, IsLatin1, IsMinuteOfHour, IsMonthOfYear, IsNan, IsNum, IsSecondOfMinute, IsUtf16, IsUtf16BE, IsUtf16LE, IsUtf8, IsWeekend, IsWorkHours, Jaccard, Join, Join, KMeansIteration, KSTwoSample, Keys, KleeneAnd, KleeneNot, KleeneOr, LStrip, Last, Len, Len, Len, Len, LessOrEqual, LessThan, LibFcn, Linear, Linear, Linear, LinearFlat, LinearMissing, LinearVariance, Ln, Ln1p, LnBeta, LnGamma, Lnsum, Log, Log10, LogLog, LogicalAnd, LogicalNot, LogicalOr, LogicalXOr, Logit, LognormalCDF, LognormalPDF, LognormalQF, Logsumexp, Lower, Mahalanobis, Mahalanobis, MakeTimestamp, MapApply, MapApply, MapApply, MapWithIndex, MapWithKey, Max, Max, MaxLT, MaxN, MaxNLT, Mean, Mean, Median, MetricWithMissingValues, Min, Min, MinLT, MinN, MinNLT, Minkowski, Minus, MinuteOfHour, MissingTest, MissingWalk, Mode, Modulo, MonthOfYear, Multinomial, NChooseK, NTile, Nearest, NearestK, Negative, NegativeBinomialCDF, NegativeBinomialPDF, NegativeBinomialQF, NotEqual, NumSymbols, Number, Only, ParseDouble, ParseFloat, ParseInt, ParseLong, Permutations, Pi, Plus, PoissonCDF, PoissonPDF, PoissonQF, Poly, Pow, Probit, Product, Pull, Pull, RBF, RIndex, RIndex, RIndex, RInt, RStrip, RandomBytes, RandomChoice, RandomChoices, RandomDouble, RandomFloat, RandomHistogram, RandomInt, RandomLong, RandomSample, RandomSeeds, RandomString, RandomUUID, RandomUUID4, Reduce, ReduceRight, ReducedChi2, ReducedChi2, Relu, Remainder, Remove, Remove, Repeat, Replace, ReplaceAll, ReplaceAll, ReplaceFirst, ReplaceFirst, ReplaceLast, ReplaceLast, Residual, Residual, Reverse, Rotate, Round, Scale, Score, SecondOfMinute, SetEq, Shuffle, Sigmoid, Signum, SimpleEuclidean, SimpleLayers, SimpleMatching, SimpleTest, SimpleTree, SimpleWalk, Sin, SinH, SlidingWindow, SoftMax, Softplus, Sort, SortLT, Split, Split, Split, Sqrt, SquaredEuclidean, StartsWith, StartsWith, StringInt, Strip, Sub, Subseq, Subseq, SubseqTo, SubseqTo, Subset, Subset, Substr, SubstrTo, Sum, SurrogateTest, SymDiff, SymDiff, Symmetric, TCDF, TPDF, TQF, Tail, TakeWhile, Tan, TanH, Tanh, Tanimoto, Taxicab, Times, ToBase64, ToBytes, ToDouble, ToFloat, ToInt, ToInt, ToLong, ToSet, ToSigned, ToString, ToUnsigned, TopN, Trace, Translate, Transpose, Truncate, UniformCDF, UniformPDF, UniformQF, Union, Union, Update, Update, UpdateCUSUM, UpdateChi2, UpdateChi2, UpdateCovariance, UpdateEWMA, UpdateHoltWinters, UpdateHoltWintersPeriodic, UpdateMean, UpdateTrigger, UpdateWindow, Upper, UserFcn, Values, WeibullCDF, WeibullPDF, WeibullQF, Year, ZValue, ZipMap, ZipMap, ZipMap, ZipMapWithIndex, ZipMapWithKey
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Fcn
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def javaCode(args: Seq[JavaCode], argContext: Seq[AstContext], paramTypes: Seq[Type], retType: AvroType, engineOptions: EngineOptions): JavaCode

    Java code for a call of this function (not a reference to the function).

    Java code for a call of this function (not a reference to the function).

    args

    Java code for each argument

    argContext

    context objects for the arguments, after semantics checks

    paramTypes

    argument types after generics-resolution

    retType

    return type after generics-resolution

    engineOptions

    global options for this scoring engine (may be set in PFA or overridden by host environment)

    returns

    Java code for a call of this function

  2. abstract def javaRef(fcnType: FcnType): JavaCode

    Java code for a reference to this function (not a call of this function).

    Java code for a reference to this function (not a call of this function).

    fcnType

    argument and return types after generics-resolution

    returns

    Java code for a reference to this function

  3. abstract def sig: Signature

    Signature of the function as used in PFA.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def deprecationWarning(sig: Sig, version: PFAVersion): Unit

    Write a deprecation warning on standard error if a matched signature is in the deprecated interval of its lifespan, given the requested PFA version.

    Write a deprecation warning on standard error if a matched signature is in the deprecated interval of its lifespan, given the requested PFA version.

    sig

    the signature (we assume that is has already been matched)

    version

    the requested PFA version

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  19. def toString(): String

    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def wrapArg(i: Int, args: Seq[JavaCode], paramTypes: Seq[Type], boxed: Boolean): String

    Utility function for adding an explicit cast to one argument.

    Utility function for adding an explicit cast to one argument.

    i

    argument number

    args

    Java code for each argument

    paramTypes

    argument types after generics-resolution

    boxed

    if true, cast as a boxed primitive; if false use a raw primitive

    returns

    Java code for one argument (as a String)

  24. def wrapArgs(args: Seq[JavaCode], paramTypes: Seq[Type], boxed: Boolean): String

    Utility function for adding explicit casts to each argument.

    Utility function for adding explicit casts to each argument.

    args

    Java code for each argument

    paramTypes

    argument types after generics-resolution

    boxed

    if true, cast with boxed primitives; if false, use the raw primitives

    returns

    Java code for the arguments (as a String)

Inherited from AnyRef

Inherited from Any

Ungrouped