Represents a table mutator specification.

Namespace: Hypertable
Assembly: ht4n (in ht4n.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
[SerializableAttribute]
public sealed class MutatorSpec
<SerializableAttribute> _
Public NotInheritable Class MutatorSpec
[SerializableAttribute]
public ref class MutatorSpec sealed

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
MutatorSpec()()()()
Initializes a new instance of the MutatorSpec class.
MutatorSpec(MutatorKind)
Initializes a new instance of the MutatorSpec class using the specified mutator kind.
MutatorSpec(MutatorSpec)
Initializes a new instance of the MutatorSpec class identical to the specified mutator spec.
Capacity
Gets or sets the bounded size of the blocking queue, only for queued mutator.
Create()()()()
Creates a new default MutatorSpec instance.
CreateChunked()()()()
Creates a new MutatorSpec instance for creating a chunked mutator.
CreateChunkedQueued()()()()
Creates a new MutatorSpec instance for creating a queued chunked mutator.
CreateQueued()()()()
Creates a new MutatorSpec instance for creating a queued mutator.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Flags
Gets or sets the table mutator flags.
FlushEachChunk
Gets or sets a value that indicates whether each chunk should be flushed or not, only for chunked mutator.
FlushInterval
Gets or sets the periodic flush interval, if zero periodic flush is disabled.
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MaxCellCount
Gets or sets the maximum cell count for a chunk, only for chunked mutator.
MaxCellCountDefault
Gets or sets the default maximum cell count for a chunk, only for chunked mutator.
MaxChunkSize
Gets or sets the maximum chunk size in bytes, only for chunked mutator.
MaxChunkSizeDefault
Gets or sets the default value for the maximum chunk size in bytes, only for chunked mutator.
MutatorKind
Gets or sets the mutator kind.
Queued
Gets or sets a value that indicates whether to create a queued or synchronous mutator.
Timeout
Gets or sets the maximum time to allow mutator methods to execute before time out, if zero timeout is disabled.
ToString()()()()
Returns a string that represents the current object.
(Overrides Object..::..ToString()()()().)

Examples

The following example shows how to create a chunked mutator.
CopyC#
MutatorSpec mutatorSpec = MutatorSpec.CreateChunked();
mutatorSpec.FlushEachChunk = true;
using( var mutator = table.CreateMutator(mutatorSpec) ) {
   // do something
}
The following example shows how to create a queued mutator.
CopyC#
using( var mutator = table.CreateMutator(MutatorSpec.CreateQueued()) ) {
   // do something
}

Inheritance Hierarchy

System..::..Object
  Hypertable..::..MutatorSpec

See Also