class ParseRESTQueryCommand extends ParseRESTCommand {

  public static <T extends ParseObject> ParseRESTQueryCommand findCommand(
      ParseQuery.State<T> state, String sessionToken) {
    String httpPath = String.format("classes/%s", state.className());
    Map <String, String> parameters = encode(state, false);
    return new ParseRESTQueryCommand(
        httpPath, ParseHttpRequest.Method.GET, parameters, sessionToken);
  }

  private  ParseRESTQueryCommand(
      String httpPath,
      ParseHttpRequest.Method httpMethod,
      Map<String, ?> parameters,
      String sessionToken);

}