@SuppressWarnings("static-access")
  protected Options getOptions() {
    Options options = new Options();
    options.addOption(OptionBuilder.withLongOpt(CARDINALITY_PARAM).hasArg().withArgName("n")
        .withDescription("Expected cardinality of vector data.").create());
    options
        .addOption(OptionBuilder
            .withLongOpt(DENSE_PARAM)
            .withDescription(
                "If specified along with cardinality, reported LOAD schema will be dense.")
            .create());
    options.addOption(OptionBuilder.withLongOpt(SPARSE_PARAM)
        .withDescription("If specified, reported LOAD schema will be sparse.").create());
    options.addOption(OptionBuilder
        .withLongOpt(SEQUENTIAL_PARAM)
        .withDescription(
            "If specified, Pig vector data will be converted to"
                + " SequentialAccessSparseVector data on STORE."
                + " Otherwise, RandomAccessSparseVector is used.").create());
    options.addOption(OptionBuilder.withLongOpt(FLOAT_PRECISION_PARAM)
        .withDescription("If specified, float precision will be used when writing output data.")
        .create());
    return options;
  }
@ SuppressWarnings ( "static-access" ) protected Options getOptions ( ) { Options options = new Options ( ) ; options . addOption ( OptionBuilder . withLongOpt ( CARDINALITY_PARAM ) . hasArg ( ) . withArgName ( "n" ) . withDescription ( "Expected cardinality of vector data." ) . create ( ) ) ; options . addOption ( OptionBuilder . withLongOpt ( DENSE_PARAM ) . withDescription ( "If specified along with cardinality, reported LOAD schema will be dense." ) . create ( ) ) ; options . addOption ( OptionBuilder . withLongOpt ( SPARSE_PARAM ) . withDescription ( "If specified, reported LOAD schema will be sparse." ) . create ( ) ) ; options . addOption ( OptionBuilder . withLongOpt ( SEQUENTIAL_PARAM ) . withDescription ( "If specified, Pig vector data will be converted to" + " SequentialAccessSparseVector data on STORE." + " Otherwise, RandomAccessSparseVector is used." ) . create ( ) ) ; options . addOption ( OptionBuilder . withLongOpt ( FLOAT_PRECISION_PARAM ) . withDescription ( "If specified, float precision will be used when writing output data." ) . create ( ) ) ; return options ; }
@return Options to parse from {@code String[] args} on construction.