lucene-kmp
Toggle table of contents
10.2.0-alpha14
common
Target filter
common
Switch theme
Search in API
Skip to content
lucene-kmp
test-framework
/
org.gnit.lucenekmp.tests.store
/
CorruptingIndexOutput
Corrupting
Index
Output
open
class
CorruptingIndexOutput
(
dir
:
Directory
,
byteToCorrupt
:
Long
,
out
:
IndexOutput
)
:
FilterIndexOutput
Corrupts one bit of a file after close.
Members
Constructors
Corrupting
Index
Output
Link copied to clipboard
constructor
(
dir
:
Directory
,
byteToCorrupt
:
Long
,
out
:
IndexOutput
)
Properties
delegate
Link copied to clipboard
val
delegate
:
IndexOutput
?
file
Pointer
Link copied to clipboard
open
override
val
filePointer
:
Long
name
Link copied to clipboard
open
var
name
:
String
?
Functions
align
File
Pointer
Link copied to clipboard
fun
alignFilePointer
(
alignmentBytes
:
Int
)
:
Long
close
Link copied to clipboard
open
override
fun
close
(
)
copy
Bytes
Link copied to clipboard
open
fun
copyBytes
(
input
:
DataInput
,
numBytes
:
Long
)
get
Checksum
Link copied to clipboard
open
override
fun
getChecksum
(
)
:
Long
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
write
Byte
Link copied to clipboard
open
override
fun
writeByte
(
b
:
Byte
)
write
Bytes
Link copied to clipboard
open
fun
writeBytes
(
b
:
ByteArray
,
length
:
Int
)
open
override
fun
writeBytes
(
b
:
ByteArray
,
offset
:
Int
,
length
:
Int
)
write
Group
VInts
Link copied to clipboard
fun
writeGroupVInts
(
values
:
IntArray
,
limit
:
Int
)
fun
writeGroupVInts
(
values
:
LongArray
,
limit
:
Int
)
write
Int
Link copied to clipboard
open
fun
writeInt
(
i
:
Int
)
write
Long
Link copied to clipboard
open
fun
writeLong
(
i
:
Long
)
write
Map
Of
Strings
Link copied to clipboard
open
fun
writeMapOfStrings
(
map
:
Map
<
String
,
String
>
)
write
Set
Of
Strings
Link copied to clipboard
open
fun
writeSetOfStrings
(
set
:
MutableSet
<
String
>
)
write
Short
Link copied to clipboard
open
fun
writeShort
(
i
:
Short
)
write
String
Link copied to clipboard
open
fun
writeString
(
s
:
String
)
write
VInt
Link copied to clipboard
fun
writeVInt
(
i
:
Int
)
write
VLong
Link copied to clipboard
fun
writeVLong
(
i
:
Long
)
write
ZInt
Link copied to clipboard
fun
writeZInt
(
i
:
Int
)
write
ZLong
Link copied to clipboard
fun
writeZLong
(
i
:
Long
)