Package io.trino.server.testing.exchange
Class LocalFileSystemExchangeSourceHandle
- java.lang.Object
-
- io.trino.server.testing.exchange.LocalFileSystemExchangeSourceHandle
-
- All Implemented Interfaces:
ExchangeSourceHandle
public class LocalFileSystemExchangeSourceHandle extends Object implements ExchangeSourceHandle
-
-
Constructor Summary
Constructors Constructor Description LocalFileSystemExchangeSourceHandle(int partitionId, List<String> files)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getFiles()intgetPartitionId()longgetRetainedSizeInBytes()inthashCode()StringtoString()
-
-
-
Method Detail
-
getPartitionId
public int getPartitionId()
- Specified by:
getPartitionIdin interfaceExchangeSourceHandle
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
- Specified by:
getRetainedSizeInBytesin interfaceExchangeSourceHandle
-
equals
public boolean equals(Object o)
- Specified by:
equalsin interfaceExchangeSourceHandle- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceExchangeSourceHandle- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceExchangeSourceHandle- Overrides:
toStringin classObject
-
-