Class ScanOptions

java.lang.Object
com.cupoftea.spi.ScanOptions

public class ScanOptions extends Object
Options passed to FormatScanner when configuring lazy tabular scans.
  • Method Details

    • builder

      public static ScanOptions.Builder builder()
    • getFile

      public File getFile()
    • getPath

      public String getPath()
    • getSchema

      public Schema getSchema()
    • getSchemaMap

      public Map<String,Class<?>> getSchemaMap()
    • hasHeaders

      public boolean hasHeaders()
    • getDelimiter

      public Character getDelimiter()
    • getBatchSize

      public int getBatchSize()
    • getChunkSizeBytes

      public int getChunkSizeBytes()
    • isParallel

      public boolean isParallel()
    • getExecutor

      public ExecutorService getExecutor()
    • getOptions

      public Map<String,Object> getOptions()
    • getOption

      public Object getOption(String key)
    • getOption

      public <T> T getOption(String key, T defaultValue)