@@ -945,52 +945,3 @@ adls.fileinputstream.close <- function(adlFileInputStream,
945
945
adlFileInputStream $ buffer <- raw(0 ) # release byte buffer so it can be GC'ed even if app continues to hold reference to stream
946
946
return (NULL )
947
947
}
948
-
949
- # ' gets whether mark and reset are supported by `ADLFileInputStream`. Always returns false.
950
- # '
951
- # ' @param adlFileInputStream adlFileInputStream of the file
952
- # ' @return FALSE (always)
953
- # '
954
- # ' @family Azure Data Lake Store functions
955
- # ' @export
956
- adls.fileinputstream.marksupported <- function (adlFileInputStream ) {
957
- if (! missing(adlFileInputStream ) && ! is.null(adlFileInputStream )) {
958
- assert_that(is.adlFileInputStream(adlFileInputStream ))
959
- adlFileInputStreamCheck(adlFileInputStream )
960
- }
961
-
962
- return (FALSE )
963
- }
964
-
965
- # ' Not supported by this stream. Throws `UnsupportedOperationException`
966
- # '
967
- # ' @param adlFileInputStream adlFileInputStream of the file
968
- # ' @param readLimit ignored
969
- # ' @return NULL (void)
970
- # '
971
- # ' @family Azure Data Lake Store functions
972
- # ' @export
973
- adls.fileinputstream.mark <- function (adlFileInputStream , readLimit ) {
974
- if (! missing(adlFileInputStream ) && ! is.null(adlFileInputStream )) {
975
- assert_that(is.adlFileInputStream(adlFileInputStream ))
976
- adlFileInputStreamCheck(adlFileInputStream )
977
- }
978
-
979
- stop(paste0(" UnsupportedOperationException: mark()/reset() not supported on this stream - readLimit: " , readLimit ))
980
- }
981
-
982
- # ' Not supported by this stream. Throws `UnsupportedOperationException`
983
- # '
984
- # ' @param adlFileInputStream adlFileInputStream of the file
985
- # ' @return NULL (void)
986
- # '
987
- # ' @family Azure Data Lake Store functions
988
- # ' @export
989
- adls.fileinputstream.reset <- function (adlFileInputStream ) {
990
- if (! missing(adlFileInputStream ) && ! is.null(adlFileInputStream )) {
991
- assert_that(is.adlFileInputStream(adlFileInputStream ))
992
- adlFileInputStreamCheck(adlFileInputStream )
993
- }
994
-
995
- stop(" UnsupportedOperationException: mark()/reset() not supported on this stream" )
996
- }
0 commit comments