Class GetRowsCommand


  • public class GetRowsCommand
    extends Command
    Retrieves rows from a project (or importing job). Those rows can be requested as either:
    • the batch of rows starting at a given index (included), up to a certain size
    • the batch of rows ending at a given index (excluded), again up to a given size.
    Filters (defined by facets), sorting options and the row/record mode toggle can also be provided.
    • Constructor Detail

      • GetRowsCommand

        public GetRowsCommand()
    • Method Detail

      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws Exception
        This command accepts both POST and GET. It is not CSRF-protected as it does not incur any state change.
        Overrides:
        doPost in class Command
        Throws:
        Exception
      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws Exception
        Overrides:
        doGet in class Command
        Throws:
        Exception
      • internalRespond

        protected void internalRespond​(javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response)
                                throws Exception
        Throws:
        Exception
      • logRequests

        public boolean logRequests()
        Description copied from class: Command
        Whether each request to this command should be logged. For some commands that can get called too frequently, such as GetProcessesCommand, logging is very distracting.
        Overrides:
        logRequests in class Command