io
.
fsq
.
hfile
.
writer
.
concrete
ConcreteHFileWriter
Related Doc:
package concrete
class
ConcreteHFileWriter
extends
HFileWriter
with
HFileMetadataKeys
with
Bytes
Linear Supertypes
Bytes
,
HFileMetadataKeys
,
HFileWriter
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
ConcreteHFileWriter
Bytes
HFileMetadataKeys
HFileWriter
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
ConcreteHFileWriter
(
outputStream:
FSDataOutputStream
,
blockSize:
Int
,
compressionName:
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
val
AverageKeyLengthKey
:
String
Definition Classes
HFileMetadataKeys
val
AverageValueLengthKey
:
String
Definition Classes
HFileMetadataKeys
val
ComparatorKey
:
String
Definition Classes
HFileMetadataKeys
val
LastKeyKey
:
String
Definition Classes
HFileMetadataKeys
val
NumEntries
:
String
Definition Classes
HFileMetadataKeys
val
NumUniqueKeys
:
String
Definition Classes
HFileMetadataKeys
val
TaskIdKey
:
String
Definition Classes
HFileMetadataKeys
val
ThriftClassKey
:
String
Definition Classes
HFileMetadataKeys
val
ThriftClassValue
:
String
Definition Classes
HFileMetadataKeys
val
ThriftEncodingKey
:
String
Definition Classes
HFileMetadataKeys
val
TimestampKey
:
String
Definition Classes
HFileMetadataKeys
val
TotalKeyLength
:
String
Definition Classes
HFileMetadataKeys
val
TotalValueLength
:
String
Definition Classes
HFileMetadataKeys
def
addFileInfo
(
key:
String
,
value:
Long
)
:
Unit
Definition Classes
ConcreteHFileWriter
→ HFileWriter
def
addFileInfo
(
key:
String
,
value:
String
)
:
Unit
Definition Classes
ConcreteHFileWriter
→ HFileWriter
def
addFileInfo
(
key:
Array
[
Byte
]
,
value:
Array
[
Byte
]
)
:
Unit
Definition Classes
ConcreteHFileWriter
→ HFileWriter
def
addKeyValue
(
key:
Array
[
Byte
]
,
value:
Array
[
Byte
]
)
:
Unit
Definition Classes
ConcreteHFileWriter
→ HFileWriter
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
var
blockBeginKeyOpt
:
Option
[
Array
[
Byte
]]
var
blockBeginOffsetOpt
:
Option
[
Long
]
val
blockSize
:
Int
val
byteOrdering
:
Ordering
[
Array
[
Byte
]]
def
bytesToString
(
bs:
Array
[
Byte
]
)
:
String
def
checkBlockBoundary
()
:
Unit
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
close
()
:
Unit
Definition Classes
ConcreteHFileWriter
→ HFileWriter
val
comparator
:
Comparator
[
Array
[
Byte
]]
val
compressionAlgo
:
CompressionAlgorithm
val
compressionName
:
String
var
compressorOpt
:
Option
[
Compressor
]
val
dataBlockIndex
:
ListBuffer
[
DataBlockIndexEntry
]
var
dataOutputStream
:
DataOutputStream
var
entryCount
:
Int
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
fileInfo
:
ListBuffer
[(
Array
[
Byte
],
Array
[
Byte
])]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
finishBlock
()
:
Unit
def
finishFileInfo
()
:
Unit
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
intToBytes
(
v:
Int
)
:
Array
[
Byte
]
Definition Classes
Bytes
def
isDuplicateKey
(
key:
Array
[
Byte
]
)
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
var
lastKeyBuffer
:
Option
[
Array
[
Byte
]]
def
longToBytes
(
v:
Long
)
:
Array
[
Byte
]
Definition Classes
Bytes
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
newBlock
()
:
Unit
def
newCompressingStream
()
:
Unit
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
outputStream
:
FSDataOutputStream
def
releaseCompressingStream
()
:
Int
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
var
totalKeyLength
:
Long
var
totalValueLength
:
Long
var
uniqueKeys
:
Int
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
writeBlockIndex
()
:
Unit
def
writeByteArray
(
by:
Array
[
Byte
]
,
outputStream:
DataOutputStream
)
:
Unit
Definition Classes
Bytes
def
writeFileInfo
()
:
Unit
def
writeTrailer
(
fileInfoOffset:
Long
,
dataBlockIndexOffset:
Long
)
:
Unit
def
writeVariableLong
(
i:
Long
,
outputStream:
DataOutputStream
)
:
Unit
Definition Classes
Bytes
Inherited from
Bytes
Inherited from
HFileMetadataKeys
Inherited from
HFileWriter
Inherited from
AnyRef
Inherited from
Any
Ungrouped