@Override public Procedure get() { return new Procedure( "system", "write_hive_metastore_recording", ImmutableList.of(), WRITE_HIVE_METASTORE_RECORDING.bindTo(this)); }
private Procedure procedure(String schema, String name, String methodName, List<Argument> arguments) { return new Procedure(schema, name, arguments, handle(methodName)); }
public Procedure getProcedure() { return new Procedure( "runtime", "kill_query", ImmutableList.<Argument>builder() .add(new Argument("query_id", VARCHAR)) .add(new Argument("message", VARCHAR)) .build(), KILL_QUERY.bindTo(this)); }
public Procedure getProcedure() { return new Procedure( "runtime", "kill_query", ImmutableList.<Argument>builder() .add(new Argument("query_id", VARCHAR)) .add(new Argument("message", VARCHAR)) .build(), KILL_QUERY.bindTo(this)); }
public Procedure getDropPartitionProcedure() { return new Procedure( "system", "drop_range_partition", ImmutableList.of(new Argument("schema", VARCHAR), new Argument("table", VARCHAR), new Argument("range_bounds", VARCHAR)), DROP.bindTo(this)); }
public Procedure getAddPartitionProcedure() { return new Procedure( "system", "add_range_partition", ImmutableList.of(new Argument("schema", VARCHAR), new Argument("table", VARCHAR), new Argument("range_bounds", VARCHAR)), ADD.bindTo(this)); }
@Override public Procedure get() { return new Procedure( "system", "create_empty_partition", ImmutableList.of( new Argument("schema_name", VARCHAR), new Argument("table_name", VARCHAR), new Argument("partition_columns", "array(varchar)"), new Argument("partition_values", "array(varchar)")), CREATE_EMPTY_PARTITION.bindTo(this)); }