All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.serialized.client.projection.TargetSelector Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
package io.serialized.client.projection;

import static java.lang.String.format;

public class TargetSelector {

  private final String selector;

  private TargetSelector(String selector) {
    this.selector = selector;
  }

  public static TargetSelector targetSelector(String fieldName) {
    return new TargetSelector(format("$.projection.%s", fieldName));
  }

  public String selector() {
    return selector;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy