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

Method isAvailable

java/core/src/java/org/apache/orc/impl/SnappyCodec.java:48–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 }
47
48 @Override
49 public boolean isAvailable() {
50 if (direct == null) {
51 try {
52 ensureShim();
53 direct = (decompressShim != null);
54 } catch (UnsatisfiedLinkError ule) {
55 direct = Boolean.valueOf(false);
56 }
57 }
58 return direct.booleanValue();
59 }
60
61 @Override
62 public void directDecompress(ByteBuffer in, ByteBuffer out)

Callers

nothing calls this directly

Calls 1

ensureShimMethod · 0.95

Tested by

no test coverage detected