Click or drag to resize
RiakObject Class
Contains all the information about a single object in Riak.
Inheritance Hierarchy
SystemObject
  RiakClient.ModelsRiakObject

Namespace:  RiakClient.Models
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public class RiakObject : IWriteableVClock

The RiakObject type exposes the following members.

Constructors
  NameDescription
Public methodRiakObject(String, String)
Initializes a new instance of the RiakObject class.
Public methodRiakObject(RiakObjectId, Object)
Initializes a new instance of the RiakObject class. Uses an "application/json" content type.
Public methodRiakObject(String, String, Object)
Initializes a new instance of the RiakObject class.
Public methodRiakObject(String, String, String)
Initializes a new instance of the RiakObject class.
Public methodRiakObject(RiakObjectId, String, String)
Initializes a new instance of the RiakObject class.
Public methodRiakObject(String, String, String, String)
Initializes a new instance of the RiakObject class.
Public methodRiakObject(RiakObjectId, Byte, String, String)
Initializes a new instance of the RiakObject class.
Public methodRiakObject(RiakObjectId, String, String, String)
Initializes a new instance of the RiakObject class.
Public methodRiakObject(String, String, Byte, String, String)
Initializes a new instance of the RiakObject class.
Public methodRiakObject(String, String, String, String, String)
Initializes a new instance of the RiakObject class.
Top
Properties
  NameDescription
Public propertyBinIndexes
Get the collection of string (binary) secondary indexes for this object.
Public propertyBucket
Get the Bucket name.
Public propertyBucketType
Get the Bucket Type (if any).
Public propertyCharSet
Get the CharSet encoding, if set.
Public propertyContentEncoding
Get the ContentEncoding.
Public propertyContentType
Get the Content Type (MIME Type).
Public propertyHasChanged
Check to see if the object has changed since it was fetched.
Public propertyIntIndexes
Get the collection of Integer secondary indexes for this object.
Public propertyKey
Get the Key.
Public propertyLastModified
Get the Last Modified unix timestamp.
Public propertyLastModifiedUsec
Get the Last Modified unix timestamp in microseconds.
Public propertyLinks
Get the list of Links to other Riak objects.
Public propertySiblings
Get a list of conflicting Sibling objects.
Public propertyUserMetaData
Get any user set MetaData.
Public propertyValue
Get the raw value, as a byte[].
Public propertyVectorClock
Get the Vector Clock.
Public propertyVTag
Get the VTag.
Public propertyVTags
Get the VTags.
Top
Methods
  NameDescription
Public methodBinIndex
Fetch a single string (binary) secondary idnex to work with.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(RiakObject)
Determines whether the specified object is equal to the current object.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for the current object. Uses a combination of the public properties to generate a unique hash code.
(Overrides ObjectGetHashCode.)
Public methodGetObjectT
Deserializes and returns the object's value.
Public methodGetObjectT(DeserializeObjectT, ResolveConflictT)
Deserializes and returns the object's value, using the provided deserializer.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntIndex
Fetch a single integer secondary index to work with.
Public methodLinkTo(RiakObject, String) Obsolete.
Create a link from this object to another using a tag.
Public methodLinkTo(RiakObjectId, String) Obsolete.
Create a link from this object to another using a tag.
Public methodLinkTo(String, String, String) Obsolete.
Create a link from this object to another using a tag.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveLink(RiakLink) Obsolete.
Remove a link, that goes from this object to another.
Public methodRemoveLink(RiakObject, String) Obsolete.
Remove a link, that goes from this object to another.
Public methodRemoveLink(RiakObjectId, String) Obsolete.
Remove a link, that goes from this object to another.
Public methodRemoveLink(String, String, String) Obsolete.
Remove a link, that goes from this object to another.
Public methodRemoveLinks(RiakObject) Obsolete.
Remove all links from this object that link to riakObject.
Public methodRemoveLinks(RiakObjectId) Obsolete.
Remove all links from this object that link to riakObjectId.
Public methodSetObjectT(T, SerializeObjectToByteArrayT)
Set the object's value, after serializing it with the provided serializer.
Public methodSetObjectT(T, SerializeObjectToStringT)
Set the object's value, after serializing it with the provided serializer.
Public methodSetObjectT(T, String)
Set the object's value, after serializing it.
Public methodSetObjectT(T, String, SerializeObjectToByteArrayT)
Set the object's value, after serializing it with the provided serializer.
Public methodSetObjectT(T, String, SerializeObjectToStringT)
Set the object's value, after serializing it with the provided serializer.
Public methodToRiakObjectId
Get the Id for this object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also