\hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller}{}\section{plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller Class Reference}
\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller}\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}


Inheritance diagram for plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller\+:
% FIG 0


Collaboration diagram for plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller\+:
% FIG 1
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a261ed71a81a5eafdd04a6fed1ae22f3a}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self, \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1controller_1_1_controller_acb843315774eb7b34164e4228e57e76a}{hdfs\+\_\+base\+\_\+uri}})
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a0c43a1ab659f47e216f4931b0935713f}{ls}} (self, hdfs\+\_\+path=\char`\"{}\char`\"{})
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_ae7d7bc35d9bc85a7aadfce5b8755b8cd}{rm}} (self, hdfs\+\_\+path=\char`\"{}\char`\"{})
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_aa1d33900e1e24adcf8815db19adb49f5}{get}} (self, hdfs\+\_\+path=\char`\"{}\char`\"{})
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a43caca60575e9f71056bdd7e7516e826}{get\+\_\+zip}} (self, hdfs\+\_\+path=\char`\"{}\char`\"{})
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a6c913d45fa2b219aa1e93163e6ae9404}{put}} (self, request, hdfs\+\_\+path)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a0c3ebcd976459e676fc39e90cdbc10ca}{put\+\_\+form}} (self, request, hdfs\+\_\+path)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_ab883954d3444a09b6c483e789c011c49}{zip\+\_\+put}} (self, request, hdfs\+\_\+path=\char`\"{}\char`\"{})
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a68e364bbd4964995ea451dc7f3cf29e5}{zip\+\_\+put\+\_\+form}} (self, request, hdfs\+\_\+path=\char`\"{}\char`\"{})
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a09e128f860563f94cffb1873eeeccd26}{hdfs}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}Controller for HDFS-related management operations.
\end{DoxyVerb}
 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a261ed71a81a5eafdd04a6fed1ae22f3a}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a261ed71a81a5eafdd04a6fed1ae22f3a}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{hdfs\+\_\+base\+\_\+uri }\end{DoxyParamCaption})}

\begin{DoxyVerb}Create a new controller that is able to store and utilize HDFS URI in HDFS queries and operations.
:param hdfs_base_uri: the base HDFS URI to store
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classplaso_1_1tarzan_1_1app_1_1controllers_1_1controller_1_1_controller_ad04368439a5b2cfe26128335c5e5b17a}{plaso.\+tarzan.\+app.\+controllers.\+controller.\+Controller}}.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_aa1d33900e1e24adcf8815db19adb49f5}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_aa1d33900e1e24adcf8815db19adb49f5}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!get@{get}}
\index{get@{get}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{get()}{get()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+get (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{hdfs\+\_\+path = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Get a Flask Response to download a file in a given HDFS path.
:param hdfs_path: the HDFS path of the file to download
:return: the Flask Response of the download
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a43caca60575e9f71056bdd7e7516e826}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a43caca60575e9f71056bdd7e7516e826}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!get\_zip@{get\_zip}}
\index{get\_zip@{get\_zip}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{get\_zip()}{get\_zip()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+get\+\_\+zip (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{hdfs\+\_\+path = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Get a Flask Response to download a ZIP archive of files and directories in a given HDFS path.
:param hdfs_path: the HDFS path which include into the ZIP archive
:return: the Flask Response to download the ZIP file
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a0c43a1ab659f47e216f4931b0935713f}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a0c43a1ab659f47e216f4931b0935713f}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!ls@{ls}}
\index{ls@{ls}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{ls()}{ls()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+ls (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{hdfs\+\_\+path = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Get a Flask Response listing all files and directories (the dirs are suffixed by "/")
that are in a given HDFS path.
:param hdfs_path: the HDFS path to search for the files and directories
:return: the Flask Response of the list of files and directories in the path
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a6c913d45fa2b219aa1e93163e6ae9404}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a6c913d45fa2b219aa1e93163e6ae9404}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!put@{put}}
\index{put@{put}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{put()}{put()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+put (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{request,  }\item[{}]{hdfs\+\_\+path }\end{DoxyParamCaption})}

\begin{DoxyVerb}Copy the content uploaded by a PUT request in the REST API to a file in a given HDFS path.
:param request: the REST API PUT request
:param hdfs_path: the HDFS path where to upload
:return: the Flask Response confirming the upload
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a0c3ebcd976459e676fc39e90cdbc10ca}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a0c3ebcd976459e676fc39e90cdbc10ca}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!put\_form@{put\_form}}
\index{put\_form@{put\_form}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{put\_form()}{put\_form()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+put\+\_\+form (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{request,  }\item[{}]{hdfs\+\_\+path }\end{DoxyParamCaption})}

\begin{DoxyVerb}Copy the content uploaded by a HTML FORM to a file in a given HDFS path.
:param request: the request which contains the FORM upload
:param hdfs_path: the HDFS path where to upload
:return: the Flask Response confirming the upload
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_ae7d7bc35d9bc85a7aadfce5b8755b8cd}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_ae7d7bc35d9bc85a7aadfce5b8755b8cd}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!rm@{rm}}
\index{rm@{rm}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{rm()}{rm()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+rm (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{hdfs\+\_\+path = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Get a Flask Response confirming a recursive removal of files and directories in a given HDFS path.
:param hdfs_path: the HDFS path which should be removed including to remove its files and directories
:return: the Flask Response of the confirmation of the remove
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_ab883954d3444a09b6c483e789c011c49}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_ab883954d3444a09b6c483e789c011c49}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!zip\_put@{zip\_put}}
\index{zip\_put@{zip\_put}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{zip\_put()}{zip\_put()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+zip\+\_\+put (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{request,  }\item[{}]{hdfs\+\_\+path = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Extract the content of a ZIP archive uploaded by a PUT request in the REST API into a given HDFS path.
:param request: the REST API PUT request
:param hdfs_path: the HDFS path where to extract the ZIP archive
:return: the Flask Response confirming the upload and extraction
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a68e364bbd4964995ea451dc7f3cf29e5}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a68e364bbd4964995ea451dc7f3cf29e5}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!zip\_put\_form@{zip\_put\_form}}
\index{zip\_put\_form@{zip\_put\_form}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{zip\_put\_form()}{zip\_put\_form()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+zip\+\_\+put\+\_\+form (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{request,  }\item[{}]{hdfs\+\_\+path = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Extract the content of a ZIP archive uploaded by a HTML FORM into a given HDFS path.
:param request: the request which contains the FORM upload
:param hdfs_path: the HDFS path where to extract the ZIP archive
:return: the Flask Response confirming the upload and extraction
\end{DoxyVerb}
 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a09e128f860563f94cffb1873eeeccd26}\label{classplaso_1_1tarzan_1_1app_1_1controllers_1_1filemancontroller_1_1_file_man_controller_a09e128f860563f94cffb1873eeeccd26}} 
\index{plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}!hdfs@{hdfs}}
\index{hdfs@{hdfs}!plaso.tarzan.app.controllers.filemancontroller.FileManController@{plaso.tarzan.app.controllers.filemancontroller.FileManController}}
\subsubsection{\texorpdfstring{hdfs}{hdfs}}
{\footnotesize\ttfamily plaso.\+tarzan.\+app.\+controllers.\+filemancontroller.\+File\+Man\+Controller.\+hdfs}



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