Versions in this module Expand all Collapse all v0 v0.1.3 Aug 14, 2020 v0.1.2 Aug 7, 2020 Changes in this version + const AttachmentDocument + const AttachmentRevision + const CommandAttachmentDelete + const CommandAttachmentPut + const CommandClientAnyCommand + const CommandClientNotAttachment + const CommandDelete + const CommandPatch + const CommandPut + const ConnectionStringTypeNone + const ConnectionStringTypeRaven + const ConnectionStringTypeSQL + const DatabasePromotionStatusChangeVectorNotMerged + const DatabasePromotionStatusIndexNotUpToDate + const DatabasePromotionStatusNotResponding + const DatabasePromotionStatusOk + const DatabasePromotionStatusWaitingForFirstPromotion + const DatabasePromotionStatusWaitingForResponse + const DocumentChangeCommon + const DocumentChangeConflict + const DocumentChangeDelete + const DocumentChangeNone + const DocumentChangePut + const FacetAggregationAverage + const FacetAggregationMax + const FacetAggregationMin + const FacetAggregationNone + const FacetAggregationSum + const FacetTermSortModeCountAsc + const FacetTermSortModeCountDesc + const FacetTermSortModeValueAsc + const FacetTermSortModeValueDesc + const FieldIndexingDefault + const FieldIndexingExact + const FieldIndexingNo + const FieldIndexingSearch + const FieldStorageNo + const FieldStorageYes + const FieldTermVectorNo + const FieldTermVectorWithOffsets + const FieldTermVectorWithPositions + const FieldTermVectorWithPositionsAndOffsets + const FieldTermVectorYes + const GroupByMethodArray + const GroupByMethodNone + const IdentityProperty + const IndexChangeBatchCompleted + const IndexChangeIndexAdded + const IndexChangeIndexDemotedToDisabled + const IndexChangeIndexDemotedToIdle + const IndexChangeIndexMarkedAsErrored + const IndexChangeIndexPaused + const IndexChangeIndexPromotedFromIdle + const IndexChangeIndexRemoved + const IndexChangeLockModeChanged + const IndexChangeNone + const IndexChangePriorityChanged + const IndexChangeRenamed + const IndexChangeSideBySideReplace + const IndexLockModeLockedError + const IndexLockModeLockedIgnore + const IndexLockModeUnlock + const IndexPriorityHigh + const IndexPriorityLow + const IndexPriorityNormal + const IndexRunningStatusDisabled + const IndexRunningStatusPaused + const IndexRunningStatusRunning + const IndexStateDisabled + const IndexStateError + const IndexStateIdle + const IndexStateNormal + const IndexTypeAutoMap + const IndexTypeAutoMapReduce + const IndexTypeFaulty + const IndexTypeMap + const IndexTypeMapReduce + const IndexTypeNone + const IndexingFieldAllFields + const IndexingFieldNameDocumentID + const IndexingFieldNameReduceKeyHash + const IndexingFieldNameReduceKeyValue + const IndexingFieldsNameSpatialShare + const IndexingSideBySideIndexNamePrefix + const IndexingSpatialDefaultDistnaceErrorPct + const MetadataAllDocumentsCollection + const MetadataAttachments + const MetadataChangeVector + const MetadataCollection + const MetadataConflict + const MetadataExpires + const MetadataFlags + const MetadataID + const MetadataIDProperty + const MetadataInddexScore + const MetadataKey + const MetadataLastModified + const MetadataProjection + const MetadataRavenGoType + const MethodsTypeCmpXChg + const MoreLikeThisOptionsDefaultBoost + const MoreLikeThisOptionsDefaultBoostFactor + const MoreLikeThisOptionsDefaultMaximumDocumentFrequence + const MoreLikeThisOptionsDefaultMaximumNumberOfTokensParsed + const MoreLikeThisOptionsDefaultMaximumQueryTerms + const MoreLikeThisOptionsDefaultMaximumWordLength + const MoreLikeThisOptionsDefaultMinimumDocumentFrequency + const MoreLikeThisOptionsDefaultMinimumTermFrequency + const MoreLikeThisOptionsDefaultMinimumWordLength + const OrderingTypeAlphaNumeric + const OrderingTypeDouble + const OrderingTypeLong + const OrderingTypeString + const PatchStatusCreated + const PatchStatusDocumentDoesNotExist + const PatchStatusNotModified + const PatchStatusPatched + const PatchStatusSkipped + const QueryOperatorAnd + const QueryOperatorOr + const RavenCommandResponseTypeEmpty + const RavenCommandResponseTypeObject + const RavenCommandResponseTypeRaw + const ReadBalanceBehaviorFastestNode + const ReadBalanceBehaviorNone + const ReadBalanceBehaviorRoundRobin + const ServerNodeRoleMember + const ServerNodeRoleNone + const ServerNodeRolePromotable + const ServerNodeRoleRehab + const SpatialFieldCartesian + const SpatialFieldGeography + const SpatialOptionsDefaultGeohashLevel + const SpatialOptionsDefaultQuadTreeLevel + const SpatialRelationContains + const SpatialRelationDisjoin + const SpatialRelationIntersects + const SpatialRelationWithin + const SpatialSearchStrategyBoundingBox + const SpatialSearchStrategyGeohashPrefixTree + const SpatialSearchStrategyQuadPrefixTree + const SpatialUnitsKilometers + const SpatialUnitsMiles + const StringDistanceDefault + const StringDistanceJaroWinkler + const StringDistanceLevenshtein + const StringDistanceNGram + const StringDistanceNone + const SubscriptionClientMessageAcknowledge + const SubscriptionClientMessageDisposedNotification + const SubscriptionClientMessageNone + const SubscriptionOpeningStrategyOpenIfFree + const SubscriptionOpeningStrategyTakeOver + const SubscriptionOpeningStrategyWaitForFree + const SuggestionSortModeNone + const SuggestionSortModePopularity + var DebugLogRequestExecutor bool = false + var DebugTopology bool = false + var DefaultFacetOptions = &FacetOptions + var HTTPClientPostProcessor func(*http.Client) + var LogSubscriptionWorker func(op string, d []byte) = func(op string, d []byte) + var LogVerbose = false + var SuggestionOptionsDefaultAccuracy = float32(0.5) + var SuggestionOptionsDefaultDistance = StringDistanceLevenshtein + var SuggestionOptionsDefaultOptions = NewSuggestionOptions() + var SuggestionOptionsDefaultPageSize = 15 + var SuggestionOptionsDefaultSortMode = SuggestionSortModePopularity + func FieldsFor(s interface{}) []string + func GetCollectionNameDefault(entityOrType interface{}) string + func GetWrappedError(err error) error + func IsPlural(word string) bool + func IsSingular(word string) bool + func ParseTime(s string) (time.Time, error) + func Pluralize(word string, count int, inclusive bool) string + func RoundToServerTime(t time.Time) time.Time + func ToPlural(word string) string + func ToSingular(word string) string + type AdvancedSessionExtensionBase struct + func (e *AdvancedSessionExtensionBase) Defer(commands ...ICommandData) + type AdvancedSessionOperations struct + func (o *AdvancedSessionOperations) AddAfterSaveChangesListener(handler func(*AfterSaveChangesEventArgs)) int + func (o *AdvancedSessionOperations) AddBeforeDeleteListener(handler func(*BeforeDeleteEventArgs)) int + func (o *AdvancedSessionOperations) AddBeforeQueryListener(handler func(*BeforeQueryEventArgs)) int + func (o *AdvancedSessionOperations) AddBeforeStoreListener(handler func(*BeforeStoreEventArgs)) int + func (o *AdvancedSessionOperations) Attachments() *AttachmentsSessionOperations + func (o *AdvancedSessionOperations) Clear() + func (o *AdvancedSessionOperations) Defer(commands ...ICommandData) + func (o *AdvancedSessionOperations) Eagerly() *EagerSessionOperations + func (o *AdvancedSessionOperations) Evict(entity interface{}) error + func (o *AdvancedSessionOperations) Exists(id string) (bool, error) + func (o *AdvancedSessionOperations) GetChangeVectorFor(instance interface{}) (*string, error) + func (o *AdvancedSessionOperations) GetCurrentSessionNode() (*ServerNode, error) + func (o *AdvancedSessionOperations) GetDocumentID(instance interface{}) string + func (o *AdvancedSessionOperations) GetDocumentStore() *DocumentStore + func (o *AdvancedSessionOperations) GetLastModifiedFor(instance interface{}) (*time.Time, error) + func (o *AdvancedSessionOperations) GetMaxNumberOfRequestsPerSession() int + func (o *AdvancedSessionOperations) GetMetadataFor(instance interface{}) (*MetadataAsDictionary, error) + func (o *AdvancedSessionOperations) GetNumberOfRequests() int + func (o *AdvancedSessionOperations) GetRequestExecutor() *RequestExecutor + func (o *AdvancedSessionOperations) HasChanged(entity interface{}) (bool, error) + func (o *AdvancedSessionOperations) HasChanges() bool + func (o *AdvancedSessionOperations) IgnoreChangesFor(entity interface{}) error + func (o *AdvancedSessionOperations) Increment(entity interface{}, path string, valueToAdd interface{}) error + func (o *AdvancedSessionOperations) IncrementByID(id string, path string, valueToAdd interface{}) error + func (o *AdvancedSessionOperations) IsLoaded(id string) bool + func (o *AdvancedSessionOperations) Lazily() *LazySessionOperations + func (o *AdvancedSessionOperations) LoadIntoStream(ids []string, output io.Writer) error + func (o *AdvancedSessionOperations) LoadStartingWith(results interface{}, args *StartsWithArgs) error + func (o *AdvancedSessionOperations) LoadStartingWithIntoStream(output io.Writer, args *StartsWithArgs) error + func (o *AdvancedSessionOperations) Patch(entity interface{}, path string, value interface{}) error + func (o *AdvancedSessionOperations) PatchArray(entity interface{}, pathToArray string, arrayAdder func(*JavaScriptArray)) error + func (o *AdvancedSessionOperations) PatchArrayByID(id string, pathToArray string, arrayAdder func(*JavaScriptArray)) error + func (o *AdvancedSessionOperations) PatchByID(id string, path string, value interface{}) error + func (o *AdvancedSessionOperations) Query(opts *DocumentQueryOptions) *DocumentQuery + func (o *AdvancedSessionOperations) QueryCollection(collectionName string) *DocumentQuery + func (o *AdvancedSessionOperations) QueryCollectionForType(typ reflect.Type) *DocumentQuery + func (o *AdvancedSessionOperations) QueryIndex(indexName string) *DocumentQuery + func (o *AdvancedSessionOperations) RawQuery(rawQuery string) *RawDocumentQuery + func (o *AdvancedSessionOperations) Refresh(entity interface{}) error + func (o *AdvancedSessionOperations) RemoveAfterSaveChangesListener(handlerID int) + func (o *AdvancedSessionOperations) RemoveBeforeDeleteListener(handlerID int) + func (o *AdvancedSessionOperations) RemoveBeforeQueryListener(handlerID int) + func (o *AdvancedSessionOperations) RemoveBeforeStoreListener(handlerID int) + func (o *AdvancedSessionOperations) Revisions() *RevisionsSessionOperations + func (o *AdvancedSessionOperations) SetMaxNumberOfRequestsPerSession(n int) + func (o *AdvancedSessionOperations) Stream(args *StartsWithArgs) (*StreamIterator, error) + func (o *AdvancedSessionOperations) StreamQuery(query *DocumentQuery, streamQueryStats *StreamQueryStatistics) (*StreamIterator, error) + func (o *AdvancedSessionOperations) StreamQueryInto(query *DocumentQuery, output io.Writer) error + func (o *AdvancedSessionOperations) StreamRawQuery(query *RawDocumentQuery, streamQueryStats *StreamQueryStatistics) (*StreamIterator, error) + func (o *AdvancedSessionOperations) StreamRawQueryInto(query *RawDocumentQuery, output io.Writer) error + func (o *AdvancedSessionOperations) WaitForIndexesAfterSaveChanges(options func(*IndexesWaitOptsBuilder)) + func (o *AdvancedSessionOperations) WaitForReplicationAfterSaveChanges(options func(*ReplicationWaitOptsBuilder)) + func (o *AdvancedSessionOperations) WhatChanged() (map[string][]*DocumentsChanges, error) + type AfterSaveChangesEventArgs struct + DocumentID string + Entity interface{} + Session *InMemoryDocumentSessionOperations + func (a *AfterSaveChangesEventArgs) GetDocumentMetadata() *MetadataAsDictionary + type AggregationDocumentQuery = aggregationQueryBase + func (q *AggregationDocumentQuery) AndAggregateByFacet(facet FacetBase) *AggregationDocumentQuery + func (q *AggregationDocumentQuery) GetIndexQuery() (*IndexQuery, error) + type AggressiveCacheOptions struct + Duration time.Duration + type AllTopologyNodesDownError struct + func (e *AllTopologyNodesDownError) Error() string + func (e *AllTopologyNodesDownError) WrappedError() error + type AttachmentDetails struct + ChangeVector *string + DocumentID string + type AttachmentName struct + ContentType string + Hash string + Name string + Size int64 + type AttachmentResult struct + Data io.Reader + Details *AttachmentDetails + func (r *AttachmentResult) Close() error + type AttachmentType = string + type AttachmentsSessionOperations = DocumentSessionAttachments + type AuthorizationError struct + func (e *AuthorizationError) Error() string + func (e *AuthorizationError) WrappedError() error + type BadRequestError struct + func (e *BadRequestError) Error() string + func (e *BadRequestError) WrappedError() error + type BadResponseError struct + func (e *BadResponseError) Error() string + func (e *BadResponseError) WrappedError() error + type BatchCommand struct + Result *JSONArrayResult + func (c *BatchCommand) Close() error + type BatchOperation struct + type BatchOptions struct + func NewBatchOptions() *BatchOptions + type BeforeDeleteEventArgs struct + DocumentID string + Entity interface{} + Session *InMemoryDocumentSessionOperations + func (a *BeforeDeleteEventArgs) GetDocumentMetadata() *MetadataAsDictionary + type BeforeQueryEventArgs struct + QueryCustomization *DocumentQueryCustomization + Session *InMemoryDocumentSessionOperations + type BeforeStoreEventArgs struct + DocumentID string + Entity interface{} + Session *InMemoryDocumentSessionOperations + func (a *BeforeStoreEventArgs) GetDocumentMetadata() *MetadataAsDictionary + type BulkInsertAbortedError struct + func (e *BulkInsertAbortedError) Error() string + func (e *BulkInsertAbortedError) WrappedError() error + type BulkInsertCommand struct + Result *http.Response + func NewBulkInsertCommand(id int64, stream io.Reader, useCompression bool) *BulkInsertCommand + type BulkInsertOperation struct + Command *BulkInsertCommand + func NewBulkInsertOperation(database string, store *DocumentStore) *BulkInsertOperation + func (o *BulkInsertOperation) Abort() error + func (o *BulkInsertOperation) Close() error + func (o *BulkInsertOperation) GetID(entity interface{}) (string, error) + func (o *BulkInsertOperation) Store(entity interface{}, metadata *MetadataAsDictionary) (string, error) + func (o *BulkInsertOperation) StoreWithID(entity interface{}, id string, metadata *MetadataAsDictionary) error + func (o *BulkInsertOperation) WaitForID() error + type BulkInsertProtocolViolationError struct + func (e *BulkInsertProtocolViolationError) Error() string + func (e *BulkInsertProtocolViolationError) WrappedError() error + type CancelFunc func() + type CancellationError struct + func (e *CancellationError) Error() string + type CertificateNameMismatchError struct + func (e *CertificateNameMismatchError) Error() string + func (e *CertificateNameMismatchError) WrappedError() error + type ChangeProcessingError struct + func (e *ChangeProcessingError) Error() string + func (e *ChangeProcessingError) WrappedError() error + type ChangeType int + const DocumentChangeArrayValueAdded + const DocumentChangeArrayValueChanged + const DocumentChangeArrayValueRemoved + const DocumentChangeDocumentAdded + const DocumentChangeDocumentDeleted + const DocumentChangeEntityTypeChanged + const DocumentChangeFieldChanged + const DocumentChangeFieldTypeChanged + const DocumentChangeNewField + const DocumentChangeRemovedField + type CircleCriteria struct + func NewCircleCriteria(radius float64, latitude float64, longitude float64, radiusUnits SpatialUnits, ...) *CircleCriteria + func (c *CircleCriteria) GetShapeToken(addQueryParameter func(interface{}) string) *shapeToken + func (c *CircleCriteria) ToQueryToken(fieldName string, addQueryParameter func(interface{}) string) queryToken + type ClientConfiguration struct + Etag int64 + IsDisabled bool + MaxNumberOfRequestsPerSession int + ReadBalanceBehavior ReadBalanceBehavior + type ClientVersionMismatchError struct + func (e *ClientVersionMismatchError) Error() string + func (e *ClientVersionMismatchError) WrappedError() error + type ClusterRequestExecutor = RequestExecutor + type ClusterTopology struct + LastNodeID string + Members map[string]string + Promotables map[string]string + TopologyID string + Watchers map[string]string + type ClusterTopologyResponse struct + Leader string + NodeTag string + Topology *ClusterTopology + type CmpXchg struct + func CmpXchgValue(key string) *CmpXchg + type CollectionStatistics struct + Collections map[string]int + CountOfConflicts int + CountOfDocuments int + type CollectionStats struct + DocumentLag int64 + LastProcessedDocumentEtag int64 + LastProcessedTombstoneEtag int64 + TombstoneLag int64 + func NewCollectionStats() *CollectionStats + type CommandData struct + ChangeVector *string + ID string + Name string + Type CommandType + type CommandExecutionError struct + func (e *CommandExecutionError) Error() string + func (e *CommandExecutionError) WrappedError() error + type CommandType = string + type CompactDatabaseCommand struct + Result *OperationIDResult + func NewCompactDatabaseCommand(conventions *DocumentConventions, compactSettings *CompactSettings) (*CompactDatabaseCommand, error) + type CompactDatabaseOperation struct + Command *CompactDatabaseCommand + func NewCompactDatabaseOperation(compactSettings *CompactSettings) *CompactDatabaseOperation + func (o *CompactDatabaseOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type CompactSettings struct + DatabaseName string + Documents bool + Indexes []string + type CompareExchangeResult struct + Index int64 + IsSuccessful bool + Value interface{} + type CompareExchangeValue struct + Index int64 + Key string + Value interface{} + func NewCompareExchangeValue(key string, index int64, value interface{}) *CompareExchangeValue + type CompilationError struct + func (e *CompilationError) Error() string + func (e *CompilationError) WrappedError() error + type ConcurrencyCheckMode int + const ConcurrencyCheckAuto + const ConcurrencyCheckDisabled + const ConcurrencyCheckForced + type ConcurrencyError struct + ActualChangeVector string + ActualETag int64 + ExpectedChangeVector string + ExpectedETag int64 + func (e *ConcurrencyError) Error() string + func (e *ConcurrencyError) WrappedError() error + type ConfigureRevisionsCommand struct + Result *ConfigureRevisionsOperationResult + func NewConfigureRevisionsCommand(configuration *RevisionsConfiguration) *ConfigureRevisionsCommand + type ConfigureRevisionsOperation struct + Command *ConfigureRevisionsCommand + func NewConfigureRevisionsOperation(configuration *RevisionsConfiguration) *ConfigureRevisionsOperation + func (o *ConfigureRevisionsOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type ConfigureRevisionsOperationResult struct + RaftCommandIndex int64 + type Conflict struct + ChangeVector string + Doc map[string]interface{} + LastModified Time + type ConflictError struct + func (e *ConflictError) Error() string + func (e *ConflictError) WrappedError() error + type ConflictSolver struct + ResolveByCollection map[string]*ScriptResolver + ResolveToLatest bool + type ConnectionString struct + Name string + Type ConnectionStringType + type ConnectionStringType = string + type CreateDatabaseCommand struct + Result *DatabasePutResult + func NewCreateDatabaseCommand(conventions *DocumentConventions, databaseRecord *DatabaseRecord, ...) (*CreateDatabaseCommand, error) + type CreateDatabaseOperation struct + func NewCreateDatabaseOperation(databaseRecord *DatabaseRecord, replicationFactor int) *CreateDatabaseOperation + func (o *CreateDatabaseOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type CreateSampleDataCommand struct + func NewCreateSampleDataCommand(conventions *DocumentConventions) *CreateSampleDataCommand + type CreateSampleDataOperation struct + Command *CreateSampleDataCommand + func NewCreateSampleDataOperation() *CreateSampleDataOperation + func (o *CreateSampleDataOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type CreateSubscriptionCommand struct + Result *CreateSubscriptionResult + type CreateSubscriptionResult struct + Name string + type CurrentIndexAndNode struct + func NewCurrentIndexAndNode(currentIndex int, currentNode *ServerNode) *CurrentIndexAndNode + type DatabaseChanges struct + func (c *DatabaseChanges) AddConnectionStatusChanged(handler func()) int + func (c *DatabaseChanges) AddOnError(handler func(error)) int + func (c *DatabaseChanges) Close() + func (c *DatabaseChanges) EnsureConnectedNow() error + func (c *DatabaseChanges) ForAllDocuments(cb func(*DocumentChange)) (CancelFunc, error) + func (c *DatabaseChanges) ForAllIndexes(cb func(*IndexChange)) (CancelFunc, error) + func (c *DatabaseChanges) ForAllOperations(cb func(change *OperationStatusChange)) (CancelFunc, error) + func (c *DatabaseChanges) ForDocument(docID string, cb func(*DocumentChange)) (CancelFunc, error) + func (c *DatabaseChanges) ForDocumentsInCollection(collectionName string, cb func(*DocumentChange)) (CancelFunc, error) + func (c *DatabaseChanges) ForDocumentsInCollectionOfType(clazz reflect.Type, cb func(*DocumentChange)) (CancelFunc, error) + func (c *DatabaseChanges) ForDocumentsStartingWith(docIDPrefix string, cb func(*DocumentChange)) (CancelFunc, error) + func (c *DatabaseChanges) ForIndex(indexName string, cb func(*IndexChange)) (CancelFunc, error) + func (c *DatabaseChanges) ForOperationID(operationID int64, cb func(*OperationStatusChange)) (CancelFunc, error) + func (c *DatabaseChanges) RemoveConnectionStatusChanged(handlerID int) + func (c *DatabaseChanges) RemoveOnError(handlerID int) + type DatabaseConcurrentLoadTimeoutError struct + func (e *DatabaseConcurrentLoadTimeoutError) Error() string + func (e *DatabaseConcurrentLoadTimeoutError) WrappedError() error + type DatabaseDisabledError struct + func (e *DatabaseDisabledError) Error() string + func (e *DatabaseDisabledError) WrappedError() error + type DatabaseDoesNotExistError struct + func (e *DatabaseDoesNotExistError) Error() string + func (e *DatabaseDoesNotExistError) WrappedError() error + type DatabaseLoadFailureError struct + func (e *DatabaseLoadFailureError) Error() string + func (e *DatabaseLoadFailureError) WrappedError() error + type DatabaseLoadTimeoutError struct + func (e *DatabaseLoadTimeoutError) Error() string + func (e *DatabaseLoadTimeoutError) WrappedError() error + type DatabaseNotRelevantError struct + func (e *DatabaseNotRelevantError) Error() string + func (e *DatabaseNotRelevantError) WrappedError() error + type DatabasePromotionStatus = string + type DatabasePutResult struct + DatabaseTopology Topology + Name string + NodesAddedTo []string + RaftCommandIndex int64 + type DatabaseRecord struct + ConflictSolverConfig *ConflictSolver + DataDirectory string + DatabaseName string + Disabled bool + Settings map[string]string + func NewDatabaseRecord() *DatabaseRecord + type DatabaseRecordWithEtag struct + Etag int64 + type DatabaseStatistics struct + CountOfAttachments int64 + CountOfConflicts int64 + CountOfDocuments int64 + CountOfDocumentsConflicts int64 + CountOfIndexes int + CountOfRevisionDocuments int64 + CountOfTombstones int64 + CountOfUniqueAttachments int64 + DatabaseChangeVector string + DatabaseID string + Indexes []*IndexInformation + Is64Bit bool + LastDocEtag int64 + LastIndexingTime *Time + NumberOfTransactionMergerQueueOperations int + Pager string + SizeOnDisk *Size + TempBuffersSizeOnDisk *Size + func (s *DatabaseStatistics) GetLastIndexingTime() *time.Time + type DatabaseTopology struct + DemotionReasons map[string]string + DynamicNodesDistribution bool + Members []string + PredefinedMentors map[string]string + Promotables []string + PromotablesStatus map[string]string + Rehabs []string + ReplicationFactor int + Stamp LeaderStamp + type DeleteAttachmentCommand struct + func NewDeleteAttachmentCommand(documentID string, name string, changeVector *string) (*DeleteAttachmentCommand, error) + type DeleteAttachmentCommandData struct + func NewDeleteAttachmentCommandData(documentID string, name string, changeVector *string) (*DeleteAttachmentCommandData, error) + type DeleteAttachmentOperation struct + Command *DeleteAttachmentCommand + func NewDeleteAttachmentOperation(documentID string, name string, changeVector *string) *DeleteAttachmentOperation + func (o *DeleteAttachmentOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type DeleteByIndexCommand struct + Result *OperationIDResult + func NewDeleteByIndexCommand(conventions *DocumentConventions, queryToDelete *IndexQuery, ...) (*DeleteByIndexCommand, error) + type DeleteByQueryOperation struct + Command *DeleteByIndexCommand + func NewDeleteByQueryOperation(queryToDelete *IndexQuery, options *QueryOperationOptions) (*DeleteByQueryOperation, error) + func (o *DeleteByQueryOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type DeleteCommandData struct + type DeleteCompareExchangeValueOperation struct + Command *RemoveCompareExchangeValueCommand + func NewDeleteCompareExchangeValueOperation(clazz reflect.Type, key string, index int64) (*DeleteCompareExchangeValueOperation, error) + func (o *DeleteCompareExchangeValueOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type DeleteDatabaseCommand struct + Result *DeleteDatabaseResult + func NewDeleteDatabaseCommand(conventions *DocumentConventions, parameters *DeleteDatabaseParameters) (*DeleteDatabaseCommand, error) + type DeleteDatabaseParameters struct + DatabaseNames []string + FromNodes []string + HardDelete bool + TimeToWaitForConfirmation *time.Duration + type DeleteDatabaseResult struct + PendingDeletes []string + RaftCommandIndex int64 + type DeleteDatabasesOperation struct + Command *DeleteDatabaseCommand + func NewDeleteDatabasesOperation(databaseName string, hardDelete bool) *DeleteDatabasesOperation + func NewDeleteDatabasesOperation2(databaseName string, hardDelete bool, fromNode string, ...) *DeleteDatabasesOperation + func NewDeleteDatabasesOperationWithParameters(parameters *DeleteDatabaseParameters) *DeleteDatabasesOperation + func (o *DeleteDatabasesOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type DeleteDocumentCommand struct + func NewDeleteDocumentCommand(id string, changeVector *string) *DeleteDocumentCommand + type DeleteIndexCommand struct + func NewDeleteIndexCommand(indexName string) (*DeleteIndexCommand, error) + type DeleteIndexOperation struct + Command *DeleteIndexCommand + func NewDeleteIndexOperation(indexName string) *DeleteIndexOperation + func (o *DeleteIndexOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type DeleteSubscriptionCommand struct + type DisableIndexCommand struct + func NewDisableIndexCommand(indexName string) (*DisableIndexCommand, error) + type DisableIndexOperation struct + Command *DisableIndexCommand + func NewDisableIndexOperation(indexName string) (*DisableIndexOperation, error) + func (o *DisableIndexOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type DocumentChange struct + ChangeVector *string + CollectionName string + ID string + Type DocumentChangeTypes + func (c *DocumentChange) String() string + type DocumentChangeTypes = string + type DocumentConflictError struct + DocID string + LargestEtag int64 + func (e *DocumentConflictError) Error() string + func (e *DocumentConflictError) WrappedError() error + type DocumentConventions struct + ErrorIfQueryPageSizeIsNotSet bool + FindCollectionName func(interface{}) string + IdentityPartsSeparator string + MaxLengthOfQueryUsingGetURL int + MaxNumberOfRequestsPerSession int + RaiseIfQueryPageSizeIsNotSet bool + ReadBalanceBehavior ReadBalanceBehavior + Timeout time.Duration + UseOptimisticConcurrency bool + func NewDocumentConventions() *DocumentConventions + func (c *DocumentConventions) Clone() *DocumentConventions + func (c *DocumentConventions) Freeze() + func (c *DocumentConventions) GenerateDocumentID(databaseName string, entity interface{}) (string, error) + func (c *DocumentConventions) GetDocumentIDGenerator() DocumentIDGeneratorFunc + func (c *DocumentConventions) GetIdentityPartsSeparator() string + func (c *DocumentConventions) GetIdentityProperty(clazz reflect.Type) string + func (c *DocumentConventions) GetTransformClassCollectionNameToDocumentIdPrefix() func(string) string + func (c *DocumentConventions) IsDisableTopologyUpdates() bool + func (c *DocumentConventions) SetDisableTopologyUpdates(disable bool) + func (c *DocumentConventions) SetDocumentIDGenerator(documentIDGenerator DocumentIDGeneratorFunc) + func (c *DocumentConventions) TryConvertValueForQuery(fieldName string, value interface{}, forRange bool, stringValue *string) bool + func (c *DocumentConventions) UpdateFrom(configuration *ClientConfiguration) + type DocumentDoesNotExistError struct + func (e *DocumentDoesNotExistError) Error() string + func (e *DocumentDoesNotExistError) WrappedError() error + type DocumentIDGeneratorFunc func(dbName string, entity interface{}) (string, error) + type DocumentQuery struct + func (q *DocumentQuery) AddBeforeQueryExecutedListener(action func(*IndexQuery)) int + func (q *DocumentQuery) AddOrder(fieldName string, descending bool) *DocumentQuery + func (q *DocumentQuery) AddOrderWithOrdering(fieldName string, descending bool, ordering OrderingType) *DocumentQuery + func (q *DocumentQuery) AddParameter(name string, value interface{}) *DocumentQuery + func (q *DocumentQuery) AggregateByFacet(facet FacetBase) *AggregationDocumentQuery + func (q *DocumentQuery) AggregateByFacets(facets ...*Facet) *AggregationDocumentQuery + func (q *DocumentQuery) AggregateUsing(facetSetupDocumentID string) *AggregationDocumentQuery + func (q *DocumentQuery) AndAlso() *DocumentQuery + func (q *DocumentQuery) Boost(boost float64) *DocumentQuery + func (q *DocumentQuery) CloseSubclause() *DocumentQuery + func (q *DocumentQuery) ContainsAll(fieldName string, values []interface{}) *DocumentQuery + func (q *DocumentQuery) ContainsAny(fieldName string, values []interface{}) *DocumentQuery + func (q *DocumentQuery) Distinct() *DocumentQuery + func (q *DocumentQuery) Exact() *DocumentQuery + func (q *DocumentQuery) Fuzzy(fuzzy float64) *DocumentQuery + func (q *DocumentQuery) GroupBy(fieldName string, fieldNames ...string) *GroupByDocumentQuery + func (q *DocumentQuery) GroupByFieldWithMethod(field *GroupBy, fields ...*GroupBy) *GroupByDocumentQuery + func (q *DocumentQuery) Include(path string) *DocumentQuery + func (q *DocumentQuery) Intersect() *DocumentQuery + func (q *DocumentQuery) MoreLikeThis(moreLikeThis MoreLikeThisBase) *DocumentQuery + func (q *DocumentQuery) MoreLikeThisWithBuilder(builder func(IMoreLikeThisBuilderForDocumentQuery)) *DocumentQuery + func (q *DocumentQuery) NoCaching() *DocumentQuery + func (q *DocumentQuery) NoTracking() *DocumentQuery + func (q *DocumentQuery) Not() *DocumentQuery + func (q *DocumentQuery) OpenSubclause() *DocumentQuery + func (q *DocumentQuery) OrElse() *DocumentQuery + func (q *DocumentQuery) OrderBy(field string) *DocumentQuery + func (q *DocumentQuery) OrderByDescending(field string) *DocumentQuery + func (q *DocumentQuery) OrderByDescendingWithOrdering(field string, ordering OrderingType) *DocumentQuery + func (q *DocumentQuery) OrderByDistanceDescendingLatLong(fieldName string, latitude float64, longitude float64) *DocumentQuery + func (q *DocumentQuery) OrderByDistanceDescendingLatLongDynamic(field DynamicSpatialField, latitude float64, longitude float64) *DocumentQuery + func (q *DocumentQuery) OrderByDistanceDescendingWkt(fieldName string, shapeWkt string) *DocumentQuery + func (q *DocumentQuery) OrderByDistanceDescendingWktDynamic(field DynamicSpatialField, shapeWkt string) *DocumentQuery + func (q *DocumentQuery) OrderByDistanceLatLong(fieldName string, latitude float64, longitude float64) *DocumentQuery + func (q *DocumentQuery) OrderByDistanceLatLongDynamic(field DynamicSpatialField, latitude float64, longitude float64) *DocumentQuery + func (q *DocumentQuery) OrderByDistanceWkt(fieldName string, shapeWkt string) *DocumentQuery + func (q *DocumentQuery) OrderByDistanceWktDynamic(field DynamicSpatialField, shapeWkt string) *DocumentQuery + func (q *DocumentQuery) OrderByScore() *DocumentQuery + func (q *DocumentQuery) OrderByScoreDescending() *DocumentQuery + func (q *DocumentQuery) OrderByWithOrdering(field string, ordering OrderingType) *DocumentQuery + func (q *DocumentQuery) Proximity(proximity int) *DocumentQuery + func (q *DocumentQuery) RandomOrdering() *DocumentQuery + func (q *DocumentQuery) RandomOrderingWithSeed(seed string) *DocumentQuery + func (q *DocumentQuery) RelatesToShape(fieldName string, shapeWkt string, relation SpatialRelation) *DocumentQuery + func (q *DocumentQuery) RelatesToShapeWithError(fieldName string, shapeWkt string, relation SpatialRelation, ...) *DocumentQuery + func (q *DocumentQuery) RemoveBeforeQueryExecutedListener(idx int) *DocumentQuery + func (q *DocumentQuery) Search(fieldName string, searchTerms string) *DocumentQuery + func (q *DocumentQuery) SearchWithOperator(fieldName string, searchTerms string, operator SearchOperator) *DocumentQuery + func (q *DocumentQuery) SelectFields(projectionType reflect.Type, fieldsIn ...string) *DocumentQuery + func (q *DocumentQuery) SelectFieldsWithQueryData(projectionType reflect.Type, queryData *QueryData) *DocumentQuery + func (q *DocumentQuery) Skip(count int) *DocumentQuery + func (q *DocumentQuery) Spatial2(field DynamicSpatialField, ...) *DocumentQuery + func (q *DocumentQuery) Spatial3(fieldName string, clause func(*SpatialCriteriaFactory) SpatialCriteria) *DocumentQuery + func (q *DocumentQuery) Statistics(stats **QueryStatistics) *DocumentQuery + func (q *DocumentQuery) SuggestUsing(suggestion SuggestionBase) *SuggestionDocumentQuery + func (q *DocumentQuery) Take(count int) *DocumentQuery + func (q *DocumentQuery) UsingDefaultOperator(queryOperator QueryOperator) *DocumentQuery + func (q *DocumentQuery) WaitForNonStaleResults(waitTimeout time.Duration) *DocumentQuery + func (q *DocumentQuery) Where(fieldName string, op string, value interface{}) *DocumentQuery + func (q *DocumentQuery) WhereBetween(fieldName string, start interface{}, end interface{}) *DocumentQuery + func (q *DocumentQuery) WhereEndsWith(fieldName string, value interface{}) *DocumentQuery + func (q *DocumentQuery) WhereEquals(fieldName string, value interface{}) *DocumentQuery + func (q *DocumentQuery) WhereEqualsWithMethodCall(fieldName string, method MethodCall) *DocumentQuery + func (q *DocumentQuery) WhereEqualsWithParams(whereParams *whereParams) *DocumentQuery + func (q *DocumentQuery) WhereExists(fieldName string) *DocumentQuery + func (q *DocumentQuery) WhereGreaterThan(fieldName string, value interface{}) *DocumentQuery + func (q *DocumentQuery) WhereGreaterThanOrEqual(fieldName string, value interface{}) *DocumentQuery + func (q *DocumentQuery) WhereIn(fieldName string, values []interface{}) *DocumentQuery + func (q *DocumentQuery) WhereLessThan(fieldName string, value interface{}) *DocumentQuery + func (q *DocumentQuery) WhereLessThanOrEqual(fieldName string, value interface{}) *DocumentQuery + func (q *DocumentQuery) WhereLucene(fieldName string, whereClause string) *DocumentQuery + func (q *DocumentQuery) WhereNotEquals(fieldName string, value interface{}) *DocumentQuery + func (q *DocumentQuery) WhereNotEqualsWithMethod(fieldName string, method MethodCall) *DocumentQuery + func (q *DocumentQuery) WhereNotEqualsWithParams(whereParams *whereParams) *DocumentQuery + func (q *DocumentQuery) WhereRegex(fieldName string, pattern string) *DocumentQuery + func (q *DocumentQuery) WhereStartsWith(fieldName string, value interface{}) *DocumentQuery + func (q *DocumentQuery) WithinRadiusOf(fieldName string, radius float64, latitude float64, longitude float64) *DocumentQuery + func (q *DocumentQuery) WithinRadiusOfWithUnits(fieldName string, radius float64, latitude float64, longitude float64, ...) *DocumentQuery + func (q *DocumentQuery) WithinRadiusOfWithUnitsAndError(fieldName string, radius float64, latitude float64, longitude float64, ...) *DocumentQuery + func (q DocumentQuery) Any() (bool, error) + func (q DocumentQuery) Count() (int, error) + func (q DocumentQuery) CountLazily() (*Lazy, error) + func (q DocumentQuery) Err() error + func (q DocumentQuery) First(result interface{}) error + func (q DocumentQuery) GetIndexQuery() (*IndexQuery, error) + func (q DocumentQuery) GetResults(results interface{}) error + func (q DocumentQuery) Lazily() (*Lazy, error) + func (q DocumentQuery) Single(result interface{}) error + type DocumentQueryCustomization struct + func (d *DocumentQueryCustomization) AddAfterQueryExecutedListener(action func(*QueryResult)) int + func (d *DocumentQueryCustomization) AddAfterStreamExecutedCallback(action func(map[string]interface{})) int + func (d *DocumentQueryCustomization) AddBeforeQueryExecutedListener(action func(*IndexQuery)) int + func (d *DocumentQueryCustomization) GetQueryOperation() *queryOperation + func (d *DocumentQueryCustomization) NoCaching() + func (d *DocumentQueryCustomization) NoTracking() + func (d *DocumentQueryCustomization) RandomOrdering() + func (d *DocumentQueryCustomization) RandomOrderingWithSeed(seed string) + func (d *DocumentQueryCustomization) RemoveAfterQueryExecutedListener(idx int) + func (d *DocumentQueryCustomization) RemoveAfterStreamExecutedCallback(idx int) + func (d *DocumentQueryCustomization) RemoveBeforeQueryExecutedListener(idx int) + func (d *DocumentQueryCustomization) WaitForNonStaleResults(waitTimeout time.Duration) + type DocumentQueryOptions struct + CollectionName string + IndexName string + IsMapReduce bool + Type reflect.Type + type DocumentSession struct + func NewDocumentSession(dbName string, documentStore *DocumentStore, id string, re *RequestExecutor) *DocumentSession + func (s *DocumentSession) Advanced() *AdvancedSessionOperations + func (s *DocumentSession) Attachments() *AttachmentsSessionOperations + func (s *DocumentSession) Eagerly() *EagerSessionOperations + func (s *DocumentSession) Exists(id string) (bool, error) + func (s *DocumentSession) Include(path string) *MultiLoaderWithInclude + func (s *DocumentSession) Increment(entity interface{}, path string, valueToAdd interface{}) error + func (s *DocumentSession) IncrementByID(id string, path string, valueToAdd interface{}) error + func (s *DocumentSession) Lazily() *LazySessionOperations + func (s *DocumentSession) Load(result interface{}, id string) error + func (s *DocumentSession) LoadIntoStream(ids []string, output io.Writer) error + func (s *DocumentSession) LoadMulti(results interface{}, ids []string) error + func (s *DocumentSession) LoadStartingWith(results interface{}, args *StartsWithArgs) error + func (s *DocumentSession) LoadStartingWithIntoStream(output io.Writer, args *StartsWithArgs) error + func (s *DocumentSession) Patch(entity interface{}, path string, value interface{}) error + func (s *DocumentSession) PatchArray(entity interface{}, pathToArray string, arrayAdder func(*JavaScriptArray)) error + func (s *DocumentSession) PatchArrayByID(id string, pathToArray string, arrayAdder func(*JavaScriptArray)) error + func (s *DocumentSession) PatchByID(id string, path string, value interface{}) error + func (s *DocumentSession) Query(opts *DocumentQueryOptions) *DocumentQuery + func (s *DocumentSession) QueryCollection(collectionName string) *DocumentQuery + func (s *DocumentSession) QueryCollectionForType(typ reflect.Type) *DocumentQuery + func (s *DocumentSession) QueryIndex(indexName string) *DocumentQuery + func (s *DocumentSession) RawQuery(rawQuery string) *RawDocumentQuery + func (s *DocumentSession) Refresh(entity interface{}) error + func (s *DocumentSession) Revisions() *RevisionsSessionOperations + func (s *DocumentSession) SaveChanges() error + func (s *DocumentSession) Stream(args *StartsWithArgs) (*StreamIterator, error) + func (s *DocumentSession) StreamQuery(query *DocumentQuery, streamQueryStats *StreamQueryStatistics) (*StreamIterator, error) + func (s *DocumentSession) StreamQueryInto(query *DocumentQuery, output io.Writer) error + func (s *DocumentSession) StreamRawQuery(query *RawDocumentQuery, streamQueryStats *StreamQueryStatistics) (*StreamIterator, error) + func (s *DocumentSession) StreamRawQueryInto(query *RawDocumentQuery, output io.Writer) error + type DocumentSessionAttachments struct + func NewDocumentSessionAttachments(session *InMemoryDocumentSessionOperations) *DocumentSessionAttachments + func (s *DocumentSessionAttachments) Exists(documentID string, name string) (bool, error) + func (s *DocumentSessionAttachments) Get(entity interface{}, name string) (*AttachmentResult, error) + func (s *DocumentSessionAttachments) GetByID(documentID string, name string) (*AttachmentResult, error) + func (s *DocumentSessionAttachments) GetRevision(documentID string, name string, changeVector *string) (*AttachmentResult, error) + type DocumentSessionAttachmentsBase struct + func NewDocumentSessionAttachmentsBase(session *InMemoryDocumentSessionOperations) *DocumentSessionAttachmentsBase + func (s *DocumentSessionAttachmentsBase) Delete(entity interface{}, name string) error + func (s *DocumentSessionAttachmentsBase) DeleteByID(documentID string, name string) error + func (s *DocumentSessionAttachmentsBase) GetNames(entity interface{}) ([]*AttachmentName, error) + func (s *DocumentSessionAttachmentsBase) Store(entity interface{}, name string, stream io.Reader, contentType string) error + func (s *DocumentSessionAttachmentsBase) StoreByID(documentID string, name string, stream io.Reader, contentType string) error + type DocumentSessionRevisions struct + func (r *DocumentSessionRevisions) Get(result interface{}, changeVector string) error + func (r *DocumentSessionRevisions) GetFor(results interface{}, id string) error + func (r *DocumentSessionRevisions) GetForPaged(results interface{}, id string, start int, pageSize int) error + func (r *DocumentSessionRevisions) GetForStartAt(results interface{}, id string, start int) error + func (r *DocumentSessionRevisions) GetMetadataFor(id string) ([]*MetadataAsDictionary, error) + func (r *DocumentSessionRevisions) GetMetadataForPaged(id string, start int, pageSize int) ([]*MetadataAsDictionary, error) + func (r *DocumentSessionRevisions) GetMetadataForStartAt(id string, start int) ([]*MetadataAsDictionary, error) + func (r *DocumentSessionRevisions) GetRevisions(results interface{}, changeVectors []string) error + type DocumentStore struct + Certificate *tls.Certificate + TrustStore *x509.Certificate + func NewDocumentStore(urls []string, database string) *DocumentStore + func (s *DocumentStore) AddAfterCloseListener(fn func(*DocumentStore)) int + func (s *DocumentStore) AddAfterSaveChangesListener(handler func(*AfterSaveChangesEventArgs)) int + func (s *DocumentStore) AddBeforeCloseListener(fn func(*DocumentStore)) int + func (s *DocumentStore) AddBeforeDeleteListener(handler func(*BeforeDeleteEventArgs)) int + func (s *DocumentStore) AddBeforeQueryListener(handler func(*BeforeQueryEventArgs)) int + func (s *DocumentStore) AddBeforeStoreListener(handler func(*BeforeStoreEventArgs)) int + func (s *DocumentStore) AggressivelyCache(database string) (CancelFunc, error) + func (s *DocumentStore) AggressivelyCacheFor(cacheDuration time.Duration) (CancelFunc, error) + func (s *DocumentStore) AggressivelyCacheForDatabase(cacheDuration time.Duration, database string) (CancelFunc, error) + func (s *DocumentStore) BulkInsert(database string) *BulkInsertOperation + func (s *DocumentStore) Changes(database string) *DatabaseChanges + func (s *DocumentStore) Close() + func (s *DocumentStore) DisableAggressiveCaching(databaseName string) *RestoreCaching + func (s *DocumentStore) ExecuteIndex(task *IndexCreationTask, database string) error + func (s *DocumentStore) ExecuteIndexes(tasks []*IndexCreationTask, database string) error + func (s *DocumentStore) GetConventions() *DocumentConventions + func (s *DocumentStore) GetDatabase() string + func (s *DocumentStore) GetIdentifier() string + func (s *DocumentStore) GetLastDatabaseChangesStateError(database string) error + func (s *DocumentStore) GetRequestExecutor(database string) *RequestExecutor + func (s *DocumentStore) GetUrls() []string + func (s *DocumentStore) Initialize() error + func (s *DocumentStore) Maintenance() *MaintenanceOperationExecutor + func (s *DocumentStore) OpenSession(database string) (*DocumentSession, error) + func (s *DocumentStore) OpenSessionWithOptions(options *SessionOptions) (*DocumentSession, error) + func (s *DocumentStore) Operations() *OperationExecutor + func (s *DocumentStore) RemoveAfterCloseListener(idx int) + func (s *DocumentStore) RemoveAfterSaveChangesListener(handlerID int) + func (s *DocumentStore) RemoveBeforeCloseListener(idx int) + func (s *DocumentStore) RemoveBeforeDeleteListener(handlerID int) + func (s *DocumentStore) RemoveBeforeQueryListener(handlerID int) + func (s *DocumentStore) RemoveBeforeStoreListener(handlerID int) + func (s *DocumentStore) SetConventions(conventions *DocumentConventions) + func (s *DocumentStore) SetDatabase(database string) + func (s *DocumentStore) SetIdentifier(identifier string) + func (s *DocumentStore) SetUrls(urls []string) + func (s *DocumentStore) Subscriptions() *DocumentSubscriptions + type DocumentSubscriptions struct + func (s *DocumentSubscriptions) Close() error + func (s *DocumentSubscriptions) Create(options *SubscriptionCreationOptions, database string) (string, error) + func (s *DocumentSubscriptions) CreateForRevisions(clazz reflect.Type, options *SubscriptionCreationOptions, database string) (string, error) + func (s *DocumentSubscriptions) CreateForType(clazz reflect.Type, options *SubscriptionCreationOptions, database string) (string, error) + func (s *DocumentSubscriptions) Delete(name string, database string) error + func (s *DocumentSubscriptions) DropConnection(name string, database string) error + func (s *DocumentSubscriptions) GetSubscriptionState(subscriptionName string, database string) (*SubscriptionState, error) + func (s *DocumentSubscriptions) GetSubscriptionWorker(clazz reflect.Type, options *SubscriptionWorkerOptions, database string) (*SubscriptionWorker, error) + func (s *DocumentSubscriptions) GetSubscriptionWorkerForRevisions(clazz reflect.Type, options *SubscriptionWorkerOptions, database string) (*SubscriptionWorker, error) + func (s *DocumentSubscriptions) GetSubscriptions(start int, take int, database string) ([]*SubscriptionState, error) + type DocumentsChanges struct + Change ChangeType + FieldName string + FieldNewType interface{} + FieldNewValue interface{} + FieldOldType interface{} + FieldOldValue interface{} + type DropSubscriptionConnectionCommand struct + type Duration time.Duration + func (d *Duration) UnmarshalJSON(data []byte) error + func (d Duration) MarshalJSON() ([]byte, error) + type DynamicSpatialField interface + ToField func(ensureValidFieldName func(string, bool) (string, error)) (string, error) + type EagerSessionOperations struct + func (s *EagerSessionOperations) ExecuteAllPendingLazyOperations() (*ResponseTimeInformation, error) + type EnableIndexCommand struct + func NewEnableIndexCommand(indexName string) (*EnableIndexCommand, error) + type EnableIndexOperation struct + Command *EnableIndexCommand + func NewEnableIndexOperation(indexName string) (*EnableIndexOperation, error) + func (o *EnableIndexOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type EventHandler interface + type ExplainQueryCommand struct + Result []*ExplainQueryResult + func NewExplainQueryCommand(conventions *DocumentConventions, indexQuery *IndexQuery) *ExplainQueryCommand + type ExplainQueryResult struct + Index string + Reason string + type ExternalReplication struct + ConnectionStringName string + MentorName string + Name string + TaskID int64 + func NewExternalReplication(database string, connectionStringName string) *ExternalReplication + type Facet struct + FieldName string + func NewFacet() *Facet + func (f *Facet) ToFacetToken(addQueryParameter func(interface{}) string) (*facetToken, error) + type FacetAggregation = string + type FacetBase interface + GetAggregations func() map[FacetAggregation]string + GetOptions func() *FacetOptions + SetDisplayFieldName func(string) + SetOptions func(*FacetOptions) + ToFacetToken func(addQueryParameter func(interface{}) string) (*facetToken, error) + type FacetBaseCommon struct + Aggregations map[FacetAggregation]string + DisplayFieldName string + Options *FacetOptions + func NewFacetBaseCommon() FacetBaseCommon + func (f *FacetBaseCommon) GetAggregations() map[FacetAggregation]string + func (f *FacetBaseCommon) GetOptions() *FacetOptions + func (f *FacetBaseCommon) SetDisplayFieldName(displayFieldName string) + func (f *FacetBaseCommon) SetOptions(options *FacetOptions) + type FacetBuilder struct + func NewFacetBuilder() *FacetBuilder + func (b *FacetBuilder) AllResults() *FacetBuilder + func (b *FacetBuilder) AverageOn(path string) *FacetBuilder + func (b *FacetBuilder) ByField(fieldName string) *FacetBuilder + func (b *FacetBuilder) ByRanges(rng *RangeBuilder, ranges ...*RangeBuilder) *FacetBuilder + func (b *FacetBuilder) GetFacet() FacetBase + func (b *FacetBuilder) MaxOn(path string) *FacetBuilder + func (b *FacetBuilder) MinOn(path string) *FacetBuilder + func (b *FacetBuilder) SumOn(path string) *FacetBuilder + func (b *FacetBuilder) WithDisplayName(displayName string) *FacetBuilder + func (b *FacetBuilder) WithOptions(options *FacetOptions) *FacetBuilder + type FacetOptions struct + IncludeRemainingTerms bool + PageSize int + Start int + TermSortMode FacetTermSortMode + func NewFacetOptions() *FacetOptions + type FacetResult struct + Name string + RemainingHits int + RemainingTerms []string + RemainingTermsCount int + Values []*FacetValue + type FacetSetup struct + Facets []*Facet + ID string + RangeFacets []*RangeFacet + type FacetTermSortMode = string + type FacetValue struct + Average *float64 + Count int + Max *float64 + Min *float64 + Range string + Sum *float64 + func (v *FacetValue) SetAverage(average float64) + func (v *FacetValue) SetMax(max float64) + func (v *FacetValue) SetMin(min float64) + func (v *FacetValue) SetSum(sum float64) + func (v *FacetValue) String() string + type FieldIndexing string + type FieldStorage = string + type FieldTermVector = string + type GenericQueryResult struct + DurationInMs int64 + ResultSize int64 + ScoreExplanations map[string]string + SkippedResults int + TimingsInMs map[string]float64 + TotalResults int + type GenericRangeFacet struct + Ranges []*RangeBuilder + func NewGenericRangeFacet(parent FacetBase) *GenericRangeFacet + func (f *GenericRangeFacet) ToFacetToken(addQueryParameter func(interface{}) string) (*facetToken, error) + type GetAttachmentCommand struct + Result *AttachmentResult + func NewGetAttachmentCommand(documentID string, name string, typ AttachmentType, changeVector *string) (*GetAttachmentCommand, error) + type GetAttachmentOperation struct + Command *GetAttachmentCommand + func NewGetAttachmentOperation(documentID string, name string, typ AttachmentType, contentType string, ...) *GetAttachmentOperation + func (o *GetAttachmentOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type GetClientConfigurationCommand struct + Result *GetClientConfigurationCommandResult + func NewGetClientConfigurationCommand() *GetClientConfigurationCommand + type GetClientConfigurationCommandResult struct + Configuration *ClientConfiguration + Etag int64 + type GetClientConfigurationOperation struct + Command *GetClientConfigurationCommand + func NewGetClientConfigurationOperation() *GetClientConfigurationOperation + func (o *GetClientConfigurationOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetClusterTopologyCommand struct + Result *ClusterTopologyResponse + func NewGetClusterTopologyCommand() *GetClusterTopologyCommand + type GetCollectionStatisticsCommand struct + Result *CollectionStatistics + func NewGetCollectionStatisticsCommand() *GetCollectionStatisticsCommand + type GetCollectionStatisticsOperation struct + Command *GetCollectionStatisticsCommand + func NewGetCollectionStatisticsOperation() *GetCollectionStatisticsOperation + func (o *GetCollectionStatisticsOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetCompareExchangeValueCommand struct + Result *CompareExchangeValue + func NewGetCompareExchangeValueCommand(clazz reflect.Type, key string, conventions *DocumentConventions) (*GetCompareExchangeValueCommand, error) + type GetCompareExchangeValueOperation struct + Command *GetCompareExchangeValueCommand + func NewGetCompareExchangeValueOperation(clazz reflect.Type, key string) (*GetCompareExchangeValueOperation, error) + func (o *GetCompareExchangeValueOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type GetCompareExchangeValuesCommand struct + Result map[string]*CompareExchangeValue + func NewGetCompareExchangeValuesCommand(operation *GetCompareExchangeValuesOperation, conventions *DocumentConventions) (*GetCompareExchangeValuesCommand, error) + type GetCompareExchangeValuesOperation struct + Command *GetCompareExchangeValuesCommand + func NewGetCompareExchangeValuesOperation(clazz reflect.Type, startWith string, start int, pageSize int) (*GetCompareExchangeValuesOperation, error) + func NewGetCompareExchangeValuesOperationWithKeys(clazz reflect.Type, keys []string) (*GetCompareExchangeValuesOperation, error) + func (o *GetCompareExchangeValuesOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type GetConflictsCommand struct + Result *GetConflictsResult + func NewGetConflictsCommand(id string) *GetConflictsCommand + type GetConflictsResult struct + ID string + LargestEtag int64 + Results []*Conflict + type GetDatabaseNamesCommand struct + Result []string + func NewGetDatabaseNamesCommand(_start int, _pageSize int) *GetDatabaseNamesCommand + type GetDatabaseNamesOperation struct + func NewGetDatabaseNamesOperation(_start int, _pageSize int) *GetDatabaseNamesOperation + func (o *GetDatabaseNamesOperation) GetCommand(conventions *DocumentConventions) *GetDatabaseNamesCommand + type GetDatabaseNamesResult struct + Databases []string + type GetDatabaseRecordCommand struct + Result *DatabaseRecordWithEtag + func NewGetDatabaseRecordCommand(conventions *DocumentConventions, database string) *GetDatabaseRecordCommand + type GetDatabaseRecordOperation struct + Command *GetDatabaseRecordCommand + func NewGetDatabaseRecordOperation(database string) *GetDatabaseRecordOperation + func (o *GetDatabaseRecordOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetDatabaseTopologyCommand struct + Result *Topology + func NewGetDatabaseTopologyCommand() *GetDatabaseTopologyCommand + type GetDocumentsCommand struct + Result *GetDocumentsResult + func NewGetDocumentsCommand(ids []string, includes []string, metadataOnly bool) (*GetDocumentsCommand, error) + func NewGetDocumentsCommandFull(startWith string, startAfter string, matches string, exclude string, start int, ...) (*GetDocumentsCommand, error) + type GetDocumentsResult struct + Includes map[string]interface{} + NextPageStart int + Results []map[string]interface{} + type GetIdentitiesCommand struct + Result map[string]int + func NewGetIdentitiesCommand() *GetIdentitiesCommand + type GetIdentitiesOperation struct + Command *GetIdentitiesCommand + func NewGetIdentitiesOperation() *GetIdentitiesOperation + func (o *GetIdentitiesOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetIndexCommand struct + Result *IndexDefinition + func NewGetIndexCommand(indexName string) (*GetIndexCommand, error) + type GetIndexErrorsCommand struct + Result []*IndexErrors + func NewGetIndexErrorsCommand(indexNames []string) *GetIndexErrorsCommand + type GetIndexErrorsOperation struct + Command *GetIndexErrorsCommand + func NewGetIndexErrorsOperation(indexNames []string) *GetIndexErrorsOperation + func (o *GetIndexErrorsOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetIndexNamesCommand struct + Result []string + func NewGetIndexNamesCommand(start int, pageSize int) *GetIndexNamesCommand + type GetIndexNamesOperation struct + Command *GetIndexNamesCommand + func NewGetIndexNamesOperation(start int, pageSize int) *GetIndexNamesOperation + func (o *GetIndexNamesOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetIndexOperation struct + Command *GetIndexCommand + func NewGetIndexOperation(indexName string) *GetIndexOperation + func (o *GetIndexOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetIndexStatisticsCommand struct + Result *IndexStats + func NewGetIndexStatisticsCommand(indexName string) (*GetIndexStatisticsCommand, error) + type GetIndexStatisticsOperation struct + Command *GetIndexStatisticsCommand + func NewGetIndexStatisticsOperation(indexName string) *GetIndexStatisticsOperation + func (o *GetIndexStatisticsOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetIndexesCommand struct + Result []*IndexDefinition + func NewGetIndexesCommand(_start int, _pageSize int) *GetIndexesCommand + type GetIndexesOperation struct + Command *GetIndexesCommand + func NewGetIndexesOperation(_start int, _pageSize int) *GetIndexesOperation + func (o *GetIndexesOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetIndexesStatisticsCommand struct + Result []*IndexStats + func NewGetIndexesStatisticsCommand() *GetIndexesStatisticsCommand + type GetIndexesStatisticsOperation struct + Command *GetIndexesStatisticsCommand + func NewGetIndexesStatisticsOperation() *GetIndexesStatisticsOperation + func (o *GetIndexesStatisticsOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetIndexingStatusCommand struct + Result *IndexingStatus + func NewGetIndexingStatusCommand() *GetIndexingStatusCommand + type GetIndexingStatusOperation struct + Command *GetIndexingStatusCommand + func NewGetIndexingStatusOperation() *GetIndexingStatusOperation + func (o *GetIndexingStatusOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetNextOperationIDCommand struct + Result int64 + func NewGetNextOperationIDCommand() *GetNextOperationIDCommand + type GetOperationStateCommand struct + Result map[string]interface{} + func NewGetOperationStateCommand(conventions *DocumentConventions, id int64) *GetOperationStateCommand + type GetOperationStateOperation struct + func (o *GetOperationStateOperation) GetCommand(conventions *DocumentConventions) *GetOperationStateCommand + type GetResponse struct + Headers map[string]string + IsForceRetry bool + Result []byte + StatusCode int + type GetRevisionOperation struct + func NewGetRevisionOperationRange(session *InMemoryDocumentSessionOperations, id string, start int, pageSize int, ...) (*GetRevisionOperation, error) + func NewGetRevisionOperationWithChangeVectors(session *InMemoryDocumentSessionOperations, changeVectors []string) *GetRevisionOperation + func (o *GetRevisionOperation) GetRevision(result interface{}) error + func (o *GetRevisionOperation) GetRevisionWithDocument(result interface{}, document map[string]interface{}) error + func (o *GetRevisionOperation) GetRevisions(results interface{}) error + func (o *GetRevisionOperation) GetRevisionsFor(results interface{}) error + func (o *GetRevisionOperation) GetRevisionsMetadataFor() []*MetadataAsDictionary + type GetRevisionsBinEntryCommand struct + Result *JSONArrayResult + func NewGetRevisionsBinEntryCommand(etag int64, pageSize int) *GetRevisionsBinEntryCommand + type GetRevisionsCommand struct + Result *JSONArrayResult + func NewGetRevisionsCommand(changeVectors []string, metadataOnly bool) *GetRevisionsCommand + func NewGetRevisionsCommandRange(id string, start int, pageSize int, metadataOnly bool) *GetRevisionsCommand + func (c *GetRevisionsCommand) GetChangeVectors() []string + type GetServerWideOperationStateCommand struct + Result map[string]interface{} + func NewGetServerWideOperationStateCommand(conventions *DocumentConventions, id int64) *GetServerWideOperationStateCommand + type GetServerWideOperationStateOperation struct + func (o *GetServerWideOperationStateOperation) GetCommand(conventions *DocumentConventions) *GetServerWideOperationStateCommand + type GetStatisticsCommand struct + Result *DatabaseStatistics + func NewGetStatisticsCommand(debugTag string) *GetStatisticsCommand + type GetStatisticsOperation struct + Command *GetStatisticsCommand + func NewGetStatisticsOperation(debugTag string) *GetStatisticsOperation + func (o *GetStatisticsOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GetSubscriptionStateCommand struct + Result *SubscriptionState + type GetSubscriptionsCommand struct + Result []*SubscriptionState + type GetSubscriptionsResult struct + Results []*SubscriptionState + type GetTcpInfoCommand struct + Result *TcpConnectionInfo + func NewGetTcpInfoCommand(tag, dbName string) *GetTcpInfoCommand + type GetTermsCommand struct + Result []string + func NewGetTermsCommand(indexName string, field string, fromValue string, pageSize int) (*GetTermsCommand, error) + type GetTermsOperation struct + Command *GetTermsCommand + func NewGetTermsOperation(indexName string, field string, fromValue string, pageSize int) (*GetTermsOperation, error) + func (o *GetTermsOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type GroupBy struct + Field string + Method GroupByMethod + func NewGroupByArray(fieldName string) *GroupBy + func NewGroupByField(fieldName string) *GroupBy + type GroupByDocumentQuery struct + func (q *GroupByDocumentQuery) SelectCount() *DocumentQuery + func (q *GroupByDocumentQuery) SelectCountWithName(projectedName string) *DocumentQuery + func (q *GroupByDocumentQuery) SelectKey() *GroupByDocumentQuery + func (q *GroupByDocumentQuery) SelectKeyWithName(fieldName string) *GroupByDocumentQuery + func (q *GroupByDocumentQuery) SelectKeyWithNameAndProjectedName(fieldName string, projectedName string) *GroupByDocumentQuery + func (q *GroupByDocumentQuery) SelectSum(field *GroupByField, fields ...*GroupByField) *DocumentQuery + type GroupByField struct + FieldName string + ProjectedName string + type GroupByMethod = string + type HashCalculator struct + type HeadAttachmentCommand struct + Result string + func NewHeadAttachmentCommand(documentID string, name string, changeVector *string) (*HeadAttachmentCommand, error) + type HeadDocumentCommand struct + Result *string + func NewHeadDocumentCommand(id string, changeVector *string) *HeadDocumentCommand + func (c *HeadDocumentCommand) Exists() bool + func (c *HeadDocumentCommand) ProcessResponse(cache *httpCache, response *http.Response, url string) (responseDisposeHandling, error) + type HiLoIDGenerator struct + func NewHiLoIDGenerator(tag string, store *DocumentStore, dbName string, identityPartsSeparator string) *HiLoIDGenerator + func (g *HiLoIDGenerator) GenerateDocumentID(entity interface{}) (string, error) + func (g *HiLoIDGenerator) GetDocumentIDFromID(nextID int64) string + func (g *HiLoIDGenerator) GetNextRange() error + func (g *HiLoIDGenerator) NextID() (int64, error) + func (g *HiLoIDGenerator) ReturnUnusedRange() error + type HiLoResult struct + High int64 + LastRangeAt *Time + LastSize int64 + Low int64 + Prefix string + ServerTag string + type HiLoReturnCommand struct + func NewHiLoReturnCommand(tag string, last int64, end int64) (*HiLoReturnCommand, error) + type ICommandData interface + func NewDeleteCommandData(id string, changeVector string) ICommandData + func NewPatchCommandData(id string, changeVector *string, patch *PatchRequest, ...) ICommandData + type IContent interface + type ILazyOperation interface + type IMaintenanceOperation interface + GetCommand func(*DocumentConventions) (RavenCommand, error) + type IMoreLikeThisBuilderBase interface + UsingAnyDocument func() IMoreLikeThisOperations + UsingDocument func(documentJson string) IMoreLikeThisOperations + type IMoreLikeThisBuilderForDocumentQuery interface + UsingAnyDocument func() IMoreLikeThisOperations + UsingDocument func(string) IMoreLikeThisOperations + UsingDocumentWithBuilder func(builder func(*DocumentQuery)) IMoreLikeThisOperations + type IMoreLikeThisOperations interface + WithOptions func(options *MoreLikeThisOptions) IMoreLikeThisOperations + type IOperation interface + GetCommand func(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type IServerOperation interface + GetCommand func(*DocumentConventions) (RavenCommand, error) + type IVoidMaintenanceOperation = IMaintenanceOperation + type IllegalArgumentError struct + func (e *IllegalArgumentError) Error() string + func (e *IllegalArgumentError) WrappedError() error + type IllegalStateError struct + func (e *IllegalStateError) Error() string + func (e *IllegalStateError) WrappedError() error + type InMemoryDocumentSessionOperations struct + Conventions *DocumentConventions + DatabaseName string + func (s *InMemoryDocumentSessionOperations) AddAfterSaveChangesListener(handler func(*AfterSaveChangesEventArgs)) int + func (s *InMemoryDocumentSessionOperations) AddBeforeDeleteListener(handler func(*BeforeDeleteEventArgs)) int + func (s *InMemoryDocumentSessionOperations) AddBeforeQueryListener(handler func(*BeforeQueryEventArgs)) int + func (s *InMemoryDocumentSessionOperations) AddBeforeStoreListener(handler func(*BeforeStoreEventArgs)) int + func (s *InMemoryDocumentSessionOperations) Clear() + func (s *InMemoryDocumentSessionOperations) Close() + func (s *InMemoryDocumentSessionOperations) Defer(commands ...ICommandData) + func (s *InMemoryDocumentSessionOperations) Delete(entity interface{}) error + func (s *InMemoryDocumentSessionOperations) DeleteByID(id string, expectedChangeVector string) error + func (s *InMemoryDocumentSessionOperations) Evict(entity interface{}) error + func (s *InMemoryDocumentSessionOperations) GenerateID(entity interface{}) (string, error) + func (s *InMemoryDocumentSessionOperations) GetChangeVectorFor(instance interface{}) (*string, error) + func (s *InMemoryDocumentSessionOperations) GetConventions() *DocumentConventions + func (s *InMemoryDocumentSessionOperations) GetCurrentSessionNode() (*ServerNode, error) + func (s *InMemoryDocumentSessionOperations) GetDeferredCommandsCount() int + func (s *InMemoryDocumentSessionOperations) GetDocumentID(instance interface{}) string + func (s *InMemoryDocumentSessionOperations) GetDocumentStore() *DocumentStore + func (s *InMemoryDocumentSessionOperations) GetLastModifiedFor(instance interface{}) (*time.Time, error) + func (s *InMemoryDocumentSessionOperations) GetMetadataFor(instance interface{}) (*MetadataAsDictionary, error) + func (s *InMemoryDocumentSessionOperations) GetNumberOfEntitiesInUnitOfWork() int + func (s *InMemoryDocumentSessionOperations) GetNumberOfRequests() int + func (s *InMemoryDocumentSessionOperations) GetOperations() *OperationExecutor + func (s *InMemoryDocumentSessionOperations) GetRequestExecutor() *RequestExecutor + func (s *InMemoryDocumentSessionOperations) HasChanged(entity interface{}) (bool, error) + func (s *InMemoryDocumentSessionOperations) HasChanges() bool + func (s *InMemoryDocumentSessionOperations) IgnoreChangesFor(entity interface{}) error + func (s *InMemoryDocumentSessionOperations) IsDeleted(id string) bool + func (s *InMemoryDocumentSessionOperations) IsLoaded(id string) bool + func (s *InMemoryDocumentSessionOperations) IsLoadedOrDeleted(id string) bool + func (s *InMemoryDocumentSessionOperations) RemoveAfterSaveChangesListener(handlerID int) + func (s *InMemoryDocumentSessionOperations) RemoveBeforeDeleteListener(handlerID int) + func (s *InMemoryDocumentSessionOperations) RemoveBeforeQueryListener(handlerID int) + func (s *InMemoryDocumentSessionOperations) RemoveBeforeStoreListener(handlerID int) + func (s *InMemoryDocumentSessionOperations) Store(entity interface{}) error + func (s *InMemoryDocumentSessionOperations) StoreWithChangeVectorAndID(entity interface{}, changeVector string, id string) error + func (s *InMemoryDocumentSessionOperations) StoreWithID(entity interface{}, id string) error + func (s *InMemoryDocumentSessionOperations) TrackEntity(result interface{}, id string, document map[string]interface{}, ...) error + func (s *InMemoryDocumentSessionOperations) TrackEntityInDocumentInfo(result interface{}, documentFound *documentInfo) error + func (s *InMemoryDocumentSessionOperations) UpdateMetadataModifications(documentInfo *documentInfo) bool + func (s *InMemoryDocumentSessionOperations) WaitForIndexesAfterSaveChanges(options func(*IndexesWaitOptsBuilder)) + func (s *InMemoryDocumentSessionOperations) WaitForReplicationAfterSaveChanges(options func(*ReplicationWaitOptsBuilder)) + func (s *InMemoryDocumentSessionOperations) WhatChanged() (map[string][]*DocumentsChanges, error) + type IndexAlreadyExistError struct + func (e *IndexAlreadyExistError) Error() string + func (e *IndexAlreadyExistError) WrappedError() error + type IndexChange struct + Name string + Type IndexChangeTypes + type IndexChangeTypes = string + type IndexCompilationError struct + func (e *IndexCompilationError) Error() string + func (e *IndexCompilationError) WrappedError() error + type IndexConfiguration = map[string]string + func NewIndexConfiguration() IndexConfiguration + type IndexCreationError struct + func (e *IndexCreationError) Error() string + func (e *IndexCreationError) WrappedError() error + type IndexCreationTask struct + AdditionalSources map[string]string + AnalyzersStrings map[string]string + Conventions *DocumentConventions + IndexName string + IndexSuggestions []string + IndexesStrings map[string]FieldIndexing + LockMode IndexLockMode + Map string + Maps []string + OutputReduceToCollection string + Priority IndexPriority + Reduce string + SpatialOptionsStrings map[string]*SpatialOptions + StoresStrings map[string]FieldStorage + TermVectorsStrings map[string]FieldTermVector + func NewIndexCreationTask(indexName string) *IndexCreationTask + func (t *IndexCreationTask) Analyze(field string, analyzer string) + func (t *IndexCreationTask) CreateIndexDefinition() *IndexDefinition + func (t *IndexCreationTask) Execute(store *DocumentStore, conventions *DocumentConventions, database string) error + func (t *IndexCreationTask) Index(field string, indexing FieldIndexing) + func (t *IndexCreationTask) IsMapReduce() bool + func (t *IndexCreationTask) Spatial(field string, indexing func() *SpatialOptions) + func (t *IndexCreationTask) Store(field string, storage FieldStorage) + func (t *IndexCreationTask) StoreAllFields(storage FieldStorage) + func (t *IndexCreationTask) Suggestion(field string) + func (t *IndexCreationTask) TermVector(field string, termVector FieldTermVector) + type IndexDefinition struct + AdditionalSources map[string]string + Configuration IndexConfiguration + Fields map[string]*IndexFieldOptions + IndexType IndexType + LockMode IndexLockMode + Maps []string + Name string + OutputReduceToCollection *string + Priority IndexPriority + Reduce *string + func NewIndexDefinition() *IndexDefinition + func (d *IndexDefinition) GetAdditionalSources() map[string]string + func (d *IndexDefinition) GetConfiguration() IndexConfiguration + func (d *IndexDefinition) GetFields() map[string]*IndexFieldOptions + func (d *IndexDefinition) GetOutputReduceToCollection() *string + func (d *IndexDefinition) GetType() IndexType + func (d *IndexDefinition) SetAdditionalSources(additionalSources map[string]string) + func (d *IndexDefinition) SetConfiguration(configuration IndexConfiguration) + func (d *IndexDefinition) SetOutputReduceToCollection(outputReduceToCollection string) + func (d *IndexDefinition) SetType(indexType IndexType) + func (d *IndexDefinition) String() string + type IndexDefinitionBuilder struct + func NewIndexDefinitionBuilder(indexName string) *IndexDefinitionBuilder + type IndexDeletionError struct + func (e *IndexDeletionError) Error() string + func (e *IndexDeletionError) WrappedError() error + type IndexDoesNotExistError struct + func (e *IndexDoesNotExistError) Error() string + func (e *IndexDoesNotExistError) WrappedError() error + type IndexErrors struct + Errors []*IndexingError + Name string + type IndexFieldOptions struct + Analyzer string + Indexing FieldIndexing + Spatial *SpatialOptions + Storage FieldStorage + Suggestions bool + TermVector FieldTermVector + func NewIndexFieldOptions() *IndexFieldOptions + type IndexHasChangedCommand struct + Result bool + func NewIndexHasChangedCommand(conventions *DocumentConventions, definition *IndexDefinition) (*IndexHasChangedCommand, error) + type IndexHasChangedOperation struct + Command *IndexHasChangedCommand + func NewIndexHasChangedOperation(definition *IndexDefinition) *IndexHasChangedOperation + func (o *IndexHasChangedOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type IndexInformation struct + IsStale bool + LastIndexingTime Time + LockMode IndexLockMode + Name string + Priority IndexPriority + State IndexState + Type IndexType + func (i *IndexInformation) GetLastIndexingTime() time.Time + type IndexInvalidError struct + func (e *IndexInvalidError) Error() string + func (e *IndexInvalidError) WrappedError() error + type IndexLockMode = string + type IndexPriority = string + type IndexQuery struct + func NewIndexQuery(query string) *IndexQuery + func (q *IndexQuery) GetQuery() string + func (q *IndexQuery) GetQueryHash() string + func (q *IndexQuery) GetQueryParameters() Parameters + func (q *IndexQuery) String() string + type IndexQueryContent struct + func NewIndexQueryContent(conventions *DocumentConventions, query *IndexQuery) *IndexQueryContent + type IndexRunningStatus = string + type IndexState = string + type IndexStats struct + Collections map[string]*CollectionStats + CreatedTimestamp Time + EntriesCount int + ErrorsCount int + IsStale bool + LastIndexingTime Time + LastQueryingTime Time + LockMode IndexLockMode + MapAttempts int + MapErrors int + MapSuccesses int + MappedPerSecondRate float64 + MaxNumberOfOutputsPerDocument int + Name string + Priority IndexPriority + ReduceAttempts *int + ReduceErrors *int + ReduceSuccesses *int + ReducedPerSecondRate float64 + State IndexState + Status IndexRunningStatus + TestIndex bool + Type IndexType + type IndexStatus struct + Name string + Status IndexRunningStatus + type IndexType = string + type IndexesWaitOptsBuilder struct + func (b *IndexesWaitOptsBuilder) ThrowOnTimeout(shouldThrow bool) *IndexesWaitOptsBuilder + func (b *IndexesWaitOptsBuilder) WaitForIndexes(indexes ...string) *IndexesWaitOptsBuilder + func (b *IndexesWaitOptsBuilder) WithTimeout(timeout time.Duration) *IndexesWaitOptsBuilder + type IndexingError struct + Action string + Document string + Error string + Timestamp Time + func (e *IndexingError) String() string + type IndexingStatus struct + Indexes []*IndexStatus + Status IndexRunningStatus + type InvalidQueryError struct + func (e *InvalidQueryError) Error() string + func (e *InvalidQueryError) WrappedError() error + type JSONArrayResult struct + Results []map[string]interface{} + type JavaScriptArray struct + Parameters map[string]interface{} + func NewJavaScriptArray(suffix int, pathToArray string) *JavaScriptArray + func (a *JavaScriptArray) Add(args ...interface{}) *JavaScriptArray + func (a *JavaScriptArray) GetScript() string + func (a *JavaScriptArray) RemoveAt(index int) *JavaScriptArray + type JavaScriptError struct + func (e *JavaScriptError) Error() string + func (e *JavaScriptError) WrappedError() error + type KillOperationCommand struct + func NewKillOperationCommand(id string) (*KillOperationCommand, error) + type Lazy struct + Value interface{} + func (l *Lazy) GetValue(result interface{}) error + func (l *Lazy) IsValueCreated() bool + type LazyAggregationQueryOperation struct + type LazyLoadOperation struct + type LazyMultiLoaderWithInclude struct + func NewLazyMultiLoaderWithInclude(session *DocumentSession) *LazyMultiLoaderWithInclude + func (l *LazyMultiLoaderWithInclude) Include(path string) *LazyMultiLoaderWithInclude + func (l *LazyMultiLoaderWithInclude) Load(id string) (*Lazy, error) + func (l *LazyMultiLoaderWithInclude) LoadMulti(ids []string) (*Lazy, error) + type LazyQueryOperation struct + type LazySessionOperations struct + func (o *LazySessionOperations) Include(path string) *LazyMultiLoaderWithInclude + func (o *LazySessionOperations) Load(id string) (*Lazy, error) + func (o *LazySessionOperations) LoadMulti(ids []string) (*Lazy, error) + func (o *LazySessionOperations) LoadMultiWithEval(ids []string, onEval func(), onEvalResult interface{}) (*Lazy, error) + func (o *LazySessionOperations) LoadStartingWith(args *StartsWithArgs) *Lazy + func (o *LazySessionOperations) LoadWithEval(id string, onEval func(), onEvalResult interface{}) (*Lazy, error) + type LazyStartsWithOperation struct + func NewLazyStartsWithOperation(idPrefix string, matches string, exclude string, start int, pageSize int, ...) *LazyStartsWithOperation + type LazySuggestionQueryOperation struct + type LeaderStamp struct + Index int64 + LeadersTicks int64 + Term int64 + type LicenseActivationError struct + func (e *LicenseActivationError) Error() string + func (e *LicenseActivationError) WrappedError() error + type LoadOperation struct + func NewLoadOperation(session *InMemoryDocumentSessionOperations) *LoadOperation + type LoadStartingWithOperation struct + Command *GetDocumentsCommand + func NewLoadStartingWithOperation(session *InMemoryDocumentSessionOperations) *LoadStartingWithOperation + type MaintenanceOperationExecutor struct + func NewMaintenanceOperationExecutor(store *DocumentStore, databaseName string) *MaintenanceOperationExecutor + func (e *MaintenanceOperationExecutor) ForDatabase(databaseName string) *MaintenanceOperationExecutor + func (e *MaintenanceOperationExecutor) GetRequestExecutor() *RequestExecutor + func (e *MaintenanceOperationExecutor) Send(operation IMaintenanceOperation) error + func (e *MaintenanceOperationExecutor) SendAsync(operation IMaintenanceOperation) (*Operation, error) + func (e *MaintenanceOperationExecutor) Server() *ServerOperationExecutor + type MetadataAsDictionary struct + func NewMetadataAsDictionary(metadata map[string]interface{}, parent *MetadataAsDictionary, ...) *MetadataAsDictionary + func NewMetadataAsDictionaryWithMetadata(metadata map[string]interface{}) *MetadataAsDictionary + func NewMetadataAsDictionaryWithSource(metadata map[string]interface{}) *MetadataAsDictionary + func (d *MetadataAsDictionary) Clear() + func (d *MetadataAsDictionary) ContainsKey(key string) bool + func (d *MetadataAsDictionary) ConvertValue(key string, value interface{}) interface{} + func (d *MetadataAsDictionary) EntrySet() map[string]interface{} + func (d *MetadataAsDictionary) Get(key string) (interface{}, bool) + func (d *MetadataAsDictionary) GetObjects(key string) []*MetadataAsDictionary + func (d *MetadataAsDictionary) Init() + func (d *MetadataAsDictionary) IsDirty() bool + func (d *MetadataAsDictionary) IsEmpty() bool + func (d *MetadataAsDictionary) KeySet() []string + func (d *MetadataAsDictionary) MarkDirty() + func (d *MetadataAsDictionary) Put(key string, value interface{}) interface{} + func (d *MetadataAsDictionary) Remove(key string) + func (d *MetadataAsDictionary) Size() int + type MethodCall interface + type MethodCallData struct + type MethodsType = string + type ModifyOngoingTaskResult struct + RaftCommandIndex int64 + ResponsibleNode string + TaskID int64 + type MoreLikeThisBase interface + GetOptions func() *MoreLikeThisOptions + SetOptions func(options *MoreLikeThisOptions) + type MoreLikeThisBuilder struct + func NewMoreLikeThisBuilder() *MoreLikeThisBuilder + func (b *MoreLikeThisBuilder) GetMoreLikeThis() MoreLikeThisBase + func (b *MoreLikeThisBuilder) UsingAnyDocument() IMoreLikeThisOperations + func (b *MoreLikeThisBuilder) UsingDocument(documentJSON string) IMoreLikeThisOperations + func (b *MoreLikeThisBuilder) UsingDocumentWithBuilder(builder func(*DocumentQuery)) IMoreLikeThisOperations + func (b *MoreLikeThisBuilder) WithOptions(options *MoreLikeThisOptions) IMoreLikeThisOperations + type MoreLikeThisCommon struct + func (c *MoreLikeThisCommon) GetOptions() *MoreLikeThisOptions + func (c *MoreLikeThisCommon) SetOptions(options *MoreLikeThisOptions) + type MoreLikeThisOptions struct + Boost *bool + BoostFactor *float32 + Fields []string + MaximumDocumentFrequency *int + MaximumDocumentFrequencyPercentage *int + MaximumNumberOfTokensParsed *int + MaximumQueryTerms *int + MaximumWordLength *int + MinimumDocumentFrequency *int + MinimumTermFrequency *int + MinimumWordLength *int + StopWordsDocumentID *string + func NewMoreLikeThisOptions() *MoreLikeThisOptions + func (o *MoreLikeThisOptions) SetBoost(boost bool) + func (o *MoreLikeThisOptions) SetBoostFactor(boostFactor float32) + func (o *MoreLikeThisOptions) SetMaximumDocumentFrequency(maximumDocumentFrequency int) + func (o *MoreLikeThisOptions) SetMaximumDocumentFrequencyPercentage(maximumDocumentFrequencyPercentage int) + func (o *MoreLikeThisOptions) SetMaximumNumberOfTokensParsed(maximumNumberOfTokensParsed int) + func (o *MoreLikeThisOptions) SetMaximumQueryTerms(maximumQueryTerms int) + func (o *MoreLikeThisOptions) SetMaximumWordLength(maximumWordLength int) + func (o *MoreLikeThisOptions) SetMinimumDocumentFrequency(minimumDocumentFrequency int) + func (o *MoreLikeThisOptions) SetMinimumTermFrequency(minimumTermFrequency int) + func (o *MoreLikeThisOptions) SetMinimumWordLength(minimumWordLength int) + func (o *MoreLikeThisOptions) SetStopWordsDocumentID(stopWordsDocumentID string) + type MoreLikeThisQueryResult struct + DurationInMs int64 + type MoreLikeThisStopWords struct + ID string + StopWords []string + type MoreLikeThisUsingAnyDocument struct + func NewMoreLikeThisUsingAnyDocument() *MoreLikeThisUsingAnyDocument + type MoreLikeThisUsingDocument struct + type MoreLikeThisUsingDocumentForDocumentQuery struct + func NewMoreLikeThisUsingDocumentForDocumentQuery() *MoreLikeThisUsingDocumentForDocumentQuery + func (m *MoreLikeThisUsingDocumentForDocumentQuery) GetForDocumentQuery() func(*DocumentQuery) + type MultiDatabaseHiLoIDGenerator struct + func NewMultiDatabaseHiLoIDGenerator(store *DocumentStore, conventions *DocumentConventions) *MultiDatabaseHiLoIDGenerator + func (g *MultiDatabaseHiLoIDGenerator) GenerateDocumentID(dbName string, entity interface{}) (string, error) + func (g *MultiDatabaseHiLoIDGenerator) ReturnUnusedRange() + type MultiGetCommand struct + Result []*GetResponse + type MultiGetOperation struct + type MultiLoaderWithInclude struct + func NewMultiLoaderWithInclude(session *DocumentSession) *MultiLoaderWithInclude + func (l *MultiLoaderWithInclude) Include(path string) *MultiLoaderWithInclude + func (l *MultiLoaderWithInclude) Load(result interface{}, id string) error + func (l *MultiLoaderWithInclude) LoadMulti(results interface{}, ids []string) error + type MultiTypeHiLoIDGenerator struct + func NewMultiTypeHiLoIDGenerator(store *DocumentStore, dbName string, conventions *DocumentConventions) *MultiTypeHiLoIDGenerator + func (g *MultiTypeHiLoIDGenerator) GenerateDocumentID(entity interface{}) (string, error) + func (g *MultiTypeHiLoIDGenerator) ReturnUnusedRange() + type NextHiLoCommand struct + Result *HiLoResult + func NewNextHiLoCommand(tag string, lastBatchSize int64, lastRangeAt *time.Time, ...) *NextHiLoCommand + type NextIdentityForCommand struct + Result int + func NewNextIdentityForCommand(id string) *NextIdentityForCommand + type NoLeaderError struct + func (e *NoLeaderError) Error() string + func (e *NoLeaderError) WrappedError() error + type NodeID struct + NodeTag string + NodeURL string + ResponsibleNode string + type NodeIsPassiveError struct + func (e *NodeIsPassiveError) Error() string + func (e *NodeIsPassiveError) WrappedError() error + type NodeSelector struct + func NewNodeSelector(t *Topology) *NodeSelector + func (s *NodeSelector) Close() + type NodeSelectorState struct + func NewNodeSelectorState(topology *Topology) *NodeSelectorState + type NodeStatus struct + func NewNodeStatus(requestExecutor *RequestExecutor, nodeIndex int, node *ServerNode) *NodeStatus + func (s *NodeStatus) Close() + type NonUniqueObjectError struct + func (e *NonUniqueObjectError) Error() string + func (e *NonUniqueObjectError) WrappedError() error + type NotImplementedError struct + func (e *NotImplementedError) Error() string + func (e *NotImplementedError) WrappedError() error + type Operation struct + IsServerWide bool + func NewOperation(requestExecutor *RequestExecutor, changes func() *DatabaseChanges, ...) *Operation + func NewServerWideOperation(requestExecutor *RequestExecutor, conventions *DocumentConventions, id int64) *Operation + func (o *Operation) GetID() int64 + func (o *Operation) WaitForCompletion() error + type OperationCancelledError struct + func (e *OperationCancelledError) Error() string + func (e *OperationCancelledError) WrappedError() error + type OperationExceptionResult struct + Error string + Message string + StatusCode int + Type string + type OperationExecutor struct + func NewOperationExecutor(store *DocumentStore, databaseName string) *OperationExecutor + func (e *OperationExecutor) ForDatabase(databaseName string) *OperationExecutor + func (e *OperationExecutor) Send(operation IOperation, sessionInfo *SessionInfo) error + func (e *OperationExecutor) SendAsync(operation IOperation, sessionInfo *SessionInfo) (*Operation, error) + func (e *OperationExecutor) SendPatchOperation(operation *PatchOperation, sessionInfo *SessionInfo) (*PatchOperationResult, error) + type OperationIDResult struct + OperationID int64 + type OperationStatusChange struct + OperationID int64 + State map[string]interface{} + type OrderingType = string + type Parameters = map[string]interface + type PatchByQueryCommand struct + Result *OperationIDResult + func NewPatchByQueryCommand(conventions *DocumentConventions, queryToUpdate *IndexQuery, ...) (*PatchByQueryCommand, error) + type PatchByQueryOperation struct + Command *PatchByQueryCommand + func NewPatchByQueryOperation(queryToUpdate string) *PatchByQueryOperation + func (o *PatchByQueryOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type PatchCommand struct + Result *PatchResult + func NewPatchCommand(conventions *DocumentConventions, id string, changeVector *string, ...) (*PatchCommand, error) + type PatchCommandData struct + type PatchOperation struct + Command *PatchCommand + func NewPatchOperation(id string, changeVector *string, patch *PatchRequest, ...) (*PatchOperation, error) + func (o *PatchOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type PatchOperationPayload struct + type PatchOperationResult struct + Document map[string]interface{} + Status PatchStatus + func (r *PatchOperationResult) GetResult(result interface{}) error + type PatchRequest struct + Script string + Values map[string]interface{} + func (r *PatchRequest) Serialize() map[string]interface{} + type PatchResult struct + ChangeVector *string + Collection string + Debug map[string]interface{} + ModifiedDocument map[string]interface{} + OriginalDocument map[string]interface{} + Status PatchStatus + type PatchStatus = string + type PointField struct + func NewPointField(latitude string, longitude string) *PointField + func (f *PointField) ToField(ensureValidFieldName func(string, bool) (string, error)) (string, error) + type PutAttachmentCommand struct + Result *AttachmentDetails + func NewPutAttachmentCommand(documentID string, name string, stream io.Reader, contentType string, ...) (*PutAttachmentCommand, error) + type PutAttachmentCommandData struct + func NewPutAttachmentCommandData(documentID string, name string, stream io.Reader, contentType string, ...) (*PutAttachmentCommandData, error) + func (d *PutAttachmentCommandData) GetContentType() string + type PutAttachmentOperation struct + Command *PutAttachmentCommand + func NewPutAttachmentOperation(documentID string, name string, stream io.Reader, contentType string, ...) *PutAttachmentOperation + func (o *PutAttachmentOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type PutClientConfigurationCommand struct + func NewPutClientConfigurationCommand(conventions *DocumentConventions, configuration *ClientConfiguration) (*PutClientConfigurationCommand, error) + type PutClientConfigurationOperation struct + Command *PutClientConfigurationCommand + func NewPutClientConfigurationOperation(configuration *ClientConfiguration) (*PutClientConfigurationOperation, error) + func (o *PutClientConfigurationOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type PutCommandDataWithJSON struct + type PutCompareExchangeValueCommand struct + Result *CompareExchangeResult + func NewPutCompareExchangeValueCommand(key string, value interface{}, index int64, conventions *DocumentConventions) (*PutCompareExchangeValueCommand, error) + type PutCompareExchangeValueOperation struct + Command *PutCompareExchangeValueCommand + func NewPutCompareExchangeValueOperation(key string, value interface{}, index int64) (*PutCompareExchangeValueOperation, error) + func (o *PutCompareExchangeValueOperation) GetCommand(store *DocumentStore, conventions *DocumentConventions, cache *httpCache) (RavenCommand, error) + type PutConnectionStringCommand struct + Result *PutConnectionStringResult + func NewPutConnectionStringCommand(connectionString interface{}) *PutConnectionStringCommand + type PutConnectionStringOperation struct + Command *PutConnectionStringCommand + func NewPutConnectionStringOperation(connectionString interface{}) *PutConnectionStringOperation + func (o *PutConnectionStringOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type PutConnectionStringResult struct + Etag int64 + type PutDocumentCommand struct + Result *PutResult + func NewPutDocumentCommand(id string, changeVector *string, document map[string]interface{}) *PutDocumentCommand + type PutIndexResult struct + IndexName string + type PutIndexesCommand struct + Result []*PutIndexResult + func NewPutIndexesCommand(conventions *DocumentConventions, indexesToAdd []*IndexDefinition) (*PutIndexesCommand, error) + type PutIndexesOperation struct + Command *PutIndexesCommand + func NewPutIndexesOperation(indexToAdd ...*IndexDefinition) *PutIndexesOperation + func (o *PutIndexesOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type PutIndexesResponse struct + Results []*PutIndexResult + type PutResult struct + ChangeVector *string + ID string + type QueryCommand struct + Result *QueryResult + func NewQueryCommand(conventions *DocumentConventions, indexQuery *IndexQuery, metadataOnly bool, ...) (*QueryCommand, error) + type QueryData struct + Fields []string + Projections []string + type QueryOperationOptions struct + type QueryOperator string + type QueryResult struct + type QueryStatistics struct + DurationInMs int64 + IndexName string + IndexTimestamp time.Time + IsStale bool + LastQueryTime time.Time + ResultEtag int64 + ResultSize int64 + ScoreExplanations map[string]string + SkippedResults int + Timestamp time.Time + TimingsInMs map[string]float64 + TotalResults int + func NewQueryStatistics() *QueryStatistics + func (s *QueryStatistics) UpdateQueryStats(qr *QueryResult) + type QueryStreamCommand struct + Result *StreamResultResponse + func NewQueryStreamCommand(conventions *DocumentConventions, indexQuery *IndexQuery) *QueryStreamCommand + type RangeBuilder struct + func NewRangeBuilder(path string) *RangeBuilder + func (b *RangeBuilder) Err() error + func (b *RangeBuilder) GetStringRepresentation(addQueryParameter func(interface{}) string) (string, error) + func (b *RangeBuilder) IsGreaterThan(value interface{}) *RangeBuilder + func (b *RangeBuilder) IsGreaterThanOrEqualTo(value interface{}) *RangeBuilder + func (b *RangeBuilder) IsLessThan(value interface{}) *RangeBuilder + func (b *RangeBuilder) IsLessThanOrEqualTo(value interface{}) *RangeBuilder + type RangeFacet struct + Ranges []string + func NewRangeFacet(parent FacetBase) *RangeFacet + func (f *RangeFacet) ToFacetToken(addQueryParameter func(interface{}) string) (*facetToken, error) + type RangeValue struct + Current int64 + Max int64 + Min int64 + func NewRangeValue(min int64, max int64) *RangeValue + type RavenCommand interface + type RavenCommandBase struct + CanCache bool + CanCacheAggressively bool + FailedNodes map[*ServerNode]error + IsReadRequest bool + ResponseType RavenCommandResponseType + StatusCode int + func NewRavenCommandBase() RavenCommandBase + type RavenCommandResponseType = string + type RavenConnectionString struct + Database string + TopologyDiscoveryUrls []string + func NewRavenConnectionString() *RavenConnectionString + type RavenError struct + func (e *RavenError) Error() string + func (e *RavenError) WrappedError() error + type RawDocumentQuery struct + func (q *RawDocumentQuery) AddAfterQueryExecutedListener(action func(*QueryResult)) int + func (q *RawDocumentQuery) AddAfterStreamExecutedListener(action func(map[string]interface{})) int + func (q *RawDocumentQuery) AddBeforeQueryExecutedListener(action func(*IndexQuery)) int + func (q *RawDocumentQuery) AddParameter(name string, value interface{}) *RawDocumentQuery + func (q *RawDocumentQuery) NoCaching() *RawDocumentQuery + func (q *RawDocumentQuery) NoTracking() *RawDocumentQuery + func (q *RawDocumentQuery) RemoveAfterQueryExecutedListener(idx int) *RawDocumentQuery + func (q *RawDocumentQuery) RemoveAfterStreamExecutedListener(idx int) *RawDocumentQuery + func (q *RawDocumentQuery) RemoveBeforeQueryExecutedListener(idx int) *RawDocumentQuery + func (q *RawDocumentQuery) Skip(count int) *RawDocumentQuery + func (q *RawDocumentQuery) Statistics(stats **QueryStatistics) *RawDocumentQuery + func (q *RawDocumentQuery) Take(count int) *RawDocumentQuery + func (q *RawDocumentQuery) UsingDefaultOperator(queryOperator QueryOperator) *RawDocumentQuery + func (q *RawDocumentQuery) WaitForNonStaleResults() *RawDocumentQuery + func (q *RawDocumentQuery) WaitForNonStaleResultsWithTimeout(waitTimeout time.Duration) *RawDocumentQuery + func (q RawDocumentQuery) Any() (bool, error) + func (q RawDocumentQuery) Count() (int, error) + func (q RawDocumentQuery) CountLazily() (*Lazy, error) + func (q RawDocumentQuery) Err() error + func (q RawDocumentQuery) First(result interface{}) error + func (q RawDocumentQuery) GetIndexQuery() (*IndexQuery, error) + func (q RawDocumentQuery) GetResults(results interface{}) error + func (q RawDocumentQuery) Lazily() (*Lazy, error) + func (q RawDocumentQuery) Single(result interface{}) error + type ReadBalanceBehavior = string + type RemoveCompareExchangeValueCommand struct + Result *CompareExchangeResult + func NewRemoveCompareExchangeValueCommand(clazz reflect.Type, key string, index int64, conventions *DocumentConventions) (*RemoveCompareExchangeValueCommand, error) + type ReplicationNode struct + Database string + IsDisabled bool + URL string + type ReplicationWaitOptsBuilder struct + func (b *ReplicationWaitOptsBuilder) Majority(waitForMajority bool) *ReplicationWaitOptsBuilder + func (b *ReplicationWaitOptsBuilder) NumberOfReplicas(replicas int) *ReplicationWaitOptsBuilder + func (b *ReplicationWaitOptsBuilder) ThrowOnTimeout(shouldThrow bool) *ReplicationWaitOptsBuilder + func (b *ReplicationWaitOptsBuilder) WithTimeout(timeout time.Duration) *ReplicationWaitOptsBuilder + type RequestExecutor struct + Cache *httpCache + Certificate *tls.Certificate + ClientConfigurationEtag int64 + NumberOfServerRequests atomicInteger + TopologyEtag int64 + TrustStore *x509.Certificate + func ClusterRequestExecutorCreate(initialUrls []string, certificate *tls.Certificate, ...) *RequestExecutor + func ClusterRequestExecutorCreateForSingleNode(url string, certificate *tls.Certificate, trustStore *x509.Certificate, ...) *RequestExecutor + func NewClusterRequestExecutor(certificate *tls.Certificate, trustStore *x509.Certificate, ...) *RequestExecutor + func NewRequestExecutor(databaseName string, certificate *tls.Certificate, ...) *RequestExecutor + func RequestExecutorCreate(initialUrls []string, databaseName string, certificate *tls.Certificate, ...) *RequestExecutor + func RequestExecutorCreateForSingleNodeWithConfigurationUpdates(url string, databaseName string, certificate *tls.Certificate, ...) *RequestExecutor + func RequestExecutorCreateForSingleNodeWithoutConfigurationUpdates(url string, databaseName string, certificate *tls.Certificate, ...) *RequestExecutor + func (re *RequestExecutor) Close() + func (re *RequestExecutor) Execute(chosenNode *ServerNode, nodeIndex int, command RavenCommand, shouldRetry bool, ...) error + func (re *RequestExecutor) ExecuteCommand(command RavenCommand, sessionInfo *SessionInfo) error + func (re *RequestExecutor) GetConventions() *DocumentConventions + func (re *RequestExecutor) GetHTTPClient() (*http.Client, error) + func (re *RequestExecutor) GetTopology() *Topology + func (re *RequestExecutor) GetTopologyNodes() []*ServerNode + func (re *RequestExecutor) GetURL() (string, error) + func (re *RequestExecutor) MakeCluster() + func (re *RequestExecutor) UpdateTopologyAsync(node *ServerNode, timeout int) chan *clusterUpdateAsyncResult + type ResetIndexCommand struct + func NewResetIndexCommand(indexName string) (*ResetIndexCommand, error) + type ResetIndexOperation struct + Command *ResetIndexCommand + func NewResetIndexOperation(indexName string) (*ResetIndexOperation, error) + func (o *ResetIndexOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type ResponseTimeInformation struct + type ResponseTimeItem struct + Duration time.Duration + URL string + type RestoreCaching struct + func (r *RestoreCaching) Close() error + type Revision struct + Current interface{} + Previous interface{} + type RevisionsCollectionConfiguration struct + Disabled bool + MinimumRevisionAgeToKeep *Duration + MinimumRevisionsToKeep int64 + PurgeOnDelete bool + type RevisionsConfiguration struct + Collections map[string]*RevisionsCollectionConfiguration + DefaultConfig *RevisionsCollectionConfiguration + type RevisionsDisabledError struct + func (e *RevisionsDisabledError) Error() string + func (e *RevisionsDisabledError) WrappedError() error + type RevisionsSessionOperations = DocumentSessionRevisions + type RouteNotFoundError struct + func (e *RouteNotFoundError) Error() string + func (e *RouteNotFoundError) WrappedError() error + type RuntimeError struct + func (e *RuntimeError) Error() string + func (e *RuntimeError) WrappedError() error + type ScriptResolver struct + LastModifiedTime Time + Script string + type SearchOperator int + const SearchOperatorAnd + const SearchOperatorOr + const SearchOperatorUnset + type SecurityError struct + func (e *SecurityError) Error() string + func (e *SecurityError) WrappedError() error + type SeedIdentityForCommand struct + Result int + func NewSeedIdentityForCommand(id string, value int64, forced bool) (*SeedIdentityForCommand, error) + type Semaphore struct + func NewSemaphore(cap int) *Semaphore + type ServerLoadFailureError struct + func (e *ServerLoadFailureError) Error() string + func (e *ServerLoadFailureError) WrappedError() error + type ServerNode struct + ClusterTag string + Database string + ServerRole string + URL string + func NewServerNode() *ServerNode + type ServerOperationExecutor struct + func NewServerOperationExecutor(store *DocumentStore) *ServerOperationExecutor + func (e *ServerOperationExecutor) Close() + func (e *ServerOperationExecutor) Send(operation IServerOperation) error + func (e *ServerOperationExecutor) SendAsync(operation IServerOperation) (*Operation, error) + type SessionCreatedEventArgs struct + Session *InMemoryDocumentSessionOperations + type SessionInfo struct + SessionID int + type SessionOptions struct + Database string + RequestExecutor *RequestExecutor + type SetIndexesLockCommand struct + func NewSetIndexesLockCommand(conventions *DocumentConventions, parameters *SetIndexesLockParameters) (*SetIndexesLockCommand, error) + type SetIndexesLockOperation struct + Command *SetIndexesLockCommand + func NewSetIndexesLockOperation(indexName string, mode IndexLockMode) (*SetIndexesLockOperation, error) + func NewSetIndexesLockOperationWithParameters(parameters *SetIndexesLockParameters) (*SetIndexesLockOperation, error) + func (o *SetIndexesLockOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type SetIndexesLockParameters struct + IndexNames []string + Mode IndexLockMode + type SetIndexesPriorityCommand struct + func NewSetIndexesPriorityCommand(conventions *DocumentConventions, parameters *SetIndexesPriorityParameters) (*SetIndexesPriorityCommand, error) + type SetIndexesPriorityOperation struct + Command *SetIndexesPriorityCommand + func NewSetIndexesPriorityOperation(indexName string, priority IndexPriority) (*SetIndexesPriorityOperation, error) + func (o *SetIndexesPriorityOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type SetIndexesPriorityParameters struct + IndexNames []string + Priority IndexPriority + type Size struct + HumaneSize string + SizeInBytes int64 + type SpatialBounds struct + MaxX float64 + MaxY float64 + MinX float64 + MinY float64 + func NewSpatialBounds(minX float64, minY float64, maxX float64, maxY float64) *SpatialBounds + type SpatialCriteria interface + GetShapeToken func(addQueryParameter func(interface{}) string) *shapeToken + ToQueryToken func(fieldName string, addQueryParameter func(interface{}) string) queryToken + type SpatialCriteriaCommon struct + func NewSpatialCriteria(relation SpatialRelation, distanceErrorPct float64) SpatialCriteriaCommon + type SpatialCriteriaFactory struct + func NewSpatialCriteriaFactory() *SpatialCriteriaFactory + func (f *SpatialCriteriaFactory) Contains(shapeWkt string) *WktCriteria + func (f *SpatialCriteriaFactory) ContainsWithError(shapeWkt string, distErrorPercent float64) *WktCriteria + func (f *SpatialCriteriaFactory) Disjoint(shapeWkt string) *WktCriteria + func (f *SpatialCriteriaFactory) DisjointWithError(shapeWkt string, distErrorPercent float64) *WktCriteria + func (f *SpatialCriteriaFactory) Intersects(shapeWkt string) *WktCriteria + func (f *SpatialCriteriaFactory) IntersectsWithError(shapeWkt string, distErrorPercent float64) *WktCriteria + func (f *SpatialCriteriaFactory) RelatesToShape(shapeWkt string, relation SpatialRelation) *WktCriteria + func (f *SpatialCriteriaFactory) RelatesToShapeWithError(shapeWkt string, relation SpatialRelation, distErrorPercent float64) *WktCriteria + func (f *SpatialCriteriaFactory) Within(shapeWkt string) *WktCriteria + func (f *SpatialCriteriaFactory) WithinRadius(radius float64, latitude float64, longitude float64) *CircleCriteria + func (f *SpatialCriteriaFactory) WithinRadiusWithUnits(radius float64, latitude float64, longitude float64, radiusUnits SpatialUnits) *CircleCriteria + func (f *SpatialCriteriaFactory) WithinRadiusWithUnitsAndError(radius float64, latitude float64, longitude float64, radiusUnits SpatialUnits, ...) *CircleCriteria + func (f *SpatialCriteriaFactory) WithinWithError(shapeWkt string, distErrorPercent float64) *WktCriteria + type SpatialFieldType = string + type SpatialOptions struct + MaxTreeLevel int + MaxX float64 + MaxY float64 + MinX float64 + MinY float64 + Strategy SpatialSearchStrategy + Type SpatialFieldType + Units SpatialUnits + func NewCartesianBoundingBoxIndex() *SpatialOptions + func NewCartesianQuadPrefixTreeIndex(maxTreeLevel int, bounds *SpatialBounds) *SpatialOptions + func NewGeographyBoundingBoxIndexWithRadius(circleRadiusUnits SpatialUnits) *SpatialOptions + func NewGeographyDefaultOptions() *SpatialOptions + func NewGeographyDefaultOptionsWithRadius(circleRadiusUnits SpatialUnits) *SpatialOptions + func NewGeographyGeohashPrefixTreeIndex(maxTreeLevel int) *SpatialOptions + func NewGeographyGeohashPrefixTreeIndexWithRadius(maxTreeLevel int, circleRadiusUnits SpatialUnits) *SpatialOptions + func NewGeographyQuadPrefixTreeIndex(maxTreeLevel int) *SpatialOptions + func NewGeographyQuadPrefixTreeIndexWithRadius(maxTreeLevel int, circleRadiusUnits SpatialUnits) *SpatialOptions + func NewGeograpyboundingBoxIndex() *SpatialOptions + func NewSpatialOptions() *SpatialOptions + type SpatialRelation = string + type SpatialSearchStrategy = string + type SpatialUnits = string + type StartIndexCommand struct + func NewStartIndexCommand(indexName string) (*StartIndexCommand, error) + type StartIndexOperation struct + Command *StartIndexCommand + func NewStartIndexOperation(indexName string) (*StartIndexOperation, error) + func (o *StartIndexOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type StartIndexingCommand struct + func NewStartIndexingCommand() *StartIndexingCommand + type StartIndexingOperation struct + Command *StartIndexingCommand + func NewStartIndexingOperation() *StartIndexingOperation + func (o *StartIndexingOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type StartsWithArgs struct + Exclude string + Matches string + PageSize int + Start int + StartAfter string + StartsWith string + type StopIndexCommand struct + func NewStopIndexCommand(indexName string) (*StopIndexCommand, error) + type StopIndexOperation struct + Command *StopIndexCommand + func NewStopIndexOperation(indexName string) (*StopIndexOperation, error) + func (o *StopIndexOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type StopIndexingCommand struct + func NewStopIndexingCommand() *StopIndexingCommand + type StopIndexingOperation struct + Command *StopIndexingCommand + func NewStopIndexingOperation() *StopIndexingOperation + func (o *StopIndexingOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type StreamCommand struct + Result *StreamResultResponse + func NewStreamCommand(url string) *StreamCommand + type StreamIterator struct + func (i *StreamIterator) Close() error + func (i *StreamIterator) Next(v interface{}) (*StreamResult, error) + type StreamOperation struct + func NewStreamOperation(session *InMemoryDocumentSessionOperations, statistics *StreamQueryStatistics) *StreamOperation + type StreamQueryStatistics struct + IndexName string + IndexTimestamp time.Time + IsStale bool + ResultEtag int64 + TotalResults int + type StreamResult struct + ChangeVector *string + Document interface{} + ID string + Metadata *MetadataAsDictionary + type StreamResultResponse struct + Response *http.Response + Stream io.Reader + type StringDistanceTypes = string + type SubscriberErrorError struct + func (e *SubscriberErrorError) Error() string + func (e *SubscriberErrorError) WrappedError() error + type SubscriptionBatch struct + Items []*SubscriptionBatchItem + func (b *SubscriptionBatch) OpenSession() (*DocumentSession, error) + type SubscriptionBatchItem struct + ChangeVector string + ErrorMessage string + ID string + Metadata *MetadataAsDictionary + RawMetadata map[string]interface{} + RawResult map[string]interface{} + Result interface{} + func (i *SubscriptionBatchItem) GetMetadata() *MetadataAsDictionary + func (i *SubscriptionBatchItem) GetResult(result interface{}) error + type SubscriptionChangeVectorUpdateConcurrencyError struct + func (e *SubscriptionChangeVectorUpdateConcurrencyError) Error() string + func (e *SubscriptionChangeVectorUpdateConcurrencyError) WrappedError() error + type SubscriptionClientMessageType = string + type SubscriptionClosedError struct + func (e *SubscriptionClosedError) Error() string + func (e *SubscriptionClosedError) WrappedError() error + type SubscriptionConnectionClientMessage struct + ChangeVector *string + Type SubscriptionClientMessageType + type SubscriptionCreationOptions struct + ChangeVector *string + MentorNode string + Name string + Query string + type SubscriptionDoesNotBelongToNodeError struct + func (e *SubscriptionDoesNotBelongToNodeError) Error() string + func (e *SubscriptionDoesNotBelongToNodeError) WrappedError() error + type SubscriptionDoesNotExistError struct + func (e *SubscriptionDoesNotExistError) Error() string + func (e *SubscriptionDoesNotExistError) WrappedError() error + type SubscriptionError struct + func (e *SubscriptionError) Error() string + func (e *SubscriptionError) WrappedError() error + type SubscriptionInUseError struct + func (e *SubscriptionInUseError) Error() string + func (e *SubscriptionInUseError) WrappedError() error + type SubscriptionInvalidStateError struct + func (e *SubscriptionInvalidStateError) Error() string + func (e *SubscriptionInvalidStateError) WrappedError() error + type SubscriptionOpeningStrategy = string + type SubscriptionState struct + ChangeVectorForNextBatchStartingPoint *string + Disabled bool + LastBatchAckTime Time + LastClientConnectionTime Time + MentorNode string + NodeTag string + Query string + SubscriptionID int64 + SubscriptionName string + type SubscriptionStateWithNodeDetails struct + ResponsibleNode NodeID + type SubscriptionTryout struct + type SubscriptionWorker struct + func NewSubscriptionWorker(clazz reflect.Type, options *SubscriptionWorkerOptions, withRevisions bool, ...) (*SubscriptionWorker, error) + func (w *SubscriptionWorker) AddAfterAcknowledgmentListener(handler func(*SubscriptionBatch)) int + func (w *SubscriptionWorker) AddOnSubscriptionConnectionRetry(handler func(error)) int + func (w *SubscriptionWorker) Cancel() + func (w *SubscriptionWorker) Close() error + func (w *SubscriptionWorker) Err() error + func (w *SubscriptionWorker) IsDone() bool + func (w *SubscriptionWorker) RemoveAfterAcknowledgmentListener(id int) + func (w *SubscriptionWorker) RemoveOnSubscriptionConnectionRetry(id int) + func (w *SubscriptionWorker) Run(cb func(*SubscriptionBatch) error) error + func (w *SubscriptionWorker) WaitUntilFinished(timeout time.Duration) error + type SubscriptionWorkerOptions struct + CloseWhenNoDocsLeft bool + IgnoreSubscriberErrors bool + MaxDocsPerBatch int + MaxErroneousPeriod Duration + Strategy SubscriptionOpeningStrategy + SubscriptionName string + TimeToWaitBeforeConnectionRetry Duration + func NewSubscriptionWorkerOptions(subscriptionName string) *SubscriptionWorkerOptions + type SuggestionBase interface + SetOptions func(*SuggestionOptions) + type SuggestionBuilder struct + func NewSuggestionBuilder() *SuggestionBuilder + func (b *SuggestionBuilder) ByField(fieldName string, term string, terms ...string) *SuggestionBuilder + func (b *SuggestionBuilder) GetSuggestion() SuggestionBase + func (b *SuggestionBuilder) WithOptions(options *SuggestionOptions) *SuggestionBuilder + type SuggestionCommon struct + Field string + Options *SuggestionOptions + func (s *SuggestionCommon) SetOptions(options *SuggestionOptions) + type SuggestionDocumentQuery struct + func (q *SuggestionDocumentQuery) Execute() (map[string]*SuggestionResult, error) + func (q *SuggestionDocumentQuery) ExecuteLazy() (*Lazy, error) + func (q *SuggestionDocumentQuery) InvokeAfterQueryExecuted(result *QueryResult) + type SuggestionOptions struct + Accuracy float32 + Distance StringDistanceTypes + PageSize int + SortMode SuggestionSortMode + func NewSuggestionOptions() *SuggestionOptions + type SuggestionResult struct + Name string + Suggestions []string + type SuggestionSortMode = string + type SuggestionWithTerm struct + Term string + func NewSuggestionWithTerm(field string) *SuggestionWithTerm + type SuggestionWithTerms struct + Terms []string + func NewSuggestionWithTerms(field string) *SuggestionWithTerms + type TcpConnectionInfo struct + Certificate *string + Port int + URL string + type TermsQueryResult struct + IndexName string + ResultEtag int64 + Terms []string + type Time time.Time + func (t *Time) UnmarshalJSON(d []byte) error + func (t Time) Format() string + func (t Time) MarshalJSON() ([]byte, error) + type TimeoutError struct + func NewTimeoutError(format string, args ...interface{}) *TimeoutError + func (e *TimeoutError) Error() string + func (e *TimeoutError) WrappedError() error + type Topology struct + Etag int64 + Nodes []*ServerNode + type UUID struct + func NewUUID() *UUID + func (u *UUID) Hex() string + func (u *UUID) String() string + type UnsuccessfulRequestError struct + func (e *UnsuccessfulRequestError) Error() string + func (e *UnsuccessfulRequestError) WrappedError() error + type UnsupportedOperationError struct + func (e *UnsupportedOperationError) Error() string + func (e *UnsupportedOperationError) WrappedError() error + type UpdateExternalReplicationCommand struct + Result *ModifyOngoingTaskResult + func NewUpdateExternalReplicationCommand(newWatcher *ExternalReplication) *UpdateExternalReplicationCommand + type UpdateExternalReplicationOperation struct + Command *UpdateExternalReplicationCommand + func NewUpdateExternalReplicationOperation(newWatcher *ExternalReplication) *UpdateExternalReplicationOperation + func (o *UpdateExternalReplicationOperation) GetCommand(conventions *DocumentConventions) (RavenCommand, error) + type WktCriteria struct + func NewWktCriteria(shapeWkt string, relation SpatialRelation, distErrorPercent float64) *WktCriteria + func (c *WktCriteria) GetShapeToken(addQueryParameter func(interface{}) string) *shapeToken + func (c *WktCriteria) ToQueryToken(fieldName string, addQueryParameter func(interface{}) string) queryToken + type WktField struct + func NewWktField(wkt string) *WktField + func (f *WktField) ToField(ensureValidFieldName func(string, bool) (string, error)) (string, error)