@Override
    public void encode(BsonWriter writer, ProjectedTuple value, EncoderContext encoderContext) {
      throw new UnsupportedOperationException(String.format("%s can't encode %s (only decode)", getClass().getSimpleName(), getEncoderClass().getName()));
    }
Provider for {@link ProjectedTuple}. Used when there are projections.
criteria/mongo/src/org/immutables/criteria/mongo/TupleCodecProvider.java