Class BigQuery.QueryResultsOption (2.52.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.52.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   class  BigQuery . QueryResultsOption   extends   Option  
  Class for specifying query results options.
    Inheritance 
    Object  >  
    com.google.cloud.bigquery.Option  >  
    BigQuery.QueryResultsOption 
   
  
    Inherited Members 
    
      com.google.cloud.bigquery.Option.equals(java.lang.Object) 
    
    
      com.google.cloud.bigquery.Option.hashCode() 
    
    
      com.google.cloud.bigquery.Option.toString() 
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  maxWaitTime(long maxWaitTime) 
  
    
public   static   BigQuery . QueryResultsOption   maxWaitTime ( long   maxWaitTime )  
  Returns an option that sets how long to wait for the query to complete, in milliseconds,
 before returning. Default is 10 seconds.
    
      
        Parameter  
      
        Name Description  
      
        maxWaitTimelong  
     
  
  
  pageSize(long pageSize) 
  
    
public   static   BigQuery . QueryResultsOption   pageSize ( long   pageSize )  
  Returns an option to specify the maximum number of rows returned per page.
    
      
        Parameter  
      
        Name Description  
      
        pageSizelong  
     
  
  
  pageToken(String pageToken) 
  
    
public   static   BigQuery . QueryResultsOption   pageToken ( String   pageToken )  
  Returns an option to specify the page token from which to start getting query results.
    
      
        Parameter  
      
        Name Description  
      
        pageTokenString  
     
  
  
  startIndex(long startIndex) 
  
    
public   static   BigQuery . QueryResultsOption   startIndex ( long   startIndex )  
  Returns an option that sets the zero-based index of the row from which to start getting query
 results.
    
      
        Parameter  
      
        Name Description  
      
        startIndexlong  
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]