com.introproventures.graphql.jpa.query.schema.relay.PagingArguments Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-jpa-query-schema Show documentation
Show all versions of graphql-jpa-query-schema Show documentation
Provides GraphQL JPA Query Schema Generation and Execution Support
The newest version!
package com.introproventures.graphql.jpa.query.schema.relay;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public class PagingArguments {
private final String after;
private final Integer first;
private final String before;
private final Integer last;
private final List sortFields = Collections.emptyList();
public PagingArguments(Map arguments) {
this.after = (String) arguments.get("after");
this.first = (Integer) arguments.get("first");
this.before = (String) arguments.get("before");
this.last = (Integer) arguments.get("last");
}
public String getAfter() {
return after;
}
public Integer getFirst() {
return first;
}
public String getBefore() {
return before;
}
public Integer getLast() {
return last;
}
public List getSortFields() {
return sortFields;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy