public static class GoogleHadoopFileSystemBase.ParentTimestampUpdateIncludePredicate extends java.lang.Object implements GoogleCloudStorageFileSystemOptions.TimestampUpdatePredicate
| Constructor and Description |
|---|
ParentTimestampUpdateIncludePredicate(boolean enableTimestampUpdates,
java.util.Collection<java.lang.String> includeSubstrings,
java.util.Collection<java.lang.String> excludeSubstrings) |
| Modifier and Type | Method and Description |
|---|---|
static GoogleHadoopFileSystemBase.ParentTimestampUpdateIncludePredicate |
create(org.apache.hadoop.conf.Configuration config)
Create a new ParentTimestampUpdateIncludePredicate from the passed Hadoop configuration
object.
|
boolean |
shouldUpdateTimestamp(java.net.URI uri)
Determine if updating directory timestamps should be ignored.
|
public ParentTimestampUpdateIncludePredicate(boolean enableTimestampUpdates,
java.util.Collection<java.lang.String> includeSubstrings,
java.util.Collection<java.lang.String> excludeSubstrings)
public static GoogleHadoopFileSystemBase.ParentTimestampUpdateIncludePredicate create(org.apache.hadoop.conf.Configuration config)
public boolean shouldUpdateTimestamp(java.net.URI uri)
shouldUpdateTimestamp in interface GoogleCloudStorageFileSystemOptions.TimestampUpdatePredicateCopyright © 2019. All rights reserved.