public class ColumnEncryptionProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ColumnEncryptionProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ColumnEncryptionProperties.Builder |
builder(org.apache.parquet.hadoop.metadata.ColumnPath path)
Builder for encrypted columns.
|
static ColumnEncryptionProperties.Builder |
builder(String name)
Convenience builder for regular (not nested) columns.
|
byte[] |
getKeyBytes() |
byte[] |
getKeyMetaData() |
org.apache.parquet.hadoop.metadata.ColumnPath |
getPath() |
boolean |
isEncrypted() |
boolean |
isEncryptedWithFooterKey() |
public static ColumnEncryptionProperties.Builder builder(String name)
name - Flat column namepublic static ColumnEncryptionProperties.Builder builder(org.apache.parquet.hadoop.metadata.ColumnPath path)
path - Column pathpublic org.apache.parquet.hadoop.metadata.ColumnPath getPath()
public boolean isEncrypted()
public byte[] getKeyBytes()
public boolean isEncryptedWithFooterKey()
public byte[] getKeyMetaData()
Copyright © 2021 The Apache Software Foundation. All rights reserved.