Example usage for com.amazonaws.services.glue.model PartitionInput setStorageDescriptor

List of usage examples for com.amazonaws.services.glue.model PartitionInput setStorageDescriptor

Introduction

In this page you can find the example usage for com.amazonaws.services.glue.model PartitionInput setStorageDescriptor.

Prototype


public void setStorageDescriptor(StorageDescriptor storageDescriptor) 

Source Link

Document

Provides information about the physical location where the partition is stored.

Usage

From source file:com.facebook.presto.hive.metastore.glue.converter.GlueInputConverter.java

License:Apache License

public static PartitionInput convertPartition(Partition partition) {
    PartitionInput input = new PartitionInput();
    input.setValues(partition.getValues());
    input.setStorageDescriptor(convertStorage(partition.getStorage(), partition.getColumns()));
    input.setParameters(partition.getParameters());
    return input;
}