use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsNodePredicate method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter rawWriter = writer.rawWriter();
rawWriter.writeString(igfsName);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsClientAbstractCallable method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public final void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter rawWriter = writer.rawWriter();
rawWriter.writeString(igfsName);
rawWriter.writeString(user);
IgfsUtils.writePath(rawWriter, path);
writeBinary0(rawWriter);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaUpdateTimesProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
out.writeLong(accessTime);
out.writeLong(modificationTime);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class PlatformDotNetSessionData method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter raw = writer.rawWriter();
writeBinary(raw);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class PlatformDotNetEntityFrameworkCacheKey method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
final BinaryRawWriter raw = writer.rawWriter();
raw.writeString(query);
if (versions != null) {
raw.writeInt(versions.length);
for (long ver : versions) raw.writeLong(ver);
} else
raw.writeInt(-1);
}
Aggregations