org.apache.flume.channel.jdbc.impl
Class PersistableEvent.Builder
java.lang.Object
   org.apache.flume.channel.jdbc.impl.PersistableEvent.Builder
org.apache.flume.channel.jdbc.impl.PersistableEvent.Builder
- Enclosing class:
- PersistableEvent
- public static class PersistableEvent.Builder 
- extends Object
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PersistableEvent.Builder
public PersistableEvent.Builder(String channelName,
                                long eventId)
setEventId
public PersistableEvent.Builder setEventId(long eventId)
- 
 
setChannel
public PersistableEvent.Builder setChannel(String channel)
- 
 
setBasePayload
public PersistableEvent.Builder setBasePayload(byte[] basePayload)
- 
 
setSpillPayload
public PersistableEvent.Builder setSpillPayload(byte[] spillPayload)
- 
 
setHeader
public PersistableEvent.Builder setHeader(long headerId,
                                          String baseName,
                                          String baseValue)
- 
 
setHeaderNameSpill
public PersistableEvent.Builder setHeaderNameSpill(long headerId,
                                                   String nameSpill)
- 
 
setHeaderValueSpill
public PersistableEvent.Builder setHeaderValueSpill(long headerId,
                                                    String valueSpill)
- 
 
build
public PersistableEvent build()
- 
 
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.