object FileListUtils extends Logging
- Alphabetic
- By Inheritance
- FileListUtils
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDestinationFiles(sparkContext: SparkContext, destinationPath: Path, options: SparkDistCPOptions): RDD[(URI, SerializableFileStatus)]
List all files at the destination path
-
def
getSourceFiles(sparkContext: SparkContext, sourceURIs: Seq[URI], destinationURI: URI, updateOverwritePathBehaviour: Boolean, numListstatusThreads: Int, filterNot: List[Regex]): RDD[KeyedCopyDefinition]
List all files in the given source URIs.
List all files in the given source URIs. This function will throw an exception if any source files collide on identical destination locations and any collisions on any cases where a source files is the same as the destination file (copying between the same FileSystem)
-
def
handleDestCollisions(source: RDD[KeyedCopyDefinition]): Unit
Throw an exception for any collisions on any cases where a source files is the same as the destination file (copying between the same FileSystem)
-
def
handleSourceCollisions(source: RDD[KeyedCopyDefinition]): Unit
Throw an exception if any source files collide on identical destination locations
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
listFiles(fs: FileSystem, path: Path, threads: Int, includePathRootInDependents: Boolean, filterNot: List[Regex]): Seq[(SerializableFileStatus, Seq[SerializableFileStatus])]
Recursively list files in a given directory on a given FileSystem.
Recursively list files in a given directory on a given FileSystem. This will be done in parallel depending on the value of
threads. An optional list of regex filters to filter out files can be given.- fs
FileSystem to search
- path
Root path to search from
- threads
Number of threads to search in parallel
- includePathRootInDependents
Whether to include the root path
pathin the search output- filterNot
A list of regex filters that will filter out any results that match one or more of the filters
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setLogLevel(level: Level): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()