Class LocalFilePreparer prepares files locally on the file system.
package
|
PhpDruidIngest\Preparer
|
Methods
Clean up a prepared ingestion file.
cleanup() : mixed
Remove a previously written file.
deleteFile(string $filePath) : boolean
Arguments
Response
boolean
Combine an array of strings into one string with a delimiter.
delimit(array $data, string $delimiter = "\n") : string
throws
|
If $data is not recognized as an array of strings
|
Arguments
Response
string
Get the full path to the locally prepared file.
getPreparedPath() : string
prepare
prepare( $data)
inherited
setFilePath
setFilePath( $path)
Write the string data out to a file.
writeFile(string $filePath, string $contents) : integer
Arguments
Response
integer
Properties
outputBaseDir
outputBaseDir :
outputFilename
outputFilename :