Class Concat
- java.lang.Object
-
- org.aksw.limes.core.io.preprocessing.APreprocessingFunction
-
- org.aksw.limes.core.io.preprocessing.functions.Concat
-
- All Implemented Interfaces:
IPreprocessingFunction
public class Concat extends APreprocessingFunction implements IPreprocessingFunction
-
-
Field Summary
Fields Modifier and Type Field Description static StringGLUE_KEYWORD-
Fields inherited from class org.aksw.limes.core.io.preprocessing.APreprocessingFunction
AT, checkFunctionString, commaNotInsideQuotation
-
-
Constructor Summary
Constructors Constructor Description Concat()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceapplyFunctionAfterCheck(Instance inst, String property, String... arguments)static ArrayList<String>concatArrayElements(ArrayList<String> first, ArrayList<String> toConcat, String... glue)static ArrayList<String>concatElementsInOrder(ArrayList<ArrayList<String>> toConcatList, String... glue)static ArrayList<String>concatStringToElements(String firstPart, ArrayList<String> toConcat, String... glue)booleanisComplex()intmaxNumberOfArguments()intminNumberOfArguments()-
Methods inherited from class org.aksw.limes.core.io.preprocessing.APreprocessingFunction
applyFunction, retrieveArguments, retrieveKeywordArgumentValue, sanityCheckArguments, testIfNumberOfArgumentsIsLegal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.limes.core.io.preprocessing.IPreprocessingFunction
applyFunction
-
-
-
-
Field Detail
-
GLUE_KEYWORD
public static final String GLUE_KEYWORD
- See Also:
- Constant Field Values
-
-
Method Detail
-
applyFunctionAfterCheck
public Instance applyFunctionAfterCheck(Instance inst, String property, String... arguments)
- Specified by:
applyFunctionAfterCheckin classAPreprocessingFunction
-
concatElementsInOrder
public static ArrayList<String> concatElementsInOrder(ArrayList<ArrayList<String>> toConcatList, String... glue)
-
concatArrayElements
public static ArrayList<String> concatArrayElements(ArrayList<String> first, ArrayList<String> toConcat, String... glue)
-
concatStringToElements
public static ArrayList<String> concatStringToElements(String firstPart, ArrayList<String> toConcat, String... glue)
-
minNumberOfArguments
public int minNumberOfArguments()
- Specified by:
minNumberOfArgumentsin interfaceIPreprocessingFunction
-
maxNumberOfArguments
public int maxNumberOfArguments()
- Specified by:
maxNumberOfArgumentsin interfaceIPreprocessingFunction
-
isComplex
public boolean isComplex()
- Specified by:
isComplexin interfaceIPreprocessingFunction- Overrides:
isComplexin classAPreprocessingFunction
-
-