Example usage for org.apache.spark.api.java.function FilterFunction interface-usage

List of usage examples for org.apache.spark.api.java.function FilterFunction interface-usage

Introduction

In this page you can find the example usage for org.apache.spark.api.java.function FilterFunction interface-usage.

Usage

From source file de.qaware.chronix.spark.api.java.functions.FilterObservationByTimestamp.java

/**
 * Filters out observations at a given timestamp
 * (or at a time range around the timestamp).
 */
public class FilterObservationByTimestamp implements FilterFunction<MetricObservation> {

From source file org.apache.metron.profiler.spark.function.reader.IsValidJSON.java

/**
 * A filter function that filters out invalid JSON records.
 */
public class IsValidJSON implements FilterFunction<String> {

    @Override

From source file org.eclairjs.nashorn.JSFilterFunction.java

public class JSFilterFunction extends JSBaseFunction implements FilterFunction {
    public JSFilterFunction(String func, Object[] o) {
        super(func, o);
    }

    @SuppressWarnings("unchecked")