MCPcopy Index your code
hub / github.com/apache/orc / NullKeyProvider

Class NullKeyProvider

java/shims/src/java/org/apache/orc/impl/NullKeyProvider.java:25–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23import java.util.List;
24
25class NullKeyProvider implements KeyProvider {
26
27 @Override
28 public List<String> getKeyNames() {
29 return new ArrayList<>();
30 }
31
32 @Override
33 public HadoopShims.KeyMetadata getCurrentKeyVersion(String keyName) {
34 throw new IllegalArgumentException("Unknown key " + keyName);
35 }
36
37 @Override
38 public LocalKey createLocalKey(HadoopShims.KeyMetadata key) {
39 throw new IllegalArgumentException("Unknown key " + key);
40 }
41
42 @Override
43 public Key decryptLocalKey(HadoopShims.KeyMetadata key, byte[] encryptedKey) {
44 return null;
45 }
46
47 @Override
48 public HadoopShims.KeyProviderKind getKind() {
49 return null;
50 }
51}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected