class FastDistance implements ContinuousDistance {

    public FastDistanceVectorData prepareVectorData(Row row, int vectorIdx, int... keepIdxs) {
        return prepareVectorData(Tuple2.of(VectorUtil.getVector(row.getField(vectorIdx)),
            TableUtil.getRow(row, keepIdxs)));
    }

}