Class ResultsMessage

    • Constructor Detail

      • ResultsMessage

        public ResultsMessage()
      • ResultsMessage

        public ResultsMessage​(List<? extends List<?>> results,
                              String[] columnNames,
                              String[] dataTypes)
    • Method Detail

      • getResultsList

        public List<? extends List<?>> getResultsList()
      • setResults

        public void setResults​(List<?>[] results)
      • setResults

        public void setResults​(List<? extends List<?>> results)
      • getColumnNames

        public String[] getColumnNames()
      • getDataTypes

        public String[] getDataTypes()
      • getFinalRow

        public int getFinalRow()
        Returns:
      • getFirstRow

        public int getFirstRow()
        Returns:
      • getLastRow

        public int getLastRow()
        Returns:
      • getPlanDescription

        public PlanNode getPlanDescription()
        Returns:
      • setException

        public void setException​(Throwable e)
      • setFinalRow

        public void setFinalRow​(int i)
        Parameters:
        i -
      • setFirstRow

        public void setFirstRow​(int i)
        Parameters:
        i -
      • setLastRow

        public void setLastRow​(int i)
        Parameters:
        i -
      • setPlanDescription

        public void setPlanDescription​(PlanNode object)
        Parameters:
        object -
      • setWarnings

        public void setWarnings​(List<Throwable> list)
        Parameters:
        list -
      • getParameters

        public List getParameters()
        Returns:
      • setParameters

        public void setParameters​(List list)
        Parameters:
        list -
      • setColumnNames

        public void setColumnNames​(String[] columnNames)
      • setDataTypes

        public void setDataTypes​(String[] dataTypes)
      • serialize

        public int serialize​(boolean keepSerialization)
                      throws IOException
        Serialize the result data
        Returns:
        the size of the data bytes
        Throws:
        IOException
      • getDebugLog

        public String getDebugLog()
        Returns:
      • setAnnotations

        public void setAnnotations​(Collection<Annotation> collection)
        Parameters:
        collection -
      • setDebugLog

        public void setDebugLog​(String string)
        Parameters:
        string -
      • setUpdateResult

        public void setUpdateResult​(boolean isUpdateResult)
      • isUpdateResult

        public boolean isUpdateResult()
      • getClientSerializationVersion

        public byte getClientSerializationVersion()
      • setClientSerializationVersion

        public void setClientSerializationVersion​(byte clientSerializationVersion)
      • setUpdateCount

        public void setUpdateCount​(int updateCount)
      • getUpdateCount

        public int getUpdateCount()
      • setDelayDeserialization

        public void setDelayDeserialization​(boolean delayDeserialization)