/** * File format. * * @param format the format * @return the builder */ @Deprecated // @deprecated in favour of {@link HCatTable.#fileFormat(String)}. To be removed in Hive 0.16. public Builder fileFormat(String format) { this.hcatTable.fileFormat(format); return this; } /**
/** * Gets the file format. * * @return the file format */ @Deprecated // @deprecated in favour of {@link HCatTable.#fileFormat()}. To be removed in Hive 0.16. public String getFileFormat() { return this.hcatTable.fileFormat(); }
HCatTable table = new HCatTable(dbName, tableName).cols(cols) .partCols(ptnCols) .fileFormat("sequenceFile"); HCatCreateTableDesc tableDesc = HCatCreateTableDesc.create(table, false).build(); client.createTable(tableDesc);
client.createDatabase(HCatCreateDBDesc.create(dbName).ifNotExists(false).build()); HCatTable table = (new HCatTable(dbName, tableName)).cols(cols).fileFormat("textfile");
client.createDatabase(HCatCreateDBDesc.create(dbName).ifNotExists(false).build()); HCatTable table = (new HCatTable(dbName, tableName)).cols(cols).fileFormat("textfile");
tableParams.put("orc.compress", "ZLIB"); .fileFormat("orcfile") // Change SerDe, File I/O formats. .tblProps(tableParams) .serdeParam(serdeConstants.FIELD_DELIM, Character.toString('\001'));
tableParams.put("orc.compress", "ZLIB"); .fileFormat("orcfile") // Change SerDe, File I/O formats. .tblProps(tableParams) .serdeParam(serdeConstants.FIELD_DELIM, Character.toString('\001'));
tableParams.put("orc.compress", "ZLIB"); .fileFormat("orcfile") // Change SerDe, File I/O formats. .tblProps(tableParams) .serdeParam(serdeConstants.FIELD_DELIM, Character.toString('\001'));
/** * Gets the file format. * * @return the file format */ @Deprecated // @deprecated in favour of {@link HCatTable.#fileFormat()}. To be removed in Hive 0.16. public String getFileFormat() { return this.hcatTable.fileFormat(); }
/** * Gets the file format. * * @return the file format */ @Deprecated // @deprecated in favour of {@link HCatTable.#fileFormat()}. To be removed in Hive 0.16. public String getFileFormat() { return this.hcatTable.fileFormat(); }
/** * File format. * * @param format the format * @return the builder */ @Deprecated // @deprecated in favour of {@link HCatTable.#fileFormat(String)}. To be removed in Hive 0.16. public Builder fileFormat(String format) { this.hcatTable.fileFormat(format); return this; } /**
/** * File format. * * @param format the format * @return the builder */ @Deprecated // @deprecated in favour of {@link HCatTable.#fileFormat(String)}. To be removed in Hive 0.16. public Builder fileFormat(String format) { this.hcatTable.fileFormat(format); return this; } /**
/** * Gets the file format. * * @return the file format */ @Deprecated // @deprecated in favour of {@link HCatTable.#fileFormat()}. To be removed in Hive 0.16. public String getFileFormat() { return this.hcatTable.fileFormat(); }
/** * File format. * * @param format the format * @return the builder */ @Deprecated // @deprecated in favour of {@link HCatTable.#fileFormat(String)}. To be removed in Hive 0.16. public Builder fileFormat(String format) { this.hcatTable.fileFormat(format); return this; } /**