Package io.trino.plugin.hive.fs
Class BlockLocation
java.lang.Object
io.trino.plugin.hive.fs.BlockLocation
-
Constructor Summary
ConstructorsConstructorDescriptionBlockLocation(FileEntry.Block block) BlockLocation(org.apache.hadoop.fs.BlockLocation blockLocation) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic List<BlockLocation>fromHiveBlockLocations(org.apache.hadoop.fs.BlockLocation[] blockLocations) getHosts()longlonglonginthashCode()toString()
-
Constructor Details
-
BlockLocation
-
BlockLocation
public BlockLocation(org.apache.hadoop.fs.BlockLocation blockLocation)
-
-
Method Details
-
fromHiveBlockLocations
public static List<BlockLocation> fromHiveBlockLocations(@Nullable org.apache.hadoop.fs.BlockLocation[] blockLocations) -
getHosts
-
getOffset
public long getOffset() -
getLength
public long getLength() -
getRetainedSizeInBytes
public long getRetainedSizeInBytes() -
equals
-
hashCode
public int hashCode() -
toString
-