Package org.apache.orc.tools
Class FileDump
java.lang.Object
org.apache.orc.tools.FileDump
A tool for printing out the file structure of ORC files.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final int
static final PathFilter
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<String>
getAllFilesInPath
(Path path, Configuration conf) static long
getTotalPaddingSize
(Reader reader) static int
indexOf
(byte[] data, byte[] pattern, int index) static void
static void
main
(Configuration conf, String[] args)
-
Field Details
-
UNKNOWN
- See Also:
-
SEPARATOR
-
RECOVER_READ_SIZE
- See Also:
-
DEFAULT_BLOCK_SIZE
public static final int DEFAULT_BLOCK_SIZE- See Also:
-
DEFAULT_BACKUP_PATH
-
HIDDEN_AND_SIDE_FILE_FILTER
-
-
Method Details
-
main
- Throws:
Exception
-
main
- Throws:
Exception
-
getAllFilesInPath
public static Collection<String> getAllFilesInPath(Path path, Configuration conf) throws IOException - Throws:
IOException
-
indexOf
public static int indexOf(byte[] data, byte[] pattern, int index) -
getTotalPaddingSize
- Throws:
IOException
-