All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.intelie.pipes.Function Maven / Gradle / Ivy

There is a newer version: 0.25.5
Show newest version
package net.intelie.pipes;

import net.intelie.pipes.util.Classes;

import java.io.Serializable;

public interface Function extends HasHelp, Serializable {
    String FT_AND = ".f.and";
    String FT_OR = ".f.or";
    String FT_NOT = ".f.not";
    String FT_TERM = ".f.term";
    String FT_PROP = ".f.prop";
    String FT_PROP_TYPED = ".f.propt";
    String FT_CONTEXT = ".f.ctx";

    String FT_SEG_LITERAL = ".f.literal";
    String FT_SEG_FUZZY = ".f.fuzzy";
    String FT_SEG_RANGE = ".f.range";
    String FT_SEG_STAR = ".f.star";
    String FT_SEG_QUESTION = ".f.question";

    String PP_FULL = "@full";
    String PP_SIMPLE = "@simple";
    String PP_SEQUENCE = "@sequence";
    String PP_UNION = "@union";
    String PP_JOIN = "@join";
    String PP_ATOMIC = "@atomic";

    String OP_OUTPUT = ".output";
    String OP_WINDOW = ".window";
    String OP_FUNCTION_DEF = ".fndef";
    String OP_FUNCTION_DEFSTAR = ".fndefstar";
    String OP_FUNCTION_ARG = ".fnarg";
    String OP_FUNCTION_SIG = ".fnsig";
    String OP_MODULE = ".module";
    String OP_MODULE_ASSERT = ".moduleAssert";
    String OP_SORT_FIELD = ".sortfield";
    String OP_NAMED_FIELD = ".namedfield";
    String OP_EXPAND = ".expand";
    String OP_EXPLODE = ".explode";
    String OP_TOP_LEVEL = ".toplevel";
    String OP_PROPERTY = ".property";
    String OP_PEEK_PROPERTY = ".peekprop";
    String OP_PEEK = ".peek";
    String OP_FILTER = ".filter";
    String OP_OBJFIX = ".objfix";
    String OP_ARGMOD = ".argmod";
    String OP_FUN = ".fun";
    String OP_RAW = ".raw";
    String OP_PERIOD = ".period";
    String OP_SELECT_CLAUSE = ".select";
    String OP_BY = ".by";
    String OP_TRANSFORM = ".transform";
    String OP_ROW = ".row";
    String OP_AND = ".and";
    String OP_XOR = ".xor";
    String OP_OR = ".or";
    String OP_NOT = ".not";
    String OP_GT = ".gt";
    String OP_GTEQ = ".gteq";
    String OP_LT = ".lt";
    String OP_LTEQ = ".lteq";
    String OP_EQ = ".eq";
    String OP_NEQ = ".neq";
    String OP_NEG = ".neg";
    String OP_ADD = ".add";
    String OP_CONCAT = ".concat";
    String OP_SUB = ".sub";
    String OP_MUL = ".mul";
    String OP_POW = ".pow";
    String OP_DIV = ".div";
    String OP_MOD = ".mod";
    String OP_INTDIV = ".intdiv";
    String OP_COALESCE = ".coalesce";
    String OP_IIF = ".iif";
    String OP_HAT = ".hat";
    String OP_GET = ".get";

    Object declare(ArgQueue queue) throws PipeException;

    String name();

    default String description() {
        return Classes.toStringClassOf(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy