public final class Utils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
createFile(FileSystem fs,
AlluxioURI path)
Creates a file at the given path.
|
static void |
createFile(FileSystem fs,
AlluxioURI path,
CreateFilePOptions options)
Creates a file at the given path.
|
public static void createFile(FileSystem fs, AlluxioURI path) throws Exception
fs
- a filesystem clientpath
- the file pathException
public static void createFile(FileSystem fs, AlluxioURI path, CreateFilePOptions options) throws Exception
fs
- a filesystem clientpath
- the file pathoptions
- create file optionsException
Copyright © 2023. All Rights Reserved.