Class TableResultImpl.Builder

    • Method Detail

      • jobClient

        public TableResultImpl.Builder jobClient​(org.apache.flink.core.execution.JobClient jobClient)
        Specifies job client which associates the submitted Flink job.
        Parameters:
        jobClient - a JobClient for the submitted Flink job.
      • schema

        public TableResultImpl.Builder schema​(org.apache.flink.table.catalog.ResolvedSchema resolvedSchema)
        Specifies schema of the execution result.
        Parameters:
        resolvedSchema - a ResolvedSchema for the execution result.
      • data

        public TableResultImpl.Builder data​(List<org.apache.flink.types.Row> rowList)
        Specifies an row list as the execution result.
        Parameters:
        rowList - a row list as the execution result.
      • setPrintStyle

        public TableResultImpl.Builder setPrintStyle​(org.apache.flink.table.utils.print.PrintStyle printStyle)
        Specifies print style. Default is TableauStyle with max integer column width.
      • setCachedPlan

        public TableResultImpl.Builder setCachedPlan​(CachedPlan cachedPlan)
        Specifies cached plan which associates the submitted Flink job.
        Parameters:
        cachedPlan - a CachedPlan for the submitted Flink job.