Interface IPreprocessingFunction
-
- All Known Implementing Classes:
APreprocessingFunction,CleanIri,CleanNumber,Concat,RegexReplace,RemoveBraces,RemoveLanguageTag,RemoveNonAlphanumeric,RenameProperty,Replace,Split,ToCelsius,ToFahrenheit,ToLowercase,ToUppercase,ToWktPoint,UriAsString
public interface IPreprocessingFunction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceapplyFunction(Instance i, String property, String... arguments)Applies the function to this instancebooleanisComplex()intmaxNumberOfArguments()intminNumberOfArguments()
-
-
-
Method Detail
-
applyFunction
Instance applyFunction(Instance i, String property, String... arguments)
Applies the function to this instance- Parameters:
i- the instance that will be preprocessedproperty- for unary operators this is the property on which the function will be applied, for n-ary fucntions this is the name of the new property where the result of the preprocessing will be storedarguments- some functions take arguments- Returns:
- the preprocessed instance
-
minNumberOfArguments
int minNumberOfArguments()
-
maxNumberOfArguments
int maxNumberOfArguments()
-
isComplex
boolean isComplex()
-
-