Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public static long writeBatchBuffers(WriteChannel out, ArrowRecordBatch batch) t
* Deserializes a RecordBatch.
*
* @param reader the reader interface to deserialize from
* @param message the object to derialize to
* @param message the object to deserialize to
* @param alloc to allocate buffers
* @return the deserialized object
* @throws IOException if something went wrong
Expand All @@ -210,7 +210,7 @@ public static ArrowRecordBatch deserializeRecordBatch(MessageReader reader, Mess
* minimizes the number of reads to the underlying stream.
*
* @param in the channel to deserialize from
* @param block the object to derialize to
* @param block the object to deserialize to
* @param alloc to allocate buffers
* @return the deserialized object
* @throws IOException if something went wrong
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ public int find(String what) {
}

/**
* Finds any occurence of <code>what</code> in the backing buffer, starting as position <code>start</code>. The
* Finds any occurrence of <code>what</code> in the backing buffer, starting as position <code>start</code>. The
* starting position is measured in bytes and the return value is in terms of byte position in the buffer. The backing
* buffer is not converted to a string for this operation.
*
* @param what the string to search for
* @param start where to start from
* @return byte position of the first occurence of the search string in the UTF-8 buffer or -1 if not found
* @return byte position of the first occurrence of the search string in the UTF-8 buffer or -1 if not found
*/
public int find(String what, int start) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void testSchemaDictionaryMessageSerialization() throws IOException {
public ExpectedException expectedEx = ExpectedException.none();

@Test
public void testdeSerializeRecordBatchLongMetaData() throws IOException {
public void testDeserializeRecordBatchLongMetaData() throws IOException {
expectedEx.expect(IOException.class);
expectedEx.expectMessage("Cannot currently deserialize record batches over 2GB");
int offset = 0;
Expand Down