Class BinaryDtoInputStreamScanner<T extends BinaryDto<T>>

java.lang.Object
io.datarouter.scanner.BaseScanner<T>
io.datarouter.bytes.binarydto.codec.iostream.BinaryDtoInputStreamScanner<T>
All Implemented Interfaces:
io.datarouter.scanner.Scanner<T>, Closeable, AutoCloseable

public class BinaryDtoInputStreamScanner<T extends BinaryDto<T>>
extends io.datarouter.scanner.BaseScanner<T>
  • Field Summary

    Fields inherited from class io.datarouter.scanner.BaseScanner

    current
  • Constructor Summary

    Constructors
    Constructor Description
    BinaryDtoInputStreamScanner​(Class<T> dtoClass, InputStream inputStream)  
  • Method Summary

    Modifier and Type Method Description
    boolean advance()  
    void close()  
    static <T extends BinaryDto<T>>
    io.datarouter.scanner.Scanner<T>
    of​(Class<T> dtoClass, InputStream inputStream)  

    Methods inherited from class io.datarouter.scanner.BaseScanner

    current

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.datarouter.scanner.Scanner

    advanceUntil, advanceWhile, allMatch, anyMatch, append, append, append, apply, batch, collate, collate, collect, collect, concat, concatIter, count, deduplicateConsecutive, deduplicateConsecutiveBy, deduplicateConsecutiveBy, distinct, distinctBy, each, exclude, findFirst, findLast, findMax, findMin, flush, forEach, groupBy, groupBy, groupBy, groupBy, hasAny, include, isEmpty, iterable, iterator, limit, link, list, listTo, map, maxN, minN, noneMatch, parallel, prefetch, reduce, reduce, retain, reverse, sample, shuffle, skip, sort, sort, splitBy, stream, streamDoubles, streamInts, streamLongs, take, then, toArray, toMap, toMap, toMap, toMap, toMap, toMapSupplied, toMapSupplied, toMapSupplied, toMapSupplied
  • Constructor Details

    • BinaryDtoInputStreamScanner

      public BinaryDtoInputStreamScanner​(Class<T> dtoClass, InputStream inputStream)
  • Method Details

    • of

      public static <T extends BinaryDto<T>> io.datarouter.scanner.Scanner<T> of​(Class<T> dtoClass, InputStream inputStream)
    • advance

      public boolean advance()
    • close

      public void close()