Skip to content

Instantly share code, notes, and snippets.

@al3x
Created November 26, 2009 01:40
Show Gist options
  • Select an option

  • Save al3x/243166 to your computer and use it in GitHub Desktop.

Select an option

Save al3x/243166 to your computer and use it in GitHub Desktop.
val scanner = new ThriftFileScanner[YourThriftClassName]
scanner.allRecordsFromFile("/tmp/dump.thrift.gz") { println(_) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment