io.serialized.client.projection.ProjectionRequests 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
The newest version!
package io.serialized.client.projection;
public class ProjectionRequests {
public static ProjectionRequest.Builder single(String projectionName) {
return new ProjectionRequest.Builder(ProjectionType.SINGLE).withProjectionName(projectionName);
}
public static ProjectionRequest.Builder aggregated(String projectionName) {
return new ProjectionRequest.Builder(ProjectionType.AGGREGATED).withProjectionName(projectionName);
}
}