@Test public void getNumSampleRows() throws Exception { assertEquals(1000, CliArgs.DEFAULT_NUM_SAMPLE_ROWS); assertEquals(CliArgs.DEFAULT_NUM_SAMPLE_ROWS, cliArgs.getNumSampleRows()); cliArgs.setNumSampleRows(null); assertEquals(CliArgs.DEFAULT_NUM_SAMPLE_ROWS, cliArgs.getNumSampleRows()); cliArgs.setNumSampleRows(0); assertEquals(CliArgs.DEFAULT_NUM_SAMPLE_ROWS, cliArgs.getNumSampleRows()); cliArgs.setNumSampleRows(120); assertEquals(120, cliArgs.getNumSampleRows()); }
public int getNumSampleRows() { return numSampleRows; }
CliArgs { public int getNumSampleRows() { return numSampleRows; } }
CliArgs { public int getNumSampleRows() { return numSampleRows; }  }
CliArgs { public int getNumSampleRows() { return numSampleRows; }  void setScheme(@Nullable String primary, @Nonnull String fallback); void setPort(int port); void setUsername(@Nullable String primary, @Nonnull String fallback); void setPassword(@Nullable String primary, @Nonnull String fallback); void setDatabase(@Nullable String databaseName); void setFormat(@Nonnull Format format); void setCypher(@Nullable String cypher); void setEncryption(Encryption encryption); void setNonInteractive(boolean nonInteractive); void setInputFilename(String inputFilename); @Nonnull String getScheme(); @Nonnull String getHost(); int getPort(); @Nonnull String getUsername(); @Nonnull String getPassword(); @Nonnull String getDatabase(); @Nonnull FailBehavior getFailBehavior(); @Nonnull Optional<String> getCypher(); @Nonnull Format getFormat(); Encryption getEncryption(); boolean getDebugMode(); boolean getNonInteractive(); String getInputFilename(); boolean getVersion(); void setVersion(boolean version); boolean getDriverVersion(); void setDriverVersion(boolean version); boolean isStringShell(); boolean getWrap(); void setWrap(boolean wrap); int getNumSampleRows(); void setNumSampleRows(Integer numSampleRows); ParameterMap getParameters(); }
CliArgs { public int getNumSampleRows() { return numSampleRows; }  void setScheme(@Nullable String primary, @Nonnull String fallback); void setPort(int port); void setUsername(@Nullable String primary, @Nonnull String fallback); void setPassword(@Nullable String primary, @Nonnull String fallback); void setDatabase(@Nullable String databaseName); void setFormat(@Nonnull Format format); void setCypher(@Nullable String cypher); void setEncryption(Encryption encryption); void setNonInteractive(boolean nonInteractive); void setInputFilename(String inputFilename); @Nonnull String getScheme(); @Nonnull String getHost(); int getPort(); @Nonnull String getUsername(); @Nonnull String getPassword(); @Nonnull String getDatabase(); @Nonnull FailBehavior getFailBehavior(); @Nonnull Optional<String> getCypher(); @Nonnull Format getFormat(); Encryption getEncryption(); boolean getDebugMode(); boolean getNonInteractive(); String getInputFilename(); boolean getVersion(); void setVersion(boolean version); boolean getDriverVersion(); void setDriverVersion(boolean version); boolean isStringShell(); boolean getWrap(); void setWrap(boolean wrap); int getNumSampleRows(); void setNumSampleRows(Integer numSampleRows); ParameterMap getParameters();  }