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

Method hasTimestamp

java/core/src/java/org/apache/orc/impl/WriterImpl.java:946–959  ·  view source on GitHub ↗
(TypeDescription schema)

Source from the content-addressed store, hash-verified

944 }
945
946 private static boolean hasTimestamp(TypeDescription schema) {
947 if (schema.getCategory() == TypeDescription.Category.TIMESTAMP) {
948 return true;
949 }
950 List<TypeDescription> children = schema.getChildren();
951 if (children != null) {
952 for (TypeDescription child : children) {
953 if (hasTimestamp(child)) {
954 return true;
955 }
956 }
957 }
958 return false;
959 }
960
961 private WriterEncryptionKey getKey(String keyName,
962 KeyProvider provider) throws IOException {

Callers 1

WriterImplMethod · 0.95

Calls 2

getCategoryMethod · 0.80
getChildrenMethod · 0.80

Tested by

no test coverage detected