/** * Creates a builder for defining attributes. * * @param dbName the db name * @param tableName the table name * @param columns the columns * @return the builder */ @Deprecated // @deprecated in favour of {@link #create(HCatTable)}. To be removed in Hive 0.16. public static Builder create(String dbName, String tableName, List<HCatFieldSchema> columns) { return new Builder(dbName, tableName, columns); }
/** * Creates a builder for defining attributes. * * @param dbName the db name * @param tableName the table name * @param columns the columns * @return the builder */ @Deprecated // @deprecated in favour of {@link #create(HCatTable)}. To be removed in Hive 0.16. public static Builder create(String dbName, String tableName, List<HCatFieldSchema> columns) { return new Builder(dbName, tableName, columns); }
/** * Creates a builder for defining attributes. * * @param dbName the db name * @param tableName the table name * @param columns the columns * @return the builder */ @Deprecated // @deprecated in favour of {@link #create(HCatTable)}. To be removed in Hive 0.16. public static Builder create(String dbName, String tableName, List<HCatFieldSchema> columns) { return new Builder(dbName, tableName, columns); }
/** * Getter for HCatCreateTableDesc.Builder instance. By default, ifNotExists is false. * So the attempt to create the table is made even if the table already exists. * @param table Spec for HCatTable to be created. * @return Builder instance. */ public static Builder create(HCatTable table) { return new Builder(table, false); }
/** * Creates a builder for defining attributes. * * @param dbName the db name * @param tableName the table name * @param columns the columns * @return the builder */ @Deprecated // @deprecated in favour of {@link #create(HCatTable)}. To be removed in Hive 0.16. public static Builder create(String dbName, String tableName, List<HCatFieldSchema> columns) { return new Builder(dbName, tableName, columns); }
/** * Getter for HCatCreateTableDesc.Builder instance. * @param table Spec for HCatTable to be created. * @param ifNotExists Only create the table if it doesn't already exist. * @return Builder instance. */ public static Builder create(HCatTable table, boolean ifNotExists) { return new Builder(table, ifNotExists); }
/** * Getter for HCatCreateTableDesc.Builder instance. * @param table Spec for HCatTable to be created. * @param ifNotExists Only create the table if it doesn't already exist. * @return Builder instance. */ public static Builder create(HCatTable table, boolean ifNotExists) { return new Builder(table, ifNotExists); }
/** * Getter for HCatCreateTableDesc.Builder instance. By default, ifNotExists is false. * So the attempt to create the table is made even if the table already exists. * @param table Spec for HCatTable to be created. * @return Builder instance. */ public static Builder create(HCatTable table) { return new Builder(table, false); }
/** * Getter for HCatCreateTableDesc.Builder instance. By default, ifNotExists is false. * So the attempt to create the table is made even if the table already exists. * @param table Spec for HCatTable to be created. * @return Builder instance. */ public static Builder create(HCatTable table) { return new Builder(table, false); }
/** * Getter for HCatCreateTableDesc.Builder instance. * @param table Spec for HCatTable to be created. * @param ifNotExists Only create the table if it doesn't already exist. * @return Builder instance. */ public static Builder create(HCatTable table, boolean ifNotExists) { return new Builder(table, ifNotExists); }
/** * Getter for HCatCreateTableDesc.Builder instance. * @param table Spec for HCatTable to be created. * @param ifNotExists Only create the table if it doesn't already exist. * @return Builder instance. */ public static Builder create(HCatTable table, boolean ifNotExists) { return new Builder(table, ifNotExists); }
/** * Getter for HCatCreateTableDesc.Builder instance. By default, ifNotExists is false. * So the attempt to create the table is made even if the table already exists. * @param table Spec for HCatTable to be created. * @return Builder instance. */ public static Builder create(HCatTable table) { return new Builder(table, false); }