Class PlatformDotNetEntityFrameworkCacheKey
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.entityframework.PlatformDotNetEntityFrameworkCacheKey
-
- All Implemented Interfaces:
Comparable<PlatformDotNetEntityFrameworkCacheKey>,Binarylizable
public class PlatformDotNetEntityFrameworkCacheKey extends Object implements Binarylizable, Comparable<PlatformDotNetEntityFrameworkCacheKey>
EntityFramework cache key: query + versions.
-
-
Constructor Summary
Constructors Constructor Description PlatformDotNetEntityFrameworkCacheKey()Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(@NotNull PlatformDotNetEntityFrameworkCacheKey o)booleanequals(Object o)inthashCode()Stringquery()Gets the query text.voidreadBinary(BinaryReader reader)Reads fields from provided reader.long[]versions()Gets the entity set versions.voidwriteBinary(BinaryWriter writer)Writes fields to provided writer.
-
-
-
Method Detail
-
query
public String query()
Gets the query text.- Returns:
- Query text.
-
versions
public long[] versions()
Gets the entity set versions.- Returns:
- Entity set versions.
-
writeBinary
public void writeBinary(BinaryWriter writer) throws BinaryObjectException
Writes fields to provided writer.- Specified by:
writeBinaryin interfaceBinarylizable- Parameters:
writer- Binary object writer.- Throws:
BinaryObjectException- In case of error.
-
readBinary
public void readBinary(BinaryReader reader) throws BinaryObjectException
Reads fields from provided reader.- Specified by:
readBinaryin interfaceBinarylizable- Parameters:
reader- Binary object reader.- Throws:
BinaryObjectException- In case of error.
-
compareTo
public int compareTo(@NotNull @NotNull PlatformDotNetEntityFrameworkCacheKey o)- Specified by:
compareToin interfaceComparable<PlatformDotNetEntityFrameworkCacheKey>
-
-