@Override
public FunctionDefinition[] getFunctionDefintions() {
return new FunctionDefinition[] {
FunctionDefinition.simple("repeated_contains", new BasicArgumentValidator( //
new Arg("repeatedToSearch", //
Types.repeated(MinorType.BIGINT), //
Types.repeated(MinorType.INT)), //
new Arg("targetValue", Types.required(MinorType.BIGINT))), //
OutputTypeDeterminer.FixedType.FIXED_BIT),
FunctionDefinition.simple(
"repeated_count",
new BasicArgumentValidator(new Arg("repeatedToSearch", Types.repeated(MinorType.BIGINT), Types
.repeated(MinorType.INT))), new OutputTypeDeterminer.FixedType(Types.required(MinorType.INT)))
};
}