class HttpWriter extends ForeachWriter[Row]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpWriter
- ForeachWriter
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new HttpWriter(headersFieldName: Option[String], url: String, mediaType: String, method: String, compressionStr: String, logBody: Boolean, bodyColumnName: String)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(errorOrNull: Throwable): Unit
- Definition Classes
- HttpWriter → ForeachWriter
-
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()
- var okHttpClient: OkHttpClient
-
def
open(partitionId: Long, epochId: Long): Boolean
- Definition Classes
- HttpWriter → ForeachWriter
-
def
process(value: Row): Unit
- value
is a Row with at minimun one column: bodyColumnName that is an Array[Byte] representing the body of the request already compressed in the format stated by httpModel.compression. If httpModel.headersFieldName is not None, then it is expected a column of type Map[String, String] named as headersFieldName. The only compression types supported are "identity" and "gzip".
- Definition Classes
- HttpWriter → ForeachWriter
- Exceptions thrown
IllegalArgumentExceptionif set compression type is not supportedRuntimeExceptionif response code is not 2xx
-
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()