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 Stringstatic final intstatic final PathFilterstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<String>getAllFilesInPath(Path path, Configuration conf) static longgetTotalPaddingSize(Reader reader) static intindexOf(byte[] data, byte[] pattern, int index) static voidstatic voidmain(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
-