类 AbstractDataResult<T>

    • 方法详细资料

      • fetchAll

        public List<T> fetchAll()
        Create a list of all elements in the result forcing internal buffering.
        返回:
        list of result elements
      • count

        public long count()
        Return the number of items in this result. Forces internal buffering of the entire result.
        返回:
        number of elements in result
      • hasNext

        public boolean hasNext()
        指定者:
        hasNext 在接口中 Iterator<T>
      • getStatementExecuteOk

        public StatementExecuteOk getStatementExecuteOk()
        Get StatementExecuteOk object finalizing the result transfer. Forces internal buffering of the entire result.
        返回:
        StatementExecuteOk object
      • finishStreaming

        public void finishStreaming()
        从接口复制的说明: ResultStreamer
        Finish the result streaming. This happens if a new command is started or the warnings/etc are requested. This is safe to call multiple times and only has an effect the first time.
        指定者:
        finishStreaming 在接口中 ResultStreamer
      • getAffectedItemsCount

        public long getAffectedItemsCount()
        从接口复制的说明: Result
        Get the count of affected items from manipulation statements. This method forces internal buffering of the result.
        指定者:
        getAffectedItemsCount 在接口中 Result
        返回:
        count
      • getWarningsCount

        public int getWarningsCount()
        从接口复制的说明: Result
        Get the number of warnings generated during statement execution. This method forces internal buffering of the result.
        指定者:
        getWarningsCount 在接口中 Result
        返回:
        number of warnings
      • getWarnings

        public Iterator<Warning> getWarnings()
        从接口复制的说明: Result
        Get warnings generated during statement execution. This method forces internal buffering of the result.
        指定者:
        getWarnings 在接口中 Result
        返回:
        iterator over warnings