object S3Utilities
- Alphabetic
- By Inheritance
- S3Utilities
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val MULTIPART_COPY_SIZE: Long
- val MULTIPART_UPLOAD_SIZE: Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
configureSparkSession(pipelineContext: PipelineContext): Unit
Prepares Spark for reading/writing of DataFrames
Prepares Spark for reading/writing of DataFrames
- pipelineContext
The PipelineContext containing the SparkSession
-
def
deriveProtocol(path: String): String
Given a path, this function will attempt to derive the protocol.
Given a path, this function will attempt to derive the protocol. If the protocol cannot be determined, then it will default to s3a.
- path
A valid path
- returns
The protocol to use for authentication.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
prepareS3FilePath(path: String, bucket: Option[String] = None): String
This function will take the given path and strip any protocol information.
This function will take the given path and strip any protocol information.
- path
A valid path
- returns
A raw path with no protocol information
-
def
replaceProtocol(path: String, protocol: String): String
This function will attempt to add or replace the protocol in the given path.
This function will attempt to add or replace the protocol in the given path.
- path
A calid path
- protocol
The protocol to use
- returns
The path with the proper protocol.
-
def
setS3Authorization(path: String, accessKeyId: Option[String], secretAccessKey: Option[String], pipelineContext: PipelineContext): Unit
This function will attempt to set the authorization used when reading or writing a DataFrame.
This function will attempt to set the authorization used when reading or writing a DataFrame.
- path
A valid path
- accessKeyId
The access key
- secretAccessKey
The secret
- pipelineContext
The PipelineContext
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()