public static List<Writable> sampleInvalidFromColumnSequence(int numToSample, String columnName, Schema schema,
                    JavaRDD<List<List<Writable>>> data) {
        JavaRDD<List<Writable>> flattened = data.flatMap(new SequenceFlatMapFunction());
        return sampleInvalidFromColumn(numToSample, columnName, schema, flattened);
    }
public static List < Writable > sampleInvalidFromColumnSequence ( int numToSample , String columnName , Schema schema , JavaRDD < List < List < Writable > > > data ) { JavaRDD < List < Writable > > flattened = data . flatMap ( new SequenceFlatMapFunction ( ) ) ; return sampleInvalidFromColumn ( numToSample , columnName , schema , flattened ) ; }
Randomly sample a set of invalid values from a specified column, for a sequence data set.
Values are considered invalid according to the Schema / ColumnMetaData

@param numToSample    Maximum number of invalid values to sample
@param columnName     Same of the column from which to sample invalid values
@param schema         Data schema
@param data           Data
@return               List of invalid examples