Class CollectionSpec
Inheritance
CollectionSpec
Assembly: Couchbase.NetClient.dll
Syntax
public class CollectionSpec : IEquatable<CollectionSpec>
Constructors
|
Edit this page
View Source
CollectionSpec(string, string)
Declaration
public CollectionSpec(string scopeName, string name)
Parameters
Properties
|
Edit this page
View Source
History
Whether history retention override is enabled on this collection. If not set will default to bucket level setting.
Declaration
public bool? History { get; init; }
Property Value
|
Edit this page
View Source
MaxExpiry
MaxExpiry is the time in seconds for the TTL for new documents in the collection. It will be infinite if not set.
Declaration
[InterfaceStability(Level.Volatile)]
public TimeSpan? MaxExpiry { get; set; }
Property Value
|
Edit this page
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Edit this page
View Source
ScopeName
Declaration
public string ScopeName { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(CollectionSpec)
Declaration
public bool Equals(CollectionSpec other)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
|
Edit this page
View Source
operator ==(CollectionSpec, CollectionSpec)
Declaration
public static bool operator ==(CollectionSpec left, CollectionSpec right)
Parameters
Returns
|
Edit this page
View Source
operator !=(CollectionSpec, CollectionSpec)
Declaration
public static bool operator !=(CollectionSpec left, CollectionSpec right)
Parameters
Returns
Implements