io.serialized.client.projection.TargetSelector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serialized-client Show documentation
Show all versions of serialized-client Show documentation
Java Client for Serialized APIs
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