\hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object}{}\section{plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object Class Reference}
\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object}\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}


Inheritance diagram for plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object\+:
% FIG 0


Collaboration diagram for plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object\+:
% FIG 1
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a27461c4e2128b2eaab59d3ca46f01e0a}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a642c54b2b3d5aeea352f5b104594dd1c}{open}} (self, hdfs\+\_\+uri, path\+\_\+spec=None)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a908aad94d488b9ad4ef53d4183efd346}{close}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_ac514f3d397055b421a05d0f6f66af024}{read}} (self, size=None)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a634731778d3cd073ace55c539945653d}{seek}} (self, offset, whence=os.\+S\+E\+E\+K\+\_\+\+S\+ET)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a4b103b21ef1e3a5605699f6c4525e773}{tell}} (self)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a086a7c263ccfc62464997ddeb4bdeec2}{hdfs}}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a2993a32d424d00da960f67ad9e6e10b4}{path}}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_aa503c8fd9361d3c1121e34a16481ce44}{input\+\_\+stream}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}HDFS file access.\end{DoxyVerb}
 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a27461c4e2128b2eaab59d3ca46f01e0a}\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a27461c4e2128b2eaab59d3ca46f01e0a}} 
\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}
\subsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Initializes a HDFS file object.
\end{DoxyVerb}
 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a908aad94d488b9ad4ef53d4183efd346}\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a908aad94d488b9ad4ef53d4183efd346}} 
\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}!close@{close}}
\index{close@{close}!plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}
\subsubsection{\texorpdfstring{close()}{close()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object.\+close (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Close the file.
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_afdab7a99d9947c17ad1c87ba4a9abefb}{plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a642c54b2b3d5aeea352f5b104594dd1c}\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a642c54b2b3d5aeea352f5b104594dd1c}} 
\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}!open@{open}}
\index{open@{open}!plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}
\subsubsection{\texorpdfstring{open()}{open()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object.\+open (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{hdfs\+\_\+uri,  }\item[{}]{path\+\_\+spec = {\ttfamily None} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Open a HDFS file identified by the HDFS URI and optionally also by its path.
:param hdfs_uri: the HDFS URI of the file to open
:param path_spec: the path of the file to open
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_ac514f3d397055b421a05d0f6f66af024}\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_ac514f3d397055b421a05d0f6f66af024}} 
\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}!read@{read}}
\index{read@{read}!plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}
\subsubsection{\texorpdfstring{read()}{read()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object.\+read (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{size = {\ttfamily None} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Reads a byte string from the file-like object at the current offset.
The function will read a byte string of the specified size or all of the remaining data
if no size was specified.
:param size: number of bytes to read, where None is all remaining data
:return: data read
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_aa523bbe2f09dd25e4a0676a49138b341}{plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a634731778d3cd073ace55c539945653d}\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a634731778d3cd073ace55c539945653d}} 
\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}!seek@{seek}}
\index{seek@{seek}!plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}
\subsubsection{\texorpdfstring{seek()}{seek()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object.\+seek (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{offset,  }\item[{}]{whence = {\ttfamily os.SEEK\+\_\+SET} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Set a position in the file for future reading or writing.
:param offset: the position as an offset
:param whence: from where the position should be reached (the beginning, the end, etc.)
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_af5ebc3ca60feb76b8d9984758a39395c}{plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a4b103b21ef1e3a5605699f6c4525e773}\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a4b103b21ef1e3a5605699f6c4525e773}} 
\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}!tell@{tell}}
\index{tell@{tell}!plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}
\subsubsection{\texorpdfstring{tell()}{tell()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object.\+tell (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Get a current position in the file.
:return: the current position (an offset)
\end{DoxyVerb}
 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a086a7c263ccfc62464997ddeb4bdeec2}\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a086a7c263ccfc62464997ddeb4bdeec2}} 
\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}!hdfs@{hdfs}}
\index{hdfs@{hdfs}!plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}
\subsubsection{\texorpdfstring{hdfs}{hdfs}}
{\footnotesize\ttfamily plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object.\+hdfs}

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_aa503c8fd9361d3c1121e34a16481ce44}\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_aa503c8fd9361d3c1121e34a16481ce44}} 
\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}!input\_stream@{input\_stream}}
\index{input\_stream@{input\_stream}!plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}
\subsubsection{\texorpdfstring{input\_stream}{input\_stream}}
{\footnotesize\ttfamily plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object.\+input\+\_\+stream}

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a2993a32d424d00da960f67ad9e6e10b4}\label{classplaso_1_1tarzan_1_1file_1_1hdfs__file_1_1_hdfs_file_object_a2993a32d424d00da960f67ad9e6e10b4}} 
\index{plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}!path@{path}}
\index{path@{path}!plaso.tarzan.file.hdfs\_file.HdfsFileObject@{plaso.tarzan.file.hdfs\_file.HdfsFileObject}}
\subsubsection{\texorpdfstring{path}{path}}
{\footnotesize\ttfamily plaso.\+tarzan.\+file.\+hdfs\+\_\+file.\+Hdfs\+File\+Object.\+path}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/rychly/repos/pyspark-\/plaso/src/plaso/tarzan/file/\mbox{\hyperlink{hdfs__file_8py}{hdfs\+\_\+file.\+py}}\end{DoxyCompactItemize}
