org
.
apache
.
spark
.
streaming
.
aliyun
.
logservice
LoghubInputDStream
Related Doc:
package logservice
class
LoghubInputDStream
extends
ReceiverInputDStream
[
Array
[
Byte
]]
Linear Supertypes
ReceiverInputDStream
[
Array
[
Byte
]],
InputDStream
[
Array
[
Byte
]],
DStream
[
Array
[
Byte
]],
Logging
,
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
LoghubInputDStream
ReceiverInputDStream
InputDStream
DStream
Logging
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
LoghubInputDStream
(
_ssc:
StreamingContext
,
logServiceProject:
String
,
logStoreName:
String
,
loghubConsumerGroupName:
String
,
loghubInstanceNameBase:
String
,
loghubEndpoint:
String
,
accessKeyId:
String
,
accessKeySecret:
String
,
storageLevel:
StorageLevel
)
new
LoghubInputDStream
(
_ssc:
StreamingContext
,
logServiceProject:
String
,
logStoreName:
String
,
loghubConsumerGroupName:
String
,
loghubInstanceNameBase:
String
,
loghubEndpoint:
String
,
accessKeyId:
String
,
accessKeySecret:
String
,
storageLevel:
StorageLevel
,
cursorPosition:
LogHubCursorPosition
,
mLoghubCursorStartTime:
Int
,
forceSpecial:
Boolean
)
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
var
accessKeyId
:
String
var
accessKeySecret
:
String
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
baseScope
:
Option
[
String
]
Attributes
protected[
org.apache.spark.streaming
]
Definition Classes
InputDStream → DStream
val
batchInterval
:
Long
def
cache
()
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
checkpoint
(
interval:
Duration
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
compute
(
validTime:
Time
)
:
Option
[
RDD
[
Array
[
Byte
]]]
Definition Classes
ReceiverInputDStream → DStream
def
context
:
StreamingContext
Definition Classes
DStream
def
count
()
:
DStream
[
Long
]
Definition Classes
DStream
def
countByValue
(
numPartitions:
Int
)
(
implicit
ord:
Ordering
[
Array
[
Byte
]]
)
:
DStream
[(
Array
[
Byte
],
Long
)]
Definition Classes
DStream
def
countByValueAndWindow
(
windowDuration:
Duration
,
slideDuration:
Duration
,
numPartitions:
Int
)
(
implicit
ord:
Ordering
[
Array
[
Byte
]]
)
:
DStream
[(
Array
[
Byte
],
Long
)]
Definition Classes
DStream
def
countByWindow
(
windowDuration:
Duration
,
slideDuration:
Duration
)
:
DStream
[
Long
]
Definition Classes
DStream
def
createRDDWithLocalProperties
[
U
]
(
time:
Time
,
displayInnerRDDOps:
Boolean
)
(
body: ⇒
U
)
:
U
Attributes
protected[
org.apache.spark.streaming
]
Definition Classes
DStream
val
dataFetchIntervalMillis
:
Long
def
dependencies
:
List
[
DStream
[_]]
Definition Classes
InputDStream → DStream
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
filter
(
filterFunc: (
Array
[
Byte
]) ⇒
Boolean
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
U
]
(
flatMapFunc: (
Array
[
Byte
]) ⇒
TraversableOnce
[
U
]
)
(
implicit
arg0:
ClassTag
[
U
]
)
:
DStream
[
U
]
Definition Classes
DStream
def
foreachRDD
(
foreachFunc: (
RDD
[
Array
[
Byte
]],
Time
) ⇒
Unit
)
:
Unit
Definition Classes
DStream
def
foreachRDD
(
foreachFunc: (
RDD
[
Array
[
Byte
]]) ⇒
Unit
)
:
Unit
Definition Classes
DStream
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getReceiver
()
:
Receiver
[
Array
[
Byte
]]
Definition Classes
LoghubInputDStream
→ ReceiverInputDStream
def
glom
()
:
DStream
[
Array
[
Array
[
Byte
]]]
Definition Classes
DStream
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
id
:
Int
Definition Classes
InputDStream
def
initializeLogIfNecessary
(
isInterpreter:
Boolean
,
silent:
Boolean
)
:
Boolean
Attributes
protected
Definition Classes
Logging
def
initializeLogIfNecessary
(
isInterpreter:
Boolean
)
:
Unit
Attributes
protected
Definition Classes
Logging
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isTraceEnabled
()
:
Boolean
Attributes
protected
Definition Classes
Logging
def
log
:
Logger
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logName
:
String
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
var
loghubEndpoint
:
String
val
mConsumeInOrder
:
Boolean
val
mHeartBeatIntervalMillis
:
Long
def
map
[
U
]
(
mapFunc: (
Array
[
Byte
]) ⇒
U
)
(
implicit
arg0:
ClassTag
[
U
]
)
:
DStream
[
U
]
Definition Classes
DStream
def
mapPartitions
[
U
]
(
mapPartFunc: (
Iterator
[
Array
[
Byte
]]) ⇒
Iterator
[
U
]
,
preservePartitioning:
Boolean
)
(
implicit
arg0:
ClassTag
[
U
]
)
:
DStream
[
U
]
Definition Classes
DStream
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
persist
()
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
persist
(
level:
StorageLevel
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
print
(
num:
Int
)
:
Unit
Definition Classes
DStream
def
print
()
:
Unit
Definition Classes
DStream
val
rateController
:
Option
[
RateController
]
Attributes
protected[
org.apache.spark.streaming
]
Definition Classes
ReceiverInputDStream → InputDStream
def
reduce
(
reduceFunc: (
Array
[
Byte
],
Array
[
Byte
]) ⇒
Array
[
Byte
]
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
reduceByWindow
(
reduceFunc: (
Array
[
Byte
],
Array
[
Byte
]) ⇒
Array
[
Byte
]
,
invReduceFunc: (
Array
[
Byte
],
Array
[
Byte
]) ⇒
Array
[
Byte
]
,
windowDuration:
Duration
,
slideDuration:
Duration
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
reduceByWindow
(
reduceFunc: (
Array
[
Byte
],
Array
[
Byte
]) ⇒
Array
[
Byte
]
,
windowDuration:
Duration
,
slideDuration:
Duration
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
repartition
(
numPartitions:
Int
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
saveAsObjectFiles
(
prefix:
String
,
suffix:
String
)
:
Unit
Definition Classes
DStream
def
saveAsTextFiles
(
prefix:
String
,
suffix:
String
)
:
Unit
Definition Classes
DStream
var
securityToken
:
String
def
slice
(
fromTime:
Time
,
toTime:
Time
)
:
Seq
[
RDD
[
Array
[
Byte
]]]
Definition Classes
DStream
def
slice
(
interval:
Interval
)
:
Seq
[
RDD
[
Array
[
Byte
]]]
Definition Classes
DStream
def
slideDuration
:
Duration
Definition Classes
InputDStream → DStream
lazy val
slsClient
:
Client
def
start
()
:
Unit
Definition Classes
ReceiverInputDStream → InputDStream
def
stop
()
:
Unit
Definition Classes
ReceiverInputDStream → InputDStream
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
transform
[
U
]
(
transformFunc: (
RDD
[
Array
[
Byte
]],
Time
) ⇒
RDD
[
U
]
)
(
implicit
arg0:
ClassTag
[
U
]
)
:
DStream
[
U
]
Definition Classes
DStream
def
transform
[
U
]
(
transformFunc: (
RDD
[
Array
[
Byte
]]) ⇒
RDD
[
U
]
)
(
implicit
arg0:
ClassTag
[
U
]
)
:
DStream
[
U
]
Definition Classes
DStream
def
transformWith
[
U
,
V
]
(
other:
DStream
[
U
]
,
transformFunc: (
RDD
[
Array
[
Byte
]],
RDD
[
U
],
Time
) ⇒
RDD
[
V
]
)
(
implicit
arg0:
ClassTag
[
U
]
,
arg1:
ClassTag
[
V
]
)
:
DStream
[
V
]
Definition Classes
DStream
def
transformWith
[
U
,
V
]
(
other:
DStream
[
U
]
,
transformFunc: (
RDD
[
Array
[
Byte
]],
RDD
[
U
]) ⇒
RDD
[
V
]
)
(
implicit
arg0:
ClassTag
[
U
]
,
arg1:
ClassTag
[
V
]
)
:
DStream
[
V
]
Definition Classes
DStream
def
union
(
that:
DStream
[
Array
[
Byte
]]
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
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
(
...
)
def
window
(
windowDuration:
Duration
,
slideDuration:
Duration
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
def
window
(
windowDuration:
Duration
)
:
DStream
[
Array
[
Byte
]]
Definition Classes
DStream
Inherited from
ReceiverInputDStream
[
Array
[
Byte
]]
Inherited from
InputDStream
[
Array
[
Byte
]]
Inherited from
DStream
[
Array
[
Byte
]]
Inherited from
Logging
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped