trait DeletionVectorStoreUtils extends AnyRef
Trait containing the utility and constants needed for DeletionVectorStore
- Alphabetic
- By Inheritance
- DeletionVectorStoreUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
DVRangeDescriptor(offset: Int, length: Int, checksum: Int) extends Product with Serializable
Descriptor for a serialized Deletion Vector in a file.
- trait Writer extends Closeable
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
val
CHECKSUM_LEN: Int(4)
The length of a DV checksum.
The length of a DV checksum. See calculateChecksum().
-
final
val
DATA_SIZE_LEN: Int(4)
The size of the stored length of a DV.
- final val DV_FILE_FORMAT_VERSION_ID_V1: Byte
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
assembleDeletionVectorPathWithFileSystem(targetParentPathWithFileSystem: PathWithFileSystem, id: UUID, prefix: String = ""): PathWithFileSystem
Same as
assembleDeletionVectorPath, but keeps the new path bundled with the fs. -
def
calculateChecksum(data: Array[Byte]): Int
Calculate checksum of a serialized deletion vector.
Calculate checksum of a serialized deletion vector. We are using CRC32 which has 4bytes size, but CRC32 implementation conforms to Java Checksum interface which requires a long. However, the high-order bytes are zero, so here is safe to cast to Int. This will result in negative checksums, but this is not a problem because we only care about equality.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
escapedStringToPath(path: String): Path
Convert the given String path to a Hadoop Path, Please make sure the path is escaped.
-
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 getTotalSizeOfDVFieldsInFile(bitmapDataSize: Int): Int
-
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()
-
def
pathToEscapedString(path: Path): String
Convert the given Hadoop path to a String Path, handing special characters properly.
-
def
readRangeFromStream(reader: DataInputStream, size: Int): Array[Byte]
Read a serialized deletion vector from a data stream.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unescapedStringToPath(path: String): Path
Convert the given String path to a Hadoop Path.
Convert the given String path to a Hadoop Path. Please make sure the path is not escaped.
-
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()