diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index 0c635de54..fab8784a1 100644 Binary files a/.voidbot/state/aetheria.cc and b/.voidbot/state/aetheria.cc differ diff --git a/Assets/Scripts/CultCache/Editor/DatabaseView.cs b/Assets/Scripts/CultCache/Editor/DatabaseView.cs index 36aa69aaf..1fe885bf9 100644 --- a/Assets/Scripts/CultCache/Editor/DatabaseView.cs +++ b/Assets/Scripts/CultCache/Editor/DatabaseView.cs @@ -1,4 +1,4 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ @@ -7,9 +7,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; -using JsonKnownTypes; -using RethinkDb.Driver; -using RethinkDb.Driver.Net; using UnityEditor; using UnityEngine; using static UnityEditor.EditorGUILayout; @@ -22,16 +19,12 @@ public abstract class DatabaseListView : EditorWindow public Guid SelectedItem; public GUIStyle SelectedStyle; - public static RethinkDB R = RethinkDB.R; - protected CultCache cultCache; private static DatabaseInspector _inspector; private Dictionary _tables; //private Type[] _entryTypes; private Type[] _globalTypes; - private string _connectionString; private Vector2 _view; - private RethinkQueryStatus _queryStatus; private HashSet _groupFoldouts = new HashSet(); @@ -97,7 +90,6 @@ public abstract class DatabaseListView : EditorWindow private bool _listItemStyle; private SingleFileMessagePackBackingStore _msgPackStore; - private MultiFileJsonBackingStore _jsonStore; public GUIStyle ListItemStyle => (_listItemStyle = !_listItemStyle) ? ListStyleEven : ListStyleOdd; void OnEnable() @@ -113,10 +105,8 @@ public abstract class DatabaseListView : EditorWindow margin = new RectOffset(0, 0, 0, 0) }; - //_jsonStore = new MultiFileJsonBackingStore(FilePath); _msgPackStore = new SingleFileMessagePackBackingStore(Path.Combine(FilePath, "AetherDB.msgpack")); cultCache = new CultCache(); - //cultCache.AddBackingStore(_jsonStore); cultCache.AddBackingStore(_msgPackStore); cultCache.AddBackingStore(new MultiFileMessagePackBackingStore(FilePath), typeof(NameFile)); cultCache.PullAllBackingStores(); @@ -130,14 +120,8 @@ public abstract class DatabaseListView : EditorWindow .Where(t => t.GetCustomAttribute() != null && t.GetCustomAttribute() != null).ToArray(); _tables = typeof(DatabaseEntry).GetAllChildClasses() .Where(t => t.GetCustomAttribute() != null && t.GetCustomAttribute() == null) - .GroupBy(t=>t.GetCustomAttribute()?.TableName ?? "Default") + .GroupBy(t=>t.GetCustomAttribute()?.TableName ?? "Default") .ToDictionary(group=>group.Key, group=> (false, group.Select(t=>(t, false)).ToArray())); - - if (EditorPrefs.HasKey("RethinkDB.URL")) - _connectionString = EditorPrefs.GetString("RethinkDB.URL"); - else - _connectionString = "Enter DB URL"; - InitStyles(); } @@ -159,26 +143,9 @@ public abstract class DatabaseListView : EditorWindow // Indicate that we don't accept drags ourselves DragAndDrop.visualMode = DragAndDropVisualMode.Rejected; - using (new HorizontalScope()) - { - _connectionString = TextField(_connectionString); - if (GUILayout.Button("Connect")) - { - EditorPrefs.SetString("RethinkDB.URL", _connectionString); - JsonKnownTypesSettingsManager.RegisterTypeAssembly(); - _queryStatus = RethinkConnection.RethinkConnect(cultCache, _connectionString, DatabaseName); - } - } using (new HorizontalScope()) { GUILayout.Label("Export"); - //_fileName = TextField(_fileName); - if (GUILayout.Button("JSON")) - { - _jsonStore.PushAll(); - Debug.Log("Exported DB to JSON!"); - } - if (GUILayout.Button("MsgPack")) { _msgPackStore.PushAll(); @@ -186,11 +153,6 @@ public abstract class DatabaseListView : EditorWindow } } - if (_queryStatus != null && _queryStatus.RetrievedEntries < _queryStatus.TotalEntries) - { - var progressRect = GetControlRect(false, 20); - EditorGUI.ProgressBar(progressRect, (float)_queryStatus.RetrievedEntries/_queryStatus.TotalEntries, "Sync Progress"); - } GUILayout.Space(5); _view = BeginScrollView( diff --git a/Assets/Scripts/Editor/SerializerTestWindow.cs b/Assets/Scripts/Editor/SerializerTestWindow.cs deleted file mode 100644 index 64f0cb7c9..000000000 --- a/Assets/Scripts/Editor/SerializerTestWindow.cs +++ /dev/null @@ -1,118 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ - -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using MessagePack; -using MessagePack.Formatters; -using MessagePack.Resolvers; -using Newtonsoft.Json; -using RethinkDb.Driver; -using RethinkDb.Driver.Net; -using Unity.Mathematics; -using UnityEditor; -using UnityEngine; -using Object = UnityEngine.Object; -using static Unity.Mathematics.math; - -public class SerializerTestWindow : EditorWindow -{ - // Singleton to avoid multiple instances of window. - private static SerializerTestWindow _instance; - - private static readonly RethinkDB R = RethinkDB.R; - - private Connection _connection; - - private Object _object; - - private void OnEnable() - { - _connection = R.Connection().Hostname(EditorPrefs.GetString("RethinkDB.URL")).Port(RethinkDBConstants.DefaultPort).Timeout(60).Connect(); - } - - public void OnGUI() - { - //var obj = new ShieldData() {ID = Guid.NewGuid(), Name = "Bar" , HeatPerformanceCurve = new []{float4(0,0,0,0), float4(1,1,1,1)}} as DatabaseEntry; - //var obj = new GalaxyRequestMessage() as Message; - var obj = new Gradient(); - var times = Enumerable.Range(0, 5).Select(i => (float) i / 4).ToArray(); - obj.alphaKeys = times.Select(f => new GradientAlphaKey(1, f)).ToArray(); - obj.colorKeys = times.Select(f => new GradientColorKey(UnityEngine.Random.ColorHSV(), f)).ToArray(); - // JsonSerializer serializer = new JsonSerializer(); - // serializer.Converters.Add(new MathJsonConverter()); - // serializer.Converters.Add(Converter.DateTimeConverter); - // serializer.Converters.Add(Converter.BinaryConverter); - // serializer.Converters.Add(Converter.GroupingConverter); - // serializer.Converters.Add(Converter.PocoExprConverter); - - JsonConvert.DefaultSettings = () => new JsonSerializerSettings - { - Converters = new List - { - new MathJsonConverter(), - Converter.DateTimeConverter, - Converter.BinaryConverter, - Converter.GroupingConverter, - Converter.PocoExprConverter - } - }; - - Converter.Serializer.Converters.Add(new MathJsonConverter()); - - RegisterResolver.Register(); - - if (GUILayout.Button("Print MsgPack JSON")) - Debug.Log(MessagePackSerializer.SerializeToJson(obj)); - - //var writer = new StringWriter(); - if (GUILayout.Button("Print Newtonsoft JSON")) - { - //serializer.Serialize(writer, obj); - Debug.Log(JsonConvert.SerializeObject(obj)); - } - - if (GUILayout.Button("Create Database")) - R.DbCreate("Aetheria").Run(_connection); - - if (GUILayout.Button("Create Table")) - R.Db("Aetheria").TableCreate("Items").Run(_connection); - - if (GUILayout.Button("Send to RethinkDB")) - R.Db("Aetheria").Table("Items").Insert(obj).Run(_connection); - } - - #region EditorWindow Boilerplate - - public SerializerTestWindow() - { - _instance = this; - } - - static SerializerTestWindow ShowWindow() - { - if (_instance == null) - { - SerializerTestWindow window = EditorWindow.GetWindow(); - window.titleContent = new GUIContent("Serializer Test"); - _instance = window; - window.Show(); - } - else - _instance.Focus(); - - return _instance; - } - - [MenuItem("Window/Serializer Test Tool")] - static void Init() - { - ShowWindow(); - } - #endregion -} - - diff --git a/Assets/Scripts/ServerShared/Aetheria.Shared.Unity.asmdef b/Assets/Scripts/ServerShared/Aetheria.Shared.Unity.asmdef index 7f58d1e44..2c6d78df4 100644 --- a/Assets/Scripts/ServerShared/Aetheria.Shared.Unity.asmdef +++ b/Assets/Scripts/ServerShared/Aetheria.Shared.Unity.asmdef @@ -5,7 +5,6 @@ "MessagePack", "Unity.Mathematics", "UniRx", - "RethinkDB", "Ink" ], "includePlatforms": [], @@ -17,4 +16,4 @@ "defineConstraints": [], "versionDefines": [], "noEngineReferences": true -} \ No newline at end of file +} diff --git a/Assets/Scripts/ServerShared/Corporations.cs b/Assets/Scripts/ServerShared/Corporations.cs index a5c1685dd..22eb20222 100644 --- a/Assets/Scripts/ServerShared/Corporations.cs +++ b/Assets/Scripts/ServerShared/Corporations.cs @@ -1,4 +1,4 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ @@ -9,7 +9,7 @@ using MessagePack; using Newtonsoft.Json; using Unity.Mathematics; -[RethinkTable("Galaxy"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] +[LegacyCatalogGroup("Galaxy"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] public class Faction : DatabaseEntry, INamedEntry { [Inspectable, JsonProperty("name"), Key(1)] diff --git a/Assets/Scripts/ServerShared/CultCache/Attributes.cs b/Assets/Scripts/ServerShared/CultCache/Attributes.cs index 33a09c216..1a281c161 100644 --- a/Assets/Scripts/ServerShared/CultCache/Attributes.cs +++ b/Assets/Scripts/ServerShared/CultCache/Attributes.cs @@ -107,11 +107,11 @@ public class TooltipAttribute : Attribute } [AttributeUsage(AttributeTargets.Class)] -public class RethinkTableAttribute : Attribute +public class LegacyCatalogGroupAttribute : Attribute { public string TableName; - public RethinkTableAttribute(string tableName) + public LegacyCatalogGroupAttribute(string tableName) { TableName = tableName; } diff --git a/Assets/Scripts/ServerShared/CultCache/CultCache.cs b/Assets/Scripts/ServerShared/CultCache/CultCache.cs index 2931dd6b5..f15a2eac1 100644 --- a/Assets/Scripts/ServerShared/CultCache/CultCache.cs +++ b/Assets/Scripts/ServerShared/CultCache/CultCache.cs @@ -9,12 +9,8 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; -using System.Text; using System.Threading.Tasks; using MessagePack; -using Newtonsoft.Json; -using RethinkDb.Driver; -using RethinkDb.Driver.Net; using UniRx; public class CultCache @@ -331,26 +327,6 @@ public abstract class MultiFileBackingStore : CacheBackingStore, RealtimeBacking } } -public class MultiFileJsonBackingStore : MultiFileBackingStore -{ - public MultiFileJsonBackingStore(string path) : base(path) - { - RegisterResolver.Register(); - } - - public override byte[] Serialize(DatabaseEntry entry) - { - return Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(entry)); - } - - public override DatabaseEntry Deserialize(byte[] data) - { - return JsonConvert.DeserializeObject(Encoding.UTF8.GetString(data)); - } - - public override string Extension => "json"; -} - public class MultiFileMessagePackBackingStore : MultiFileBackingStore { public MultiFileMessagePackBackingStore(string path) : base(path) @@ -435,140 +411,3 @@ public class SingleFileMessagePackBackingStore : SingleFileBackingStore } } -public class SingleFileJsonBackingStore : SingleFileBackingStore -{ - public SingleFileJsonBackingStore(string filePath) : base(filePath) - { - RegisterResolver.Register(); - } - - public override byte[] Serialize(DatabaseEntry[] entries) - { - return Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(entries)); - } - - public override DatabaseEntry[] Deserialize(byte[] data) - { - return JsonConvert.DeserializeObject(Encoding.UTF8.GetString(data)); - } -} - -public class RethinkBackingStore : CacheBackingStore, RealtimeBackingStore -{ - public const string DEFAULT_TABLE = "Default"; - public static RethinkDB R = RethinkDB.R; - public string DatabaseName { get; } - public string ConnectionString { get; } - - private string[] _syncTables; - private Connection _connection; - private Dictionary _entryHashes = new Dictionary(); - - public void ObserveChanges() - { - foreach (var table in _syncTables) - { - // Subscribe to changes from RethinkDB - Task.Run(async () => - { - var result = await R - .Db(DatabaseName) - .Table(table) - .Changes() - .RunChangesAsync(_connection); - while (await result.MoveNextAsync()) - { - var change = result.Current; - if(change.NewValue==null) - EntryDeleted.OnNext(change.OldValue); - else if(change.OldValue==null) - EntryAdded.OnNext(change.NewValue); - else EntryUpdated.OnNext(change.NewValue); - } - }).WrapAwait(); - } - } - - public RethinkBackingStore(string databaseName, string connectionString) - { - DatabaseName = databaseName; - ConnectionString = connectionString; - - RegisterResolver.Register(); - - var connectionStringDomainLength = connectionString.IndexOf(':'); - if (connectionStringDomainLength < 1) - throw new ArgumentException("Illegal Connection String: must include port!"); - - var portString = connectionString.Substring(connectionStringDomainLength + 1); - if (!int.TryParse(portString, out var port)) - throw new ArgumentException($"Illegal connection string! \"{portString}\" is not a valid port number!"); - - _connection = R.Connection() - .Hostname(connectionString.Substring(0,connectionStringDomainLength)) - .Port(port).Timeout(60).Connect(); - - var tables = R.Db(DatabaseName).TableList().RunAtom(_connection); - - _syncTables = typeof(DatabaseEntry).GetAllChildClasses() - .Select(t => t.GetCustomAttribute()?.TableName ?? DEFAULT_TABLE).Distinct().ToArray(); - - foreach (var st in _syncTables.Where(st => !tables.Contains(st))) - R.Db(DatabaseName).TableCreate(st).RunNoReply(_connection); - } - - public override void PullAll() - { - foreach (var table in _syncTables) - { - // Get entries from RethinkDB - Task.Run(async () => - { - var result = await R - .Db(DatabaseName) - .Table(table) - .RunCursorAsync(_connection); - - while (await result.MoveNextAsync()) - { - var entry = result.Current; - EntryAdded.OnNext(entry); - } - }).WrapAwait(); - } - } - - public override async void Push(DatabaseEntry entry) - { - var type = entry.GetType(); - //(Entries.ContainsKey(entry.ID) ? EntryUpdated : EntryAdded).OnNext(entry); - var table = type.GetCustomAttribute()?.TableName ?? DEFAULT_TABLE; - var result = await R - .Db(DatabaseName) - .Table(table) - .Get(entry.ID) - .Replace(entry) - .RunAsync(_connection); - } - - public override async void Delete(DatabaseEntry entry) - { - if(Entries.ContainsKey(entry.ID)) - { - var type = entry.GetType(); - var table = type.GetCustomAttribute()?.TableName ?? DEFAULT_TABLE; - var result = await R - .Db(DatabaseName) - .Table(table) - .Get(entry.ID) - .Delete() - .RunAsync(_connection); - } - } - - public override void PushAll(bool soft = false) - { - foreach(var entry in Entries.Values) - Push(entry); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/CultCache/RethinkConnection.cs b/Assets/Scripts/ServerShared/CultCache/RethinkConnection.cs deleted file mode 100644 index 2970aa084..000000000 --- a/Assets/Scripts/ServerShared/CultCache/RethinkConnection.cs +++ /dev/null @@ -1,34 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Threading.Tasks; -using Newtonsoft.Json; -using RethinkDb.Driver; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Net; - -public static class RethinkConnection -{ - public static RethinkDB R = RethinkDB.R; - - public static RethinkQueryStatus RethinkConnect(CultCache cache, string connectionString, string dbName, bool syncLocalChanges = true) - { - var status = new RethinkQueryStatus(); - - - return status; - } -} - - -public class RethinkQueryStatus -{ - public int RetrievedEntries; - public int TotalEntries; -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/CultCache/Serialization/RegisterResolver.cs b/Assets/Scripts/ServerShared/CultCache/Serialization/RegisterResolver.cs index d821cf306..61a7621aa 100644 --- a/Assets/Scripts/ServerShared/CultCache/Serialization/RegisterResolver.cs +++ b/Assets/Scripts/ServerShared/CultCache/Serialization/RegisterResolver.cs @@ -1,10 +1,6 @@ -using System.Collections; -using System.Collections.Generic; using MessagePack; using MessagePack.ReactivePropertyExtension; using MessagePack.Resolvers; -using Newtonsoft.Json; -using RethinkDb.Driver.Net; public static class RegisterResolver { @@ -24,19 +20,6 @@ public static class RegisterResolver var options = MessagePackSerializerOptions.Standard.WithResolver(resolver); MessagePackSerializer.DefaultOptions = options; - // Add Unity.Mathematics serialization support to Newtonsoft JSON - JsonConvert.DefaultSettings = () => new JsonSerializerSettings - { - Converters = new List - { - new MathJsonConverter(), - Converter.DateTimeConverter, - Converter.BinaryConverter, - Converter.GroupingConverter, - Converter.PocoExprConverter - } - }; - registered = true; } } diff --git a/Assets/Scripts/ServerShared/GlobalData.cs b/Assets/Scripts/ServerShared/GlobalData.cs index 71c477fb4..aba2afc34 100644 --- a/Assets/Scripts/ServerShared/GlobalData.cs +++ b/Assets/Scripts/ServerShared/GlobalData.cs @@ -1,4 +1,4 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ @@ -12,7 +12,7 @@ using static Unity.Mathematics.math; using static Unity.Mathematics.noise; using static NoiseFbm; -[Inspectable, Serializable, RethinkTable("Galaxy"), MessagePackObject, JsonObject(MemberSerialization.OptIn)] +[Inspectable, Serializable, LegacyCatalogGroup("Galaxy"), MessagePackObject, JsonObject(MemberSerialization.OptIn)] public class GalaxyMapLayerData : DatabaseEntry, INamedEntry { [Inspectable, JsonProperty("coreBoost"), Key(1)] diff --git a/Assets/Scripts/ServerShared/ItemData.cs b/Assets/Scripts/ServerShared/ItemData.cs index 716ff3eb6..f0a5f4c1b 100644 --- a/Assets/Scripts/ServerShared/ItemData.cs +++ b/Assets/Scripts/ServerShared/ItemData.cs @@ -304,7 +304,7 @@ public abstract class ItemData : DatabaseEntry, INamedEntry } -[RethinkTable("Items"), Inspectable, MessagePackObject] +[LegacyCatalogGroup("Items"), Inspectable, MessagePackObject] public class SimpleCommodityData : ItemData { // // Types of body where this resource can be found @@ -337,7 +337,7 @@ public abstract class CraftedItemData : ItemData // public float IngredientQualityWeight = .5f; } -[RethinkTable("Items"), Inspectable, MessagePackObject] +[LegacyCatalogGroup("Items"), Inspectable, MessagePackObject] public class CompoundCommodityData : CraftedItemData { [InspectableDatabaseLink(typeof(PersonalityAttribute)), JsonProperty("demandProfile"), Key(10)] @@ -347,7 +347,7 @@ public class CompoundCommodityData : CraftedItemData public CompoundCommodityCategory Category; } -[RethinkTable("Items"), Inspectable, MessagePackObject] +[LegacyCatalogGroup("Items"), Inspectable, MessagePackObject] public class ConsumableItemData : CraftedItemData { [Inspectable, JsonProperty("behaviors"), Key(10)] @@ -456,7 +456,7 @@ public class AudioStat public PerformanceStat Stat = new PerformanceStat(); } -[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] +[LegacyCatalogGroup("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] public class GearData : EquippableItemData { [Inspectable, JsonProperty("hardpointType"), Key(23)] @@ -465,7 +465,7 @@ public class GearData : EquippableItemData [IgnoreMember] public override HardpointType HardpointType => Hardpoint; } -[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] +[LegacyCatalogGroup("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] public class CargoBayData : EquippableItemData { [Inspectable, JsonProperty("interiorShape"), Key(24)] @@ -474,14 +474,14 @@ public class CargoBayData : EquippableItemData [IgnoreMember] public override HardpointType HardpointType => HardpointType.Tool; } -[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] +[LegacyCatalogGroup("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] public class DockingBayData : CargoBayData { [Inspectable, JsonProperty("maxSize"), Key(25)] public int2 MaxSize; } -[RethinkTable("Items"), MessagePackObject, JsonObject(MemberSerialization.OptIn)] +[LegacyCatalogGroup("Items"), MessagePackObject, JsonObject(MemberSerialization.OptIn)] public class WeaponItemData : GearData { [Inspectable, JsonProperty("range"), Key(24)] @@ -500,7 +500,7 @@ public class WeaponItemData : GearData public WeaponModifiers WeaponModifiers; } -[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] +[LegacyCatalogGroup("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] public class HullData : EquippableItemData { [Inspectable, JsonProperty("hardpoints"), Key(23)] @@ -630,7 +630,7 @@ public class PerformanceStat } } -[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] +[LegacyCatalogGroup("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)] public class PersonalityAttribute : DatabaseEntry, INamedEntry { [Inspectable, JsonProperty("name"), Key(1)] diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDB.asmdef b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDB.asmdef deleted file mode 100644 index 0b2fc2b40..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDB.asmdef +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "RethinkDB" -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDB.asmdef.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDB.asmdef.meta deleted file mode 100644 index 08604276e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDB.asmdef.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b2a4424e75e7709478154ddd9db0b344 -AssemblyDefinitionImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq.meta deleted file mode 100644 index c6f05c415..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a63fc00275e79cc43ac526c37980469d -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes.meta deleted file mode 100644 index 1beb6fcba..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d5afeae59c88f504a9a6416494369a31 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/PrimaryIndexAttribute.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/PrimaryIndexAttribute.cs deleted file mode 100644 index f4a3a1ce9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/PrimaryIndexAttribute.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace RethinkDb.Driver.Linq.Attributes -{ - public class PrimaryIndexAttribute : Attribute - { - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/PrimaryIndexAttribute.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/PrimaryIndexAttribute.cs.meta deleted file mode 100644 index 8f1d1b9e9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/PrimaryIndexAttribute.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1546d1a62ca72f14281d41cfb0b190b4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/SecondaryIndexAttribute.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/SecondaryIndexAttribute.cs deleted file mode 100644 index 20a1b56de..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/SecondaryIndexAttribute.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -namespace RethinkDb.Driver.Linq.Attributes -{ - public class SecondaryIndexAttribute : Attribute - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/SecondaryIndexAttribute.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/SecondaryIndexAttribute.cs.meta deleted file mode 100644 index d9a716d0c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/Attributes/SecondaryIndexAttribute.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 70880667ec2520243b121b4452e01fab -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/LinqExtensions.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/LinqExtensions.cs deleted file mode 100644 index dbd552d58..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/LinqExtensions.cs +++ /dev/null @@ -1,26 +0,0 @@ -using Remotion.Linq; -using Remotion.Linq.Parsing.Structure; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Net; - -namespace RethinkDb.Driver.Linq -{ - public static class LinqExtensions - { - public static RethinkQueryable AsQueryable( this Table term, IConnection conn ) - { - var executor = new RethinkQueryExecutor( term, conn ); - return new RethinkQueryable( - new DefaultQueryProvider( - typeof( RethinkQueryable<> ), - QueryParser.CreateDefault(), - executor ) - ); - } - - public static RethinkQueryable Table( this Db db, string tableName, IConnection conn ) - { - return db.Table( tableName ).AsQueryable( conn ); - } - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/LinqExtensions.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/LinqExtensions.cs.meta deleted file mode 100644 index 154af3094..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/LinqExtensions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 497b6d9e1e2415d448096fe5e67c4d2f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/MemberNameResolver.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/MemberNameResolver.cs deleted file mode 100644 index 1b84d3edb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/MemberNameResolver.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using Remotion.Linq.Clauses.Expressions; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Linq -{ - public class MemberNameResolver - { - private readonly MemberExpression _expression; - - public MemberNameResolver( MemberExpression expression ) - { - _expression = expression; - } - - public ReqlExpr Resolve( ReqlExpr reqlExpr ) => ResolveMemberExpression( reqlExpr, _expression ); - - private static ReqlExpr ResolveMemberExpression( ReqlExpr reqlExpr, MemberExpression expression ) - { - if( expression.Expression.NodeType == ExpressionType.MemberAccess ) - reqlExpr = ResolveMemberExpression( reqlExpr, (MemberExpression)expression.Expression ); - if( expression.Expression.NodeType == ExpressionType.Extension && expression.Expression is SubQueryExpression ) - reqlExpr = ResolveExtensionExpression( reqlExpr, (SubQueryExpression)expression.Expression ); - return reqlExpr[QueryHelper.GetJsonMemberName( expression.Member )]; - } - - private static ReqlExpr ResolveExtensionExpression( ReqlExpr reqlExpr, SubQueryExpression expression ) - { - var subQueryVisitors = new List - { - new AnySubQueryVisitor(), - new AllSubQueryVisitor(), - new FirstAndLastSubQueryVisitor() - }; - - var subQueryVisitor = subQueryVisitors.FirstOrDefault( x => x.CanVisit( expression.QueryModel ) ); - - if( subQueryVisitor == null ) - throw new NotSupportedException( "subqueries not allowed ." ); - - return subQueryVisitor.Visit( reqlExpr, expression.QueryModel ); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/MemberNameResolver.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/MemberNameResolver.cs.meta deleted file mode 100644 index 5810840eb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/MemberNameResolver.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d6d58b735ecbbe44da23bc61faede0f3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.csproj b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.csproj deleted file mode 100644 index 8a7d7c1ed..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.csproj +++ /dev/null @@ -1,42 +0,0 @@ - - - An experimental LINQ to ReQL provider for the RethinkDB C# Driver. - - - 0.0.0-localbuild - Brian Chavez;jrote1 - net45;netstandard2.0 - RethinkDb.Driver.Linq.ruleset - true - - - false - RethinkDb.Driver.Linq - rethinkdb;document;database;driver;reql;linq;nosql - https://raw.githubusercontent.com/wiki/bchavez/RethinkDb.Driver/logo.png - https://github.com/bchavez/RethinkDb.Driver - https://raw.githubusercontent.com/bchavez/RethinkDb.Driver/master/LICENSE - git - https://github.com/bchavez/RethinkDb.Driver - - true - false - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - - - $(DefineConstants);STANDARD - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.csproj.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.csproj.meta deleted file mode 100644 index 48de53542..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.csproj.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ccd26d30308e3de449c758dc41125bbc -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.ruleset b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.ruleset deleted file mode 100644 index aefb0f998..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.ruleset +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.ruleset.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.ruleset.meta deleted file mode 100644 index 5aa8a08f2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDb.Driver.Linq.ruleset.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4a29586679b0ef3489a21ca519dd6c41 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbGroup.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbGroup.cs deleted file mode 100644 index 490b45038..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbGroup.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.Linq; - -namespace RethinkDb.Driver.Linq -{ - public class RethinkDbGroup : IGrouping - { - public IEnumerator GetEnumerator() - { - return Reduction.GetEnumerator(); - } - - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - - public T Key { get; set; } - - public List Reduction { get; set; } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbGroup.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbGroup.cs.meta deleted file mode 100644 index 0a8dda486..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbGroup.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f4dc1e08321f5894cbc97d340d1077c3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbQueryModelVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbQueryModelVisitor.cs deleted file mode 100644 index 3892be1ab..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbQueryModelVisitor.cs +++ /dev/null @@ -1,190 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using Remotion.Linq; -using Remotion.Linq.Clauses; -using Remotion.Linq.Clauses.Expressions; -using Remotion.Linq.Clauses.ResultOperators; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Linq.Attributes; -using RethinkDb.Driver.Linq.WhereClauseParsers; -using ExpressionVisitor = RethinkDb.Driver.Linq.WhereClauseParsers.ExpressionVisitor; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Linq -{ - public class RethinkDbQueryModelVisitor : QueryModelVisitorBase - { - private readonly Table _table; - - public ReqlAst Query => Stack.Peek(); - public Stack Stack = new Stack(); - - public RethinkDbQueryModelVisitor( Table table ) - { - _table = table; - } - - public override void VisitQueryModel( QueryModel queryModel ) - { - Stack.Push( _table ); - base.VisitQueryModel( queryModel ); - } - - public override void VisitMainFromClause( MainFromClause fromClause, QueryModel queryModel ) - { - var subQuery = fromClause.FromExpression as SubQueryExpression; - if( subQuery != null ) - { - var query = subQuery.QueryModel; - VisitBodyClauses( query.BodyClauses, query ); - base.VisitMainFromClause( fromClause, queryModel ); - } - - base.VisitMainFromClause( fromClause, queryModel ); - } - - public override void VisitWhereClause( WhereClause whereClause, QueryModel queryModel, int index ) - { - var expressions = SplitWhereClause( whereClause.Predicate ); - - foreach( var expression in expressions.ToList() ) - { - var whereClauseParsers = new List - { - new GroupItemsParser(), - new PrimaryIndexParser(), - new SecondaryIndexParser(), - new DefaultParser() - }; - - var reql = Stack.Pop(); - var matchingParser = whereClauseParsers.FirstOrDefault( x => x.IsAppropriate( reql, expression, queryModel.ResultTypeOverride ) ); - if( matchingParser != null ) - Stack.Push( matchingParser.Parse( reql, queryModel, expression ) ); - else - throw new NotSupportedException( "Unable to vist Where clause" ); - } - } - - private static IEnumerable SplitWhereClause( Expression predicate ) - { - if( predicate.NodeType != ExpressionType.AndAlso ) - { - yield return predicate; - yield break; - } - - var binaryExpression = predicate as BinaryExpression; - if( binaryExpression == null ) - yield break; - - - foreach( var expression in SplitWhereClause( binaryExpression.Left ) ) - yield return expression; - yield return binaryExpression.Right; - } - - private static ReqlExpr GetSelectReqlAst( Expression selector ) - { - var visitor = new SelectionProjector(); - visitor.Visit( selector ); - return visitor.Current; - } - - public override void VisitOrderByClause( OrderByClause orderByClause, QueryModel queryModel, int index ) - { - var expression = orderByClause.Orderings[0].Expression as MemberExpression; - if( expression == null ) - return; - - OrderBy reql; - var currentStack = Stack.Pop(); - var memberName = QueryHelper.GetJsonMemberName( expression.Member ); - if( orderByClause.Orderings[0].OrderingDirection == OrderingDirection.Asc ) - reql = currentStack.OrderBy( memberName ); - else - reql = currentStack.OrderBy( RethinkDB.R.Desc( memberName ) ); - - if( currentStack is Table && expression.Member.CustomAttributes.Any( x => x.AttributeType == typeof( PrimaryIndexAttribute ) || x.AttributeType == typeof( SecondaryIndexAttribute ) ) ) - reql = reql.OptArg( "index", memberName ); - - Stack.Push( reql ); - } - - public override void VisitSelectClause( SelectClause selectClause, QueryModel queryModel ) - { - if( queryModel.ResultOperators.FirstOrDefault() is AverageResultOperator ) - { - var memberExpression = selectClause.Selector as MemberExpression; - var memberNameResolver = new MemberNameResolver( memberExpression ); - Stack.Push( Stack.Pop().Avg( x => memberNameResolver.Resolve( x ) ) ); - return; - } - - if( queryModel.ResultOperators.FirstOrDefault() is CountResultOperator ) - { - Stack.Push( Stack.Pop().Count( ) ); - return; - } - - var expr = GetSelectReqlAst( selectClause.Selector ); - if( !ReferenceEquals( expr, null ) ) - { - - } - - base.VisitSelectClause( selectClause, queryModel ); - } - - protected override void VisitBodyClauses( ObservableCollection bodyClauses, QueryModel queryModel ) - { - if( queryModel.ResultTypeOverride.GetTypeInfo().IsGenericTypeDefinition && queryModel.ResultTypeOverride.GetGenericArguments()[0].GetGenericTypeDefinition() != typeof( IGrouping<,> ) ) - { - base.VisitBodyClauses( bodyClauses, queryModel ); - return; - } - - var group = queryModel.ResultOperators.FirstOrDefault() as GroupResultOperator; - if( group == null ) - { - base.VisitBodyClauses( bodyClauses, queryModel ); - return; - } - - - var keySelector = (MemberExpression)group.KeySelector; - var groupReql = Stack.Pop().Group( QueryHelper.GetJsonMemberName( keySelector.Member ) ); - - var memberAccess = group.ElementSelector as MemberExpression; - Stack.Push( memberAccess != null ? groupReql.GetField( QueryHelper.GetJsonMemberName( memberAccess.Member ) ).Ungroup() : groupReql.Ungroup() ); - } - - public override void VisitResultOperator( ResultOperatorBase resultOperator, QueryModel queryModel, int index ) - { - if( resultOperator is AnyResultOperator ) - Stack.Push( Stack.Pop().Count() ); - else if( resultOperator is AllResultOperator ) - { - var allResultOperator = resultOperator as AllResultOperator; - Stack.Push( Stack.Pop().Filter( x => GetWhereReqlAst( x, allResultOperator.Predicate ).Not() ).Count() ); - } - else if( resultOperator is FirstResultOperator ) - Stack.Push( Stack.Pop().Nth( 0 ) ); - else if( resultOperator is LastResultOperator ) - Stack.Push( Stack.Pop().Nth( -1 ) ); - - base.VisitResultOperator( resultOperator, queryModel, index ); - } - - private static ReqlExpr GetWhereReqlAst( ReqlExpr reqlExpr, Expression predicate ) - { - var visitor = new ExpressionVisitor( reqlExpr, typeof( bool ) ); - visitor.Visit( predicate ); - return visitor.Current; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbQueryModelVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbQueryModelVisitor.cs.meta deleted file mode 100644 index f39b74c06..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkDbQueryModelVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ff262bcd2f16e574686b6a9cbf453bf7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryExecutor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryExecutor.cs deleted file mode 100644 index baf594002..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryExecutor.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using Remotion.Linq; -using Remotion.Linq.Clauses.ResultOperators; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Net; - -namespace RethinkDb.Driver.Linq -{ - public class RethinkQueryExecutor : IQueryExecutor - { - private readonly Table table; - private readonly IConnection connection; - - public RethinkQueryExecutor( Table table, IConnection connection ) - { - this.table = table; - this.connection = connection; - } - - protected virtual void ProcessQuery( ReqlAst query ) - { - - } - - public T ExecuteScalar( QueryModel queryModel ) - { - var visitor = new RethinkDbQueryModelVisitor( table ); - - visitor.VisitQueryModel( queryModel ); - - var query = visitor.Query; - ProcessQuery( query ); - - var result = query.Run( connection ); - - if( queryModel.ResultOperators.FirstOrDefault() is AnyResultOperator ) - return result > 0; - if( queryModel.ResultOperators.FirstOrDefault() is AllResultOperator ) - return result == 0; - - return (T)result; - } - - - - public T ExecuteSingle( QueryModel queryModel, bool returnDefaultWhenEmpty ) - { - var visitor = new RethinkDbQueryModelVisitor( table ); - - visitor.VisitQueryModel( queryModel ); - - var query = visitor.Query; - ProcessQuery( query ); - - try - { - return query.RunResult( connection ); - } - catch( ReqlNonExistenceError ex ) - { - if( ShouldReturnDefault( queryModel ) ) - return default( T ); - throw new InvalidOperationException( ex.Message ); - } - } - - private static bool ShouldReturnDefault( QueryModel queryModel ) - { - var firstResultOperator = queryModel.ResultOperators.FirstOrDefault(); - return ( firstResultOperator as FirstResultOperator )?.ReturnDefaultWhenEmpty - ?? ( firstResultOperator as LastResultOperator )?.ReturnDefaultWhenEmpty - ?? false; - } - - public IEnumerable ExecuteCollection( QueryModel queryModel ) - { - var visitor = new RethinkDbQueryModelVisitor( table ); - - visitor.VisitQueryModel( queryModel ); - - var query = visitor.Query; - ProcessQuery( query ); - - if( typeof(T).GetTypeInfo().IsGenericType && typeof(T).GetGenericTypeDefinition() == typeof(IGrouping<,>) ) - { - - return typeof(RethinkQueryExecutor) - .GetMethod(nameof(DeserializeGrouping), - BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.DeclaredOnly) - .MakeGenericMethod( - typeof(T).GetGenericArguments()[0], - typeof(T).GetGenericArguments()[1]) - .Invoke(null, new object[] - { - query.Run(connection) as JArray - }) as IEnumerable; - } - - if( query is Get ) - { - return new List - { - query.RunResult(connection) - }; - } - - return query.RunResult>( connection ); - } - - private static List> DeserializeGrouping( JArray groups ) - { - var result = new List>(); - - foreach( var group in groups ) - { - var groupArray = (JObject)group; - result.Add( new RethinkDbGroup - { - Key = groupArray["group"].ToObject(), - Reduction = JsonConvert.DeserializeObject>( groupArray["reduction"].ToString() ) - } ); - } - - return result; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryExecutor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryExecutor.cs.meta deleted file mode 100644 index d6dbac478..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryExecutor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 28b39bfa0ac130949b5d48021a4edf10 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryable.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryable.cs deleted file mode 100644 index 1e1eaf580..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryable.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Linq; -using System.Linq.Expressions; -using Remotion.Linq; -using Remotion.Linq.Parsing.Structure; - -namespace RethinkDb.Driver.Linq -{ - public class RethinkQueryable : QueryableBase - { - public RethinkQueryable( IQueryParser queryParser, IQueryExecutor executor ) : base( queryParser, executor ) - { - } - - public RethinkQueryable( IQueryProvider provider ) : base( provider ) - { - } - - public RethinkQueryable( IQueryProvider provider, Expression expression ) : base( provider, expression ) - { - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryable.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryable.cs.meta deleted file mode 100644 index 27781bf38..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/RethinkQueryable.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 30f22ad9c416ee6428e4bc7c1aff8cb0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/SelectionProjector.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/SelectionProjector.cs deleted file mode 100644 index 27dbae98c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/SelectionProjector.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using Remotion.Linq.Clauses.Expressions; -using Remotion.Linq.Parsing; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq -{ - public class SelectionProjector : ThrowingExpressionVisitor - { - private readonly Stack _stack = new Stack(); - - public ReqlExpr Current => _stack.Count > 0 ? _stack.Peek() : null; - - protected override Exception CreateUnhandledItemException( T unhandledItem, string visitMethod ) - { - throw new NotImplementedException(); - } - - protected override Expression VisitQuerySourceReference( QuerySourceReferenceExpression expression ) - { - return expression; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/SelectionProjector.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/SelectionProjector.cs.meta deleted file mode 100644 index d36a09024..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/SelectionProjector.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e51a9e666bbd9484f94c924bb2310d16 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers.meta deleted file mode 100644 index e2987b4f5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5b588de5b68f5314d9eb711c7e248322 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/BaseIndexParser.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/BaseIndexParser.cs deleted file mode 100644 index 6414ba506..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/BaseIndexParser.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Linq; -using System.Linq.Expressions; -using Remotion.Linq; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers -{ - public abstract class BaseIndexParser : IWhereClauseParser - { - public bool IsAppropriate( ReqlAst reql, Expression expression, Type resultType ) - { - var binaryExpression = expression as BinaryExpression; - - if( !( reql is Table ) || binaryExpression?.NodeType != ExpressionType.Equal ) - return false; - - var left = binaryExpression.Left as MemberExpression; - if( left != null ) - return IsIndex( left ); - - var right = binaryExpression.Right as MemberExpression; - - return right != null && IsIndex( right ); - } - - private static bool IsIndex( MemberExpression left ) - { - return left.Member.CustomAttributes.Any( x => x.AttributeType == typeof( T ) ); - } - - public abstract ReqlExpr Parse( ReqlExpr expression, QueryModel queryModel, Expression predicate ); - - protected static object GetValue( BinaryExpression binaryExpression ) - { - var left = binaryExpression.Left as ConstantExpression; - return left != null ? left.Value : ( (ConstantExpression)binaryExpression.Right ).Value; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/BaseIndexParser.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/BaseIndexParser.cs.meta deleted file mode 100644 index dda83ab81..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/BaseIndexParser.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 40d9953e7cea4ff4da4a1a50a3c01de9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/DefaultParser.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/DefaultParser.cs deleted file mode 100644 index ba1dc8417..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/DefaultParser.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Linq.Expressions; -using System.Reflection; -using Remotion.Linq; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers -{ - public class DefaultParser : IWhereClauseParser - { - public bool IsAppropriate( ReqlAst reql, Expression expression, Type resultType ) => true; - - public ReqlExpr Parse( ReqlExpr expression, QueryModel queryModel, Expression predicate ) - { - return expression.Filter( reqlExpr => GetWhereReqlAst( reqlExpr, predicate, queryModel ) ); - } - - private static ReqlExpr GetWhereReqlAst( ReqlExpr reqlExpr, Expression predicate, QueryModel queryModel ) - { - var visitor = new ExpressionVisitor( reqlExpr, GetResultType( queryModel ) ); - visitor.Visit( predicate ); - return visitor.Current; - } - - private static Type GetResultType( QueryModel queryModel ) - { - if( !queryModel.ResultTypeOverride.GetTypeInfo().IsGenericType ) - return queryModel.ResultTypeOverride; - return queryModel.ResultTypeOverride.GetTypeInfo().GenericTypeArguments[0]; - } - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/DefaultParser.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/DefaultParser.cs.meta deleted file mode 100644 index eca98496b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/DefaultParser.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 86144ea44b1a9f54d8828051a8230119 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExprHelper.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExprHelper.cs deleted file mode 100644 index ae469f4d4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExprHelper.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using System.Linq.Expressions; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers -{ - public static class ExprHelper - { - public static ReqlExpr TranslateUnary( ExpressionType type, ReqlExpr term ) - { - switch( type ) - { - case ExpressionType.Not: - return term.Not(); - default: - throw new NotSupportedException( "Unary term not supported." ); - } - } - - public static ReqlExpr TranslateBinary( ExpressionType type, ReqlExpr left, ReqlExpr right ) - { - switch( type ) - { - case ExpressionType.Equal: - return left.Eq( right ); - case ExpressionType.NotEqual: - return left.Eq( right ).Not(); - case ExpressionType.LessThan: - return left.Lt( right ); - case ExpressionType.LessThanOrEqual: - return left.Le( right ); - case ExpressionType.GreaterThan: - return left.Gt( right ); - case ExpressionType.GreaterThanOrEqual: - return left.Ge( right ); - case ExpressionType.And: - case ExpressionType.AndAlso: - return left.And( right ); - case ExpressionType.Or: - case ExpressionType.OrElse: - return left.Or( right ); - case ExpressionType.Not: - throw new InvalidOperationException( "ExpresionType:Not cannot be called on a binary translation." ); - case ExpressionType.Add: - return left.Add( right ); - case ExpressionType.Subtract: - return left.Sub( right ); - case ExpressionType.Multiply: - return left.Mul( right ); - case ExpressionType.Divide: - return left.Div( right ); - case ExpressionType.Modulo: - return left.Mod( right ); - default: - throw new NotSupportedException( "Binary expression not supported." ); - } - } - - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExprHelper.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExprHelper.cs.meta deleted file mode 100644 index a829321c3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExprHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fc0cb29a01a918646a8592cf88c954f7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExpressionVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExpressionVisitor.cs deleted file mode 100644 index 389bd7965..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExpressionVisitor.cs +++ /dev/null @@ -1,111 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using Remotion.Linq.Clauses.Expressions; -using Remotion.Linq.Parsing; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers -{ - public class ExpressionVisitor : ThrowingExpressionVisitor - { - private readonly ReqlExpr _reqlExpr; - private readonly Type _type; - private readonly Stack _stack = new Stack(); - - public ExpressionVisitor( ReqlExpr reqlExpr, Type type ) - { - _type = type; - _reqlExpr = reqlExpr; - } - - public ReqlExpr Current => _stack.Peek(); - - protected override Exception CreateUnhandledItemException( T unhandledItem, string visitMethod ) - { - string itemText = unhandledItem.ToString(); - var message = $"The expression '{itemText}' (type: {typeof( T )}) is not supported by RethinkDB LINQ provider."; - return new NotSupportedException( message ); - } - - private ReqlExpr VistSide( Expression expression ) - { - if( expression.NodeType == ExpressionType.Extension && expression is QuerySourceReferenceExpression ) - return _reqlExpr; - Visit( expression ); - return _stack.Pop(); - } - - protected override Expression VisitBinary( BinaryExpression expression ) - { - var left = VistSide( expression.Left ); - var right = VistSide( expression.Right ); - - var operation = ExprHelper.TranslateBinary( expression.NodeType, left, right ); - _stack.Push( operation ); - - return expression; - } - - protected override Expression VisitUnary( UnaryExpression expression ) - { - if( expression.NodeType == ExpressionType.Not ) - { - Visit( expression.Operand ); - _stack.Push( _stack.Pop().Not() ); - return null; - } - return base.VisitUnary( expression ); - } - - protected override Expression VisitConstant( ConstantExpression expression ) - { - var datum = Util.ToReqlExpr( expression.Value ); - _stack.Push( datum ); - return expression; - } - - protected override Expression VisitMember( MemberExpression expression ) - { - Visit( expression.Expression ); - - var fieldName = expression.Member.Name; - if( _type.GetTypeInfo().IsGenericType && _type.GetGenericTypeDefinition() == typeof( IGrouping<,> ) && fieldName == "Key" ) - _stack.Push( _reqlExpr["group"] ); - else - { - var memberNameResolver = new MemberNameResolver( expression ); - _stack.Push( memberNameResolver.Resolve( _reqlExpr ) ); - } - - return expression; - } - - protected override Expression VisitSubQuery( SubQueryExpression expression ) - { - var subQueryVisitors = new List - { - new AnySubQueryVisitor(), - new AllSubQueryVisitor(), - new FirstAndLastSubQueryVisitor(), - new CountSubQueryVisitor(), - new ContainsSubQueryVisitor() - }; - - var subQueryVisitor = subQueryVisitors.FirstOrDefault( x => x.CanVisit( expression.QueryModel ) ); - - if( subQueryVisitor == null ) throw new NotSupportedException( "subqueries not allowed ." ); - - _stack.Push( subQueryVisitor.Visit( _reqlExpr, expression.QueryModel ) ); - return null; - } - - protected override Expression VisitQuerySourceReference( QuerySourceReferenceExpression expression ) - { - return expression; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExpressionVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExpressionVisitor.cs.meta deleted file mode 100644 index d730d876b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/ExpressionVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f9875af41ba85e742beeddccd1b460ea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/GroupItemsParser.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/GroupItemsParser.cs deleted file mode 100644 index e8c23a9e5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/GroupItemsParser.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using Remotion.Linq; -using Remotion.Linq.Clauses; -using Remotion.Linq.Clauses.Expressions; -using Remotion.Linq.Clauses.ResultOperators; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers -{ - public class GroupItemsParser : IWhereClauseParser - { - public bool IsAppropriate( ReqlAst reql, Expression expression, Type resultType ) - { - var subQueryExpression = expression as SubQueryExpression; - if( subQueryExpression == null ) - return false; - - var type = subQueryExpression.QueryModel.MainFromClause.FromExpression.Type; - - if( type.GetTypeInfo().IsGenericType - && type.GetGenericTypeDefinition() == typeof( IGrouping<,> ) ) - { - if( subQueryExpression.QueryModel.ResultOperators[0] is AnyResultOperator ) - return true; - throw new NotImplementedException( "This filter is not supported for GroupBy" ); - } - - return false; - } - - public ReqlExpr Parse( ReqlExpr expression, QueryModel queryModel, Expression predicate ) - { - return expression.Filter( x => x["reduction"].Contains( reqlExpr => GetWhereReqlAst( reqlExpr, predicate ) ) ); - } - - private static ReqlExpr GetWhereReqlAst( ReqlExpr reqlExpr, Expression predicate ) - { - var subQueryExpression = predicate as SubQueryExpression; - var where = subQueryExpression.QueryModel.BodyClauses[0] as WhereClause; - - var visitor = new ExpressionVisitor( reqlExpr, subQueryExpression.QueryModel.MainFromClause.ItemType ); - visitor.Visit( where.Predicate ); - return visitor.Current; - } - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/GroupItemsParser.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/GroupItemsParser.cs.meta deleted file mode 100644 index 4b07acbfc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/GroupItemsParser.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bae9ddf53cce69543be098c155e50c24 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/IWhereClauseParser.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/IWhereClauseParser.cs deleted file mode 100644 index e3a96ec69..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/IWhereClauseParser.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Linq.Expressions; -using Remotion.Linq; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers -{ - public interface IWhereClauseParser - { - bool IsAppropriate( ReqlAst reql, Expression expression, Type resultType ); - ReqlExpr Parse( ReqlExpr expression, QueryModel queryModel, Expression predicate ); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/IWhereClauseParser.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/IWhereClauseParser.cs.meta deleted file mode 100644 index d7806e679..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/IWhereClauseParser.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5e2c572257c646e42abea70e540719e5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/PrimaryIndexParser.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/PrimaryIndexParser.cs deleted file mode 100644 index fd394a734..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/PrimaryIndexParser.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Linq.Expressions; -using Remotion.Linq; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Linq.Attributes; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers -{ - public class PrimaryIndexParser : BaseIndexParser - { - public override ReqlExpr Parse( ReqlExpr expression, QueryModel queryModel, Expression predicate ) - { - var binaryExpression = (BinaryExpression)predicate; - var value = GetValue( binaryExpression ); - - return ( (Table)expression ).Get( value ); - } - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/PrimaryIndexParser.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/PrimaryIndexParser.cs.meta deleted file mode 100644 index a75850ec6..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/PrimaryIndexParser.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 14365077527b4b348b68c74cd25ea232 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SecondaryIndexParser.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SecondaryIndexParser.cs deleted file mode 100644 index 83eefeb11..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SecondaryIndexParser.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Linq.Expressions; -using Remotion.Linq; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Linq.Attributes; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers -{ - public class SecondaryIndexParser : BaseIndexParser - { - public override ReqlExpr Parse( ReqlExpr expression, QueryModel queryModel, Expression predicate ) - { - var binaryExpression = (BinaryExpression)predicate; - var value = GetValue( binaryExpression ); - - return ( (Table)expression ).GetAll( value ).OptArg( "index", GetIndexName( binaryExpression ) ); - } - - private static string GetIndexName( BinaryExpression binaryExpression ) - { - var left = binaryExpression.Left as MemberExpression; - var memberExpression = left ?? ( (MemberExpression)binaryExpression.Right ); - return QueryHelper.GetJsonMemberName( memberExpression.Member ); - } - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SecondaryIndexParser.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SecondaryIndexParser.cs.meta deleted file mode 100644 index c2341f4f2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SecondaryIndexParser.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b3abba98413de94ba476d5d649d5605 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor.meta deleted file mode 100644 index a812dcd25..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 85dec746696fa1d46aa7a4d74a50272a -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AllSubQueryVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AllSubQueryVisitor.cs deleted file mode 100644 index bf4c3487b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AllSubQueryVisitor.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System.Linq.Expressions; -using Remotion.Linq; -using Remotion.Linq.Clauses.ResultOperators; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor -{ - public class AllSubQueryVisitor : BaseSubQueryVisitor - { - public override ReqlExpr Visit( ReqlExpr reqlExpr, QueryModel queryModel ) - { - var fromExpression = queryModel.MainFromClause.FromExpression as MemberExpression; - var memberNameResolver = new MemberNameResolver( fromExpression ); - reqlExpr = memberNameResolver.Resolve( reqlExpr ); - reqlExpr = reqlExpr.Filter( expr => GetWhereReqlAst( expr, ( (AllResultOperator)queryModel.ResultOperators[0] ).Predicate, queryModel ).Not() ); - return reqlExpr.Count().Eq( 0 ); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AllSubQueryVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AllSubQueryVisitor.cs.meta deleted file mode 100644 index 39b8115ad..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AllSubQueryVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1d0bf98818a618e44895a5207ab54668 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AnySubQueryVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AnySubQueryVisitor.cs deleted file mode 100644 index b312a7b9c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AnySubQueryVisitor.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Remotion.Linq; -using Remotion.Linq.Clauses.ResultOperators; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor -{ - public class AnySubQueryVisitor : BaseFilterableSubQueryVisitor - { - protected override ReqlExpr BuildReql( ReqlExpr reqlExpr, QueryModel queryModel ) => reqlExpr.Count().Gt( 0 ); - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AnySubQueryVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AnySubQueryVisitor.cs.meta deleted file mode 100644 index bd53ba4a9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/AnySubQueryVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4128f9aaf789fd84d9283d76c74428a5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseFilterableSubQueryVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseFilterableSubQueryVisitor.cs deleted file mode 100644 index 322de169f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseFilterableSubQueryVisitor.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Linq; -using System.Linq.Expressions; -using Remotion.Linq; -using Remotion.Linq.Clauses; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor -{ - public abstract class BaseFilterableSubQueryVisitor : BaseSubQueryVisitor - { - public override ReqlExpr Visit( ReqlExpr reqlExpr, QueryModel queryModel ) - { - var fromExpression = queryModel.MainFromClause.FromExpression as MemberExpression; - var memberNameResolver = new MemberNameResolver( fromExpression ); - reqlExpr = memberNameResolver.Resolve( reqlExpr ); - if( queryModel.BodyClauses.Any() ) - reqlExpr = reqlExpr.Filter( expr => GetWhereReqlAst( expr, ( (WhereClause)queryModel.BodyClauses[0] ).Predicate, queryModel ) ); - return BuildReql( reqlExpr, queryModel ); - } - - protected abstract ReqlExpr BuildReql( ReqlExpr reqlExpr, QueryModel queryModel ); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseFilterableSubQueryVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseFilterableSubQueryVisitor.cs.meta deleted file mode 100644 index eabe830cd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseFilterableSubQueryVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 44789e40a3709604581ae5adcaf85635 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseSubQueryVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseSubQueryVisitor.cs deleted file mode 100644 index b0511e959..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseSubQueryVisitor.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using Remotion.Linq; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor -{ - public abstract class BaseSubQueryVisitor : ISubQueryVisitor - { - protected static ReqlExpr GetWhereReqlAst( ReqlExpr reqlExpr, Expression predicate, QueryModel queryModel ) - { - var visitor = new ExpressionVisitor( reqlExpr, GetResultType( queryModel ) ); - visitor.Visit( predicate ); - return visitor.Current; - } - - protected static Type GetResultType( QueryModel queryModel ) - { - if( !queryModel.ResultTypeOverride.GetTypeInfo().IsGenericType ) - return queryModel.ResultTypeOverride; - return queryModel.ResultTypeOverride.GetTypeInfo().GenericTypeArguments[0]; - } - - public virtual bool CanVisit( QueryModel queryModel ) - { - return queryModel.ResultOperators.Any( x => x is T ); - } - - public abstract ReqlExpr Visit( ReqlExpr reqlExpr, QueryModel queryModel ); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseSubQueryVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseSubQueryVisitor.cs.meta deleted file mode 100644 index 669561575..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/BaseSubQueryVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3a6871f9c44490c4ca39b77bfa55b9e8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ContainsSubQueryVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ContainsSubQueryVisitor.cs deleted file mode 100644 index 9e42d05e0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ContainsSubQueryVisitor.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Collections.Generic; -using System.Linq.Expressions; -using Remotion.Linq; -using Remotion.Linq.Clauses.ResultOperators; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor -{ - public class ContainsSubQueryVisitor : BaseSubQueryVisitor - { - public override ReqlExpr Visit( ReqlExpr reqlExpr, QueryModel queryModel ) - { - var fromExpression = queryModel.MainFromClause.FromExpression as ConstantExpression; - var array = RethinkDB.R.Expr( fromExpression.Value as IEnumerable ); - - var resultOperator = queryModel.ResultOperators[0] as ContainsResultOperator; - - var memberNameResolver = new MemberNameResolver( (MemberExpression)resultOperator.Item ); - return array.Contains( memberNameResolver.Resolve( reqlExpr ) ); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ContainsSubQueryVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ContainsSubQueryVisitor.cs.meta deleted file mode 100644 index 36caa9ef7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ContainsSubQueryVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 67ccfb3b1d003a047840914b856e8ca0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/CountSubQueryVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/CountSubQueryVisitor.cs deleted file mode 100644 index 7cc38a318..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/CountSubQueryVisitor.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Remotion.Linq; -using Remotion.Linq.Clauses.ResultOperators; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor -{ - public class CountSubQueryVisitor : BaseFilterableSubQueryVisitor - { - protected override ReqlExpr BuildReql( ReqlExpr reqlExpr, QueryModel queryModel ) => reqlExpr.Count(); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/CountSubQueryVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/CountSubQueryVisitor.cs.meta deleted file mode 100644 index 2652c436e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/CountSubQueryVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ef10c4e44e8129e46af3a951b3b93c70 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/FirstSubQueryVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/FirstSubQueryVisitor.cs deleted file mode 100644 index 44a888471..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/FirstSubQueryVisitor.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Linq; -using Remotion.Linq; -using Remotion.Linq.Clauses.ResultOperators; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor -{ - public class FirstAndLastSubQueryVisitor : BaseFilterableSubQueryVisitor - { - public override bool CanVisit( QueryModel queryModel ) - { - return queryModel.ResultOperators.Any( x => x is FirstResultOperator || x is LastResultOperator ); - } - - protected override ReqlExpr BuildReql( ReqlExpr reqlExpr, QueryModel queryModel ) - { - reqlExpr = reqlExpr.Nth( queryModel.ResultOperators[0] is FirstResultOperator ? 0 : -1 ); - var resultOperator = (ChoiceResultOperatorBase)queryModel.ResultOperators[0]; - if( resultOperator.ReturnDefaultWhenEmpty ) - reqlExpr = reqlExpr.Default_( (object)null ); - return reqlExpr; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/FirstSubQueryVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/FirstSubQueryVisitor.cs.meta deleted file mode 100644 index 83f7518e2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/FirstSubQueryVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c678f74d3d4cb2547a76ae96990b94db -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ISubQueryVisitor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ISubQueryVisitor.cs deleted file mode 100644 index 016cc33cf..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ISubQueryVisitor.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Remotion.Linq; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Linq.WhereClauseParsers.SubQueryVisitor -{ - public interface ISubQueryVisitor - { - bool CanVisit( QueryModel queryModel ); - ReqlExpr Visit( ReqlExpr reqlExpr, QueryModel queryModel ); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ISubQueryVisitor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ISubQueryVisitor.cs.meta deleted file mode 100644 index ea99d28f2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.Linq/WhereClauseParsers/SubQueryVisitor/ISubQueryVisitor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e05c835bd205def4a8157c933b5f5133 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.meta deleted file mode 100644 index db491070d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 441bcdda98c551544a4710798510ab01 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast.meta deleted file mode 100644 index c61cc09de..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b3817a16ad2ea504a9e2b2a2581b0412 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ExtensionHelper.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ExtensionHelper.cs deleted file mode 100644 index b4445cc7f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ExtensionHelper.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using Newtonsoft.Json.Linq; - -namespace RethinkDb.Driver.Ast -{ - /// - /// Extension helpers for working with the AST. - /// - public static class ExtensionHelper - { - internal static JObject ToJObject(this object anonType) - { - return anonType == null ? null : JObject.FromObject(anonType); - } - - internal static IDictionary ToDict(this object anonType) - { - return anonType == null ? null : PropertyHelper.ObjectToDictionary(anonType); - } - /// - /// Uses a collection as parameters for a method call. - /// - /// Same as calling params object[] overload. Instead of specifying each param, ICollection can be used for convenience. - public static object[] AsParams(this ICollection args) - { - return args.OfType().ToArray(); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ExtensionHelper.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ExtensionHelper.cs.meta deleted file mode 100644 index d170de9fb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ExtensionHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4a823fc8988297f4aabe8019ae3310cd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Poco.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Poco.cs deleted file mode 100644 index 06de9ec99..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Poco.cs +++ /dev/null @@ -1,45 +0,0 @@ -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Net; -using RethinkDb.Driver.Proto; - -namespace RethinkDb.Driver.Ast -{ - internal class Poco : ReqlExpr - { - private readonly object obj; - - public Poco(object obj) : base(new TermType(), null, null) - { - this.obj = obj; - } - - - internal class PocoWriter : JTokenWriter - { - public override void WriteStartArray() - { - base.WriteStartArray(); - this.WriteValue(Proto.TermType.MAKE_ARRAY); - base.WriteStartArray(); - } - - public override void WriteEndArray() - { - base.WriteEndArray(); - base.WriteEndArray(); - } - } - - - protected internal override object Build() - { - JToken token; - using( var writer = new PocoWriter() ) - { - Converter.Serializer.Serialize(writer, this.obj); - token = writer.Token; - } - return token; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Poco.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Poco.cs.meta deleted file mode 100644 index afa89e103..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Poco.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 977e5c4e6b4f6364d9f1675f07332c78 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/PropertyHelper.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/PropertyHelper.cs deleted file mode 100644 index 299502a6d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/PropertyHelper.cs +++ /dev/null @@ -1,515 +0,0 @@ -#pragma warning disable 419 - -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Reflection; - -namespace RethinkDb.Driver.Ast -{ - internal class PropertyHelper - { - // Delegate type for a by-ref property getter - private delegate TValue ByRefFunc(ref TDeclaringType arg); - - private static readonly MethodInfo CallPropertyGetterOpenGenericMethod = - typeof(PropertyHelper).GetTypeInfo().GetDeclaredMethod(nameof(CallPropertyGetter)); - - private static readonly MethodInfo CallPropertyGetterByReferenceOpenGenericMethod = - typeof(PropertyHelper).GetTypeInfo().GetDeclaredMethod(nameof(CallPropertyGetterByReference)); - - private static readonly MethodInfo CallNullSafePropertyGetterOpenGenericMethod = - typeof(PropertyHelper).GetTypeInfo().GetDeclaredMethod(nameof(CallNullSafePropertyGetter)); - - private static readonly MethodInfo CallNullSafePropertyGetterByReferenceOpenGenericMethod = - typeof(PropertyHelper).GetTypeInfo().GetDeclaredMethod(nameof(CallNullSafePropertyGetterByReference)); - - private static readonly MethodInfo CallPropertySetterOpenGenericMethod = - typeof(PropertyHelper).GetTypeInfo().GetDeclaredMethod(nameof(CallPropertySetter)); - - // Using an array rather than IEnumerable, as target will be called on the hot path numerous times. - private static readonly ConcurrentDictionary PropertiesCache = - new ConcurrentDictionary(); - - private static readonly ConcurrentDictionary VisiblePropertiesCache = - new ConcurrentDictionary(); - - private Action _valueSetter; - - /// - /// Initializes a fast . - /// This constructor does not cache the helper. For caching, use . - /// - public PropertyHelper(PropertyInfo property) - { - if( property == null ) - { - throw new ArgumentNullException(nameof(property)); - } - - Property = property; - Name = property.Name; - ValueGetter = MakeFastPropertyGetter(property); - } - - /// - /// Gets the backing . - /// - public PropertyInfo Property { get; } - - /// - /// Gets (or sets in derived types) the property name. - /// - public virtual string Name { get; protected set; } - - /// - /// Gets the property value getter. - /// - public Func ValueGetter { get; } - - /// - /// Gets the property value setter. - /// - public Action ValueSetter - { - get - { - if( _valueSetter == null ) - { - // We'll allow safe races here. - _valueSetter = MakeFastPropertySetter(Property); - } - - return _valueSetter; - } - } - - /// - /// Returns the property value for the specified . - /// - /// The object whose property value will be returned. - /// The property value. - public object GetValue(object instance) - { - return ValueGetter(instance); - } - - /// - /// Sets the property value for the specified . - /// - /// The object whose property value will be set. - /// The property value. - public void SetValue(object instance, object value) - { - ValueSetter(instance, value); - } - - /// - /// Creates and caches fast property helpers that expose getters for every public get property on the - /// underlying type. - /// - /// the instance to extract property accessors for. - /// a cached array of all public property getters from the underlying type of target instance. - /// - public static PropertyHelper[] GetProperties(object instance) - { - return GetProperties(instance.GetType()); - } - - /// - /// Creates and caches fast property helpers that expose getters for every public get property on the - /// specified type. - /// - /// the type to extract property accessors for. - /// a cached array of all public property getters from the type of target instance. - /// - public static PropertyHelper[] GetProperties(Type type) - { - return GetProperties(type, CreateInstance, PropertiesCache); - } - - /// - /// - /// Creates and caches fast property helpers that expose getters for every non-hidden get property - /// on the specified type. - /// - /// - /// excludes properties defined on base types that have been - /// hidden by definitions using the new keyword. - /// - /// - /// The instance to extract property accessors for. - /// - /// A cached array of all public property getters from the instance's type. - /// - public static PropertyHelper[] GetVisibleProperties(object instance) - { - return GetVisibleProperties(instance.GetType(), CreateInstance, PropertiesCache, VisiblePropertiesCache); - } - - /// - /// - /// Creates a caches fast property helpers that expose getters for every non-hidden get property - /// on the specified type. - /// - /// - /// excludes properties defined on base types that have been - /// hidden by definitions using the new keyword. - /// - /// - /// The type to extract property accessors for. - /// - /// A cached array of all public property getters from the type. - /// - public static PropertyHelper[] GetVisibleProperties(Type type) - { - return GetVisibleProperties(type, CreateInstance, PropertiesCache, VisiblePropertiesCache); - } - - /// - /// Creates a single fast property getter. The result is not cached. - /// - /// propertyInfo to extract the getter for. - /// a fast getter. - /// - /// This method is more memory efficient than a dynamically compiled lambda, and about the - /// same speed. - /// - public static Func MakeFastPropertyGetter(PropertyInfo propertyInfo) - { - Debug.Assert(propertyInfo != null); - - return MakeFastPropertyGetter( - propertyInfo, - CallPropertyGetterOpenGenericMethod, - CallPropertyGetterByReferenceOpenGenericMethod); - } - - /// - /// Creates a single fast property getter which is safe for a null input object. The result is not cached. - /// - /// propertyInfo to extract the getter for. - /// a fast getter. - /// - /// This method is more memory efficient than a dynamically compiled lambda, and about the - /// same speed. - /// - public static Func MakeNullSafeFastPropertyGetter(PropertyInfo propertyInfo) - { - Debug.Assert(propertyInfo != null); - - return MakeFastPropertyGetter( - propertyInfo, - CallNullSafePropertyGetterOpenGenericMethod, - CallNullSafePropertyGetterByReferenceOpenGenericMethod); - } - - private static Func MakeFastPropertyGetter( - PropertyInfo propertyInfo, - MethodInfo propertyGetterWrapperMethod, - MethodInfo propertyGetterByRefWrapperMethod) - { - Debug.Assert(propertyInfo != null); - - // Must be a generic method with a Func<,> parameter - Debug.Assert(propertyGetterWrapperMethod != null); - Debug.Assert(propertyGetterWrapperMethod.IsGenericMethodDefinition); - Debug.Assert(propertyGetterWrapperMethod.GetParameters().Length == 2); - - // Must be a generic method with a ByRefFunc<,> parameter - Debug.Assert(propertyGetterByRefWrapperMethod != null); - Debug.Assert(propertyGetterByRefWrapperMethod.IsGenericMethodDefinition); - Debug.Assert(propertyGetterByRefWrapperMethod.GetParameters().Length == 2); - - var getMethod = propertyInfo.GetMethod; - Debug.Assert(getMethod != null); - Debug.Assert(!getMethod.IsStatic); - Debug.Assert(getMethod.GetParameters().Length == 0); - - // Instance methods in the CLR can be turned into static methods where the first parameter - // is open over "target". This parameter is always passed by reference, so we have a code - // path for value types and a code path for reference types. - if( getMethod.DeclaringType.GetTypeInfo().IsValueType ) - { - // Create a delegate (ref TDeclaringType) -> TValue - return MakeFastPropertyGetter( - typeof(ByRefFunc<,>), - getMethod, - propertyGetterByRefWrapperMethod); - } - else - { - // Create a delegate TDeclaringType -> TValue - return MakeFastPropertyGetter( - typeof(Func<,>), - getMethod, - propertyGetterWrapperMethod); - } - } - - private static Func MakeFastPropertyGetter( - Type openGenericDelegateType, - MethodInfo propertyGetMethod, - MethodInfo openGenericWrapperMethod) - { - var typeInput = propertyGetMethod.DeclaringType; - var typeOutput = propertyGetMethod.ReturnType; - - var delegateType = openGenericDelegateType.MakeGenericType(typeInput, typeOutput); - var propertyGetterDelegate = propertyGetMethod.CreateDelegate(delegateType); - - var wrapperDelegateMethod = openGenericWrapperMethod.MakeGenericMethod(typeInput, typeOutput); - var accessorDelegate = wrapperDelegateMethod.CreateDelegate( - typeof(Func), - propertyGetterDelegate); - - return (Func)accessorDelegate; - } - - /// - /// Creates a single fast property setter for reference types. The result is not cached. - /// - /// propertyInfo to extract the setter for. - /// a fast getter. - /// - /// This method is more memory efficient than a dynamically compiled lambda, and about the - /// same speed. This only works for reference types. - /// - public static Action MakeFastPropertySetter(PropertyInfo propertyInfo) - { - Debug.Assert(propertyInfo != null); - Debug.Assert(!propertyInfo.DeclaringType.GetTypeInfo().IsValueType); - - var setMethod = propertyInfo.SetMethod; - Debug.Assert(setMethod != null); - Debug.Assert(!setMethod.IsStatic); - Debug.Assert(setMethod.ReturnType == typeof(void)); - var parameters = setMethod.GetParameters(); - Debug.Assert(parameters.Length == 1); - - // Instance methods in the CLR can be turned into static methods where the first parameter - // is open over "target". This parameter is always passed by reference, so we have a code - // path for value types and a code path for reference types. - var typeInput = setMethod.DeclaringType; - var parameterType = parameters[0].ParameterType; - - // Create a delegate TDeclaringType -> { TDeclaringType.Property = TValue; } - var propertySetterAsAction = - setMethod.CreateDelegate(typeof(Action<,>).MakeGenericType(typeInput, parameterType)); - var callPropertySetterClosedGenericMethod = - CallPropertySetterOpenGenericMethod.MakeGenericMethod(typeInput, parameterType); - var callPropertySetterDelegate = - callPropertySetterClosedGenericMethod.CreateDelegate( - typeof(Action), propertySetterAsAction); - - return (Action)callPropertySetterDelegate; - } - - /// - /// Given an object, adds each instance property with a public get method as a key and its - /// associated value to a dictionary. - /// - /// If the object is already an IDictionary{string,object} instance, then a copy - /// is returned. - /// - /// - /// The implementation of PropertyHelper will cache the property accessors per-type. This is - /// faster when the same type is used multiple times with ObjectToDictionary. - /// - public static IDictionary ObjectToDictionary(object value) - { - var dictionary = value as IDictionary; - if( dictionary != null ) - { - return new Dictionary(dictionary, StringComparer.OrdinalIgnoreCase); - } - - dictionary = new Dictionary(StringComparer.OrdinalIgnoreCase); - - if( value != null ) - { - foreach( var helper in GetProperties(value) ) - { - dictionary[helper.Name] = helper.GetValue(value); - } - } - - return dictionary; - } - - private static PropertyHelper CreateInstance(PropertyInfo property) - { - return new PropertyHelper(property); - } - - // Called via reflection - private static object CallPropertyGetter( - Func getter, - object target) - { - return getter((TDeclaringType)target); - } - - // Called via reflection - private static object CallPropertyGetterByReference( - ByRefFunc getter, - object target) - { - var unboxed = (TDeclaringType)target; - return getter(ref unboxed); - } - - // Called via reflection - private static object CallNullSafePropertyGetter( - Func getter, - object target) - { - if( target == null ) - { - return null; - } - - return getter((TDeclaringType)target); - } - - // Called via reflection - private static object CallNullSafePropertyGetterByReference( - ByRefFunc getter, - object target) - { - if( target == null ) - { - return null; - } - - var unboxed = (TDeclaringType)target; - return getter(ref unboxed); - } - - private static void CallPropertySetter( - Action setter, - object target, - object value) - { - setter((TDeclaringType)target, (TValue)value); - } - - protected static PropertyHelper[] GetVisibleProperties( - Type type, - Func createPropertyHelper, - ConcurrentDictionary allPropertiesCache, - ConcurrentDictionary visiblePropertiesCache) - { - PropertyHelper[] result; - if( visiblePropertiesCache.TryGetValue(type, out result) ) - { - return result; - } - - // The simple and common case, this is normal POCO object - no need to allocate. - var allPropertiesDefinedOnType = true; - var allProperties = GetProperties(type, createPropertyHelper, allPropertiesCache); - foreach( var propertyHelper in allProperties ) - { - if( propertyHelper.Property.DeclaringType != type ) - { - allPropertiesDefinedOnType = false; - break; - } - } - - if( allPropertiesDefinedOnType ) - { - result = allProperties; - visiblePropertiesCache.TryAdd(type, result); - return result; - } - - // There's some inherited properties here, so we need to check for hiding via 'new'. - var filteredProperties = new List(allProperties.Length); - foreach( var propertyHelper in allProperties ) - { - var declaringType = propertyHelper.Property.DeclaringType; - if( declaringType == type ) - { - filteredProperties.Add(propertyHelper); - continue; - } - - // If this property was declared on a base type then look for the definition closest to the - // the type to see if we should include it. - var ignoreProperty = false; - - // Walk up the hierarchy until we find the type that actually declares this - // PropertyInfo. - var currentTypeInfo = type.GetTypeInfo(); - var declaringTypeInfo = declaringType.GetTypeInfo(); - while( currentTypeInfo != null && currentTypeInfo != declaringTypeInfo ) - { - // We've found a 'more proximal' public definition - var declaredProperty = currentTypeInfo.GetDeclaredProperty(propertyHelper.Name); - if( declaredProperty != null ) - { - ignoreProperty = true; - break; - } - - currentTypeInfo = currentTypeInfo.BaseType?.GetTypeInfo(); - } - - if( !ignoreProperty ) - { - filteredProperties.Add(propertyHelper); - } - } - - result = filteredProperties.ToArray(); - visiblePropertiesCache.TryAdd(type, result); - return result; - } - - protected static PropertyHelper[] GetProperties( - Type type, - Func createPropertyHelper, - ConcurrentDictionary cache) - { - // Unwrap nullable types. This means Nullable.Value and Nullable.HasValue will not be - // part of the sequence of properties returned by this method. - type = Nullable.GetUnderlyingType(type) ?? type; - - PropertyHelper[] helpers; - if( !cache.TryGetValue(type, out helpers) ) - { - // We avoid loading indexed properties using the Where statement. - var properties = type.GetRuntimeProperties().Where(IsInterestingProperty); - - var typeInfo = type.GetTypeInfo(); - if( typeInfo.IsInterface ) - { - // Reflection does not return information about inherited properties on the interface itself. - properties = properties.Concat(typeInfo.ImplementedInterfaces.SelectMany( - interfaceType => interfaceType.GetRuntimeProperties().Where(IsInterestingProperty))); - } - - helpers = properties.Select(p => createPropertyHelper(p)).ToArray(); - cache.TryAdd(type, helpers); - } - - return helpers; - } - - // Indexed properties are not useful (or valid) for grabbing properties off an object. - private static bool IsInterestingProperty(PropertyInfo property) - { - return property.GetIndexParameters().Length == 0 && - property.GetMethod != null && - property.GetMethod.IsPublic && - !property.GetMethod.IsStatic; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/PropertyHelper.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/PropertyHelper.cs.meta deleted file mode 100644 index de9b66488..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/PropertyHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1dffb6ae397451d4984cf8a0dce3796e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Query.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Query.cs deleted file mode 100644 index d1112aa4f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Query.cs +++ /dev/null @@ -1,80 +0,0 @@ -#pragma warning disable 1591 - -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; - -namespace RethinkDb.Driver.Ast -{ - /* An instance for a query that has been sent to the server. Keeps - * track of its token, the args to .run() it was called with, and its - * query type. - */ - - /// - /// DO NOT USE DIRECTLY - /// - public class Query - { - public QueryType Type { get; } - public long Token { get; } - public ReqlAst Term { get; } - public OptArgs GlobalOptions { get; } - - public Query(QueryType type, long token, ReqlAst term, OptArgs globalOptions) - { - this.Type = type; - this.Token = token; - this.Term = term; - this.GlobalOptions = globalOptions; - } - - public Query(QueryType type, long token) : this(type, token, null, null) - { - } - - public static Query Stop(long token) - { - return new Query(QueryType.STOP, token, null, null); - } - - public static Query Continue(long token) - { - return new Query(QueryType.CONTINUE, token, null, null); - } - - public static Query Start(long token, ReqlAst term, OptArgs globalOptions) - { - return new Query(QueryType.START, token, term, globalOptions); - } - - public static Query ServerInfo(long token) - { - return new Query(QueryType.SERVER_INFO, token, null, null); - } - - public static Query NoReplyWait(long token) - { - return new Query(QueryType.NOREPLY_WAIT, token, null, null); - } - - public virtual string Serialize() - { - var queryArr = new JArray(); - - queryArr.Add(Type); - - if( Term != null ) - { - queryArr.Add(Term.Build()); - } - if( GlobalOptions != null ) - { - queryArr.Add(ReqlAst.BuildOptarg(GlobalOptions)); - } - - return queryArr.ToString(Formatting.None); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Query.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Query.cs.meta deleted file mode 100644 index 25eab489d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Query.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cef144145ff323247ab108fe4eaa76c5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlAst.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlAst.cs deleted file mode 100644 index baf9f5fdc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlAst.cs +++ /dev/null @@ -1,450 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Net; -using RethinkDb.Driver.Proto; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Ast -{ - /// - /// Base class for all reql queries. - /// - public class ReqlAst - { -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - protected internal TermType TermType { get; } - protected internal Arguments Args { get; } - protected internal OptArgs OptArgs { get; } - - protected internal ReqlAst(TermType termType, Arguments args, OptArgs optargs) - { - this.TermType = termType; - this.Args = args ?? new Arguments(); - this.OptArgs = optargs ?? new OptArgs(); - } - - protected internal virtual object Build() - { - // Create a JSON object from the Ast - JArray list = new JArray(); - list.Add(TermType); - if( Args.Count > 0 ) - { - var collect = Args.Select(a => { return a.Build(); }); - list.Add(new JArray(collect)); - } - else - { - list.Add(new JArray()); - } - - if( OptArgs.Count > 0 ) - { - list.Add(BuildOptarg(this.OptArgs)); - } - return list; - } - - protected internal static JObject BuildOptarg(OptArgs opts) - { - var dict = opts.ToDictionary(kvp => kvp.Key, kvp => kvp.Value.Build()); - return JObject.FromObject(dict); - } -#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member - - #region DYNAMIC LANGUAGE RUNTIME (DLR) RUNNERS - - /// - /// Runs the query on the connection. If you know the response type - /// of your query, T (SUCCESS_ATOM) or Cursor[T] (SUCCESS_SEQUENCE or SUCCESS_PARTIAL) - /// it's recommended to use `.RunAtom`, `.RunCursor` or `.RunResult` helpers - /// as they offer a slight edge in performance since both bypass the - /// dynamic language runtime execution engine. - /// - /// Returns T or Cursor[T] - public virtual Task RunAsync(IConnection conn, object runOpts = null, CancellationToken cancelToken = default) - { - return conn.RunAsync(this, runOpts, cancelToken); - } - - /// - /// Runs the query on the connection. If you know the response type - /// of your query, T (SUCCESS_ATOM) or Cursor[T] (SUCCESS_SEQUENCE or SUCCESS_PARTIAL) - /// it's recommended to use `.RunAtom`, `.RunCursor` or `.RunResult` helpers - /// as they offer a slight edge in performance since both bypass the - /// dynamic language runtime execution engine. - /// - /// Returns T or Cursor[T] - public virtual Task RunAsync(IConnection conn, CancellationToken cancelToken) - { - return RunAsync(conn, null, cancelToken); - } - - - /// - /// Runs the query on the connection. If you know the response type - /// of your query, T (SUCCESS_ATOM) or Cursor[T] (SUCCESS_SEQUENCE or SUCCESS_PARTIAL) - /// it's recommended to use `.RunAtom`, `.RunCursor` or `.RunResult` helpers - /// as they offer a slight edge in performance since both bypass the - /// dynamic language runtime execution engine. - /// - /// Returns T or Cursor[T] - /// /// connection - /// global anonymous type optional arguments - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task RunAsync(IConnection conn, object runOpts = null, CancellationToken cancelToken = default) - { - return RunAsync(conn, runOpts, cancelToken); - } - - /// - /// Runs the query on the connection. If you know the response type - /// of your query, T (SUCCESS_ATOM) or Cursor[T] (SUCCESS_SEQUENCE or SUCCESS_PARTIAL) - /// it's recommended to use `.RunAtom`, `.RunCursor` or `.RunResult` helpers - /// as they offer a slight edge in performance since both bypass the - /// dynamic language runtime execution engine. - /// - /// Returns T or Cursor[T] - /// /// connection - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task RunAsync(IConnection conn, CancellationToken cancelToken) - { - return RunAsync(conn, null, cancelToken); - } - - - /// - /// Runs the query on the connection. If you know the response type - /// of your query, T (SUCCESS_ATOM) or Cursor[T] (SUCCESS_SEQUENCE or SUCCESS_PARTIAL) - /// it's recommended to use `.RunAtom`, `.RunCursor` or `.RunResult` helpers - /// as they offer a slight edge in performance since both bypass the - /// dynamic language runtime execution engine. - /// - /// Returns T or Cursor[T] - public virtual dynamic Run(IConnection conn, object runOpts = null) - { - return RunAsync(conn, runOpts).WaitSync(); - } - - /// - /// Runs the query on the connection. If you know the response type - /// of your query, T (SUCCESS_ATOM) or Cursor[T] (SUCCESS_SEQUENCE or SUCCESS_PARTIAL) - /// it's recommended to use `.RunAtom`, `.RunCursor` or `.RunResult` helpers - /// as they offer a slight edge in performance since both bypass the - /// dynamic language runtime execution engine. - /// - /// Returns T or Cursor[T] - public virtual dynamic Run(IConnection conn, object runOpts = null) - { - return Run(conn, runOpts); - } - - #endregion - - #region RESPONSE TYPED RUNNERS - - /// - /// Executes a query with no expected response. Useful for fire-and-forget queries like insert, update. - /// - public void RunNoReply(IConnection conn, object runOpts = null) - { - conn.RunNoReply(this, runOpts); - } - - /// - /// Use this method if you're expecting a cursor (SUCCESS_SEQUENCE or SUCCESS_PARTIAL) response - /// from your query. This method offers a slight edge in performance without the need for the - /// dynamic language runtime like the run() method uses. - /// - /// - /// connection - /// global anonymous type optional arguments - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - /// A Cursor - public virtual Task> RunCursorAsync(IConnection conn, object runOpts = null, CancellationToken cancelToken = default) - { - return conn.RunCursorAsync(this, runOpts, cancelToken); - } - - /// - /// Use this method if you're expecting a cursor (SUCCESS_SEQUENCE or SUCCESS_PARTIAL) response - /// from your query. This method offers a slight edge in performance without the need for the - /// dynamic language runtime like the run() method uses. - /// - /// - /// connection - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - /// A Cursor - public virtual Task> RunCursorAsync(IConnection conn, CancellationToken cancelToken) - { - return RunCursorAsync(conn, null, cancelToken); - } - - /// - /// Use this method if you're expecting a cursor (SUCCESS_SEQUENCE or SUCCESS_PARTIAL) response - /// from your query. This method offers a slight edge in performance without the need for the - /// dynamic language runtime like the run() method uses. - /// - /// - /// connection - /// global anonymous type optional arguments - /// A Cursor - public virtual Cursor RunCursor(IConnection conn, object runOpts = null) - { - return RunCursorAsync(conn, runOpts).WaitSync(); - } - - /// - /// Use this method if you're expecting SUCCESS_ATOM response from your query. This - /// method offers a slight edge in performance without the need for the - /// dynamic language runtime like the run() method uses. - /// - /// connection - /// global anonymous type optional arguments - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task RunAtomAsync(IConnection conn, object runOpts = null, CancellationToken cancelToken = default) - { - return conn.RunAtomAsync(this, runOpts, cancelToken); - } - - /// - /// Use this method if you're expecting SUCCESS_ATOM response from your query. This - /// method offers a slight edge in performance without the need for the - /// dynamic language runtime like the run() method uses. - /// - /// connection - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task RunAtomAsync(IConnection conn, CancellationToken cancelToken) - { - return RunAtomAsync(conn, null, cancelToken); - } - - /// - /// Use this method if you're expecting SUCCESS_ATOM response from your query. This - /// method offers a slight edge in performance without the need for the - /// dynamic language runtime like the run() method uses. - /// - /// connection - /// global anonymous type optional arguments - public virtual T RunAtom(IConnection conn, object runOpts = null) - { - return RunAtomAsync(conn, runOpts).WaitSync(); - } - - /// - /// Use this method if you're expecting SUCCESS_ATOM or SUCCESS_SEQUENCE response from your query. This - /// method offers a slight edge in performance without the need for the - /// dynamic language runtime like the run() method uses. Consider using RunAtom or RunCursor if your - /// response is either SUCCESS_ATOM or SUCCESS_SEQUENCE respectively. Exercise caution using this method - /// with large datasets as the server can switch responses from SUCESS_SEQUENCE to SUCCESS_PARTIAL for the - /// same exact query. Refer to the online documentation for this run helper. - /// - /// connection - /// global anonymous type optional arguments - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task RunResultAsync(IConnection conn, object runOpts = null, CancellationToken cancelToken = default) - { - return conn.RunResultAsync(this, runOpts, cancelToken); - } - - /// - /// Use this method if you're expecting SUCCESS_ATOM or SUCCESS_SEQUENCE response from your query. This - /// method offers a slight edge in performance without the need for the - /// dynamic language runtime like the run() method uses. Consider using RunAtom or RunCursor if your - /// response is either SUCCESS_ATOM or SUCCESS_SEQUENCE respectively. Exercise caution using this method - /// with large datasets as the server can switch responses from SUCESS_SEQUENCE to SUCCESS_PARTIAL for the - /// same exact query. Refer to the online documentation for this run helper. - /// - /// connection - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task RunResultAsync(IConnection conn, CancellationToken cancelToken) - { - return RunResultAsync(conn, null, cancelToken); - } - - /// - /// Use this method if you're expecting SUCCESS_ATOM or SUCCESS_SEQUENCE response from your query. This - /// method offers a slight edge in performance without the need for the - /// dynamic language runtime like the run() method uses. Consider using RunAtom or RunCursor if your - /// response is either SUCCESS_ATOM or SUCCESS_SEQUENCE respectively. Exercise caution using this method - /// with large datasets as the server can switch responses from SUCESS_SEQUENCE to SUCCESS_PARTIAL for the - /// same exact query. Refer to the online documentation for this run helper. - /// - /// connection - /// global anonymous type optional arguments - public virtual T RunResult(IConnection conn, object runOpts = null) - { - return RunResultAsync(conn, runOpts).WaitSync(); - } - - #endregion - - #region EXTRA RUN HELPERS - - /// - /// OBSOLETE: Please use the .RunWriteAsync() method instead. - /// - [Obsolete("The .RunResultAsync() method has been renamed to .RunWriteAsync(). Please use the new method name instead.", error: false)] - public virtual Task RunResultAsync(IConnection conn, object runOpts = null, CancellationToken cancelToken = default) - { - return RunWriteAsync(conn, runOpts, cancelToken); - } - - /// - /// OBSOLETE: Please use .RunWriteAsync() method instead. - /// - [Obsolete("The .RunResultAsync() method has been renamed to .RunWriteAsync(). Please use the new method name instead.", error: false)] - public virtual Task RunResultAsync(IConnection conn, CancellationToken cancelToken) - { - return RunWriteAsync(conn, null, cancelToken); - } - - /// - /// OBSOLETE: Please use .RunWrite() method instead. - /// - [Obsolete("The .RunResult() method has been renamed to .RunWrite(). Please use the new method name instead.", error: false)] - public virtual Result RunResult(IConnection conn, object runOpts = null) - { - return RunWriteAsync(conn, runOpts).WaitSync(); - } - - - /// - /// Helper shortcut for DML type of queries that returns # of inserts, deletes, errors. - /// This method bypasses the dynamic language runtime for extra performance. - /// - /// connection - /// global anonymous type optional arguments - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task RunWriteAsync(IConnection conn, object runOpts = null, CancellationToken cancelToken = default) - { - return conn.RunAtomAsync(this, runOpts, cancelToken); - } - - /// - /// Helper shortcut for DML type of queries that returns # of inserts, deletes, errors. - /// This method bypasses the dynamic language runtime for extra performance. - /// - /// connection - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task RunWriteAsync(IConnection conn, CancellationToken cancelToken) - { - return RunWriteAsync(conn, null, cancelToken); - } - - /// - /// Helper shortcut for DML type of queries that returns # of inserts, deletes, errors. - /// This method bypasses the dynamic language runtime for extra performance. - /// - /// connection - /// global anonymous type optional arguments - public virtual Result RunWrite(IConnection conn, object runOpts = null) - { - return RunWriteAsync(conn, runOpts).WaitSync(); - } - - - - /// - /// Runs a query on the server and returns the raw object in an unsafe way - /// with minimal client-side processing. The unbridled use of this method can - /// lead to memory leaks on both the client and server. This method should only - /// be used in well-understood and advanced scenarios. - /// - /// The connection object - /// global anonymous type optional arguments - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task RunUnsafeAsync(IConnection conn, object runOpts = null, CancellationToken cancelToken = default) - { - return conn.RunUnsafeAsync(this, runOpts, cancelToken); - } - - - - /// - /// Helper shortcut for change feeds, use if your query is expecting an infinite changes() stream. - /// This method bypasses the dynamic language runtime for extra performance. - /// - /// The document type of new/old value - /// connection - /// global anonymous type optional arguments - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task>> RunChangesAsync(IConnection conn, object runOpts = null, CancellationToken cancelToken = default) - { - return conn.RunCursorAsync>(this, runOpts, cancelToken); - } - - /// - /// Helper shortcut for change feeds, use if your query is expecting an infinite changes() stream. - /// This method bypasses the dynamic language runtime for extra performance. - /// - /// The document type of new/old value - /// connection - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task>> RunChangesAsync(IConnection conn, CancellationToken cancelToken) - { - return RunChangesAsync(conn, null, cancelToken); - } - - /// - /// Helper shortcut for change feeds, use if your query is expecting an infinite changes() stream. - /// This method bypasses the dynamic language runtime for extra performance. - /// - /// The document type of new/old value - /// connection - /// global anonymous type optional arguments - public virtual Cursor> RunChanges(IConnection conn, object runOpts = null) - { - return RunChangesAsync(conn, runOpts).WaitSync(); - } - - #endregion - - /// - /// Helper shortcut for grouping queries. - /// This method bypasses the dynamic language runtime for extra performance. - /// - /// The key type of how items are grouped - /// The type of items - /// connection - /// global anonymous type optional arguments - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual async Task>> RunGroupingAsync(IConnection conn, object runOpts = null, - CancellationToken cancelToken = default) - { - var tsk = await RunAtomAsync>(conn, runOpts, cancelToken).ConfigureAwait(false); - return tsk; - } - - /// - /// Helper shortcut for grouping queries. - /// This method bypasses the dynamic language runtime for extra performance. - /// - /// The key type of how items are grouped - /// The type of items - /// connection - /// Cancellation token used to stop *waiting* for a query response. The cancellation token does not cancel the query's execution on the server. - public virtual Task>> RunGroupingAsync(IConnection conn, CancellationToken cancelToken) - { - return RunGroupingAsync(conn, null, cancelToken); - } - - /// - /// Helper shortcut for grouping queries. - /// This method bypasses the dynamic language runtime for extra performance. - /// - /// The key type of how items are grouped - /// The type of items - /// connection - /// global anonymous type optional arguments - public virtual IEnumerable> RunGrouping(IConnection conn, object runOpts = null) - { - return RunAtomAsync>(conn, runOpts).WaitSync(); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlAst.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlAst.cs.meta deleted file mode 100644 index 100799dd3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlAst.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 525d7b2d52e0ac044a7b5761bed6ef78 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlExpr.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlExpr.cs deleted file mode 100644 index e5736f887..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlExpr.cs +++ /dev/null @@ -1,194 +0,0 @@ -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member - - -using System; - -namespace RethinkDb.Driver.Ast -{ - //Partial class for overloads expression overloads! :) - //Cool man. Yeeah. That's right. So 1337. -#pragma warning disable 660,661 - public partial class ReqlExpr -#pragma warning restore 660,661 - { - #region INDEXERS, READ WARNING - // WARNING: - // ANY ADDITIONAL INDEXERS YOU SPECIFY HERE MUST BE NEWLY - // IMPLEMENTED IN THE AST SUBCLASS TEMPLATE TO BE PROPERLY - // RESOLVED DURING OPERATOR RESOLUTION. REGEN OF THE AST - // IS REQUIRED. - // - // SEE ReqlExprHelpers SECTION IN AstSublcassTemplate FOR - // MORE INFORMATION. - /// - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public Bracket this[string bracket] => this.bracket(bracket); - - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public Bracket this[int bracket] => this.bracket(bracket); - #endregion - - public static ReqlExpr operator >(ReqlExpr a, ReqlExpr b) - { - return a.gt(b); - } - - public static ReqlExpr operator <(ReqlExpr a, ReqlExpr b) - { - return a.lt(b); - } - - public static ReqlExpr operator >=(ReqlExpr a, ReqlExpr b) - { - return a.ge(b); - } - - public static ReqlExpr operator <=(ReqlExpr a, ReqlExpr b) - { - return a.le(b); - } - - public static ReqlExpr operator ==(ReqlExpr a, ReqlExpr b) - { - return a.eq(b); - } - - public static ReqlExpr operator !=(ReqlExpr a, ReqlExpr b) - { - return a.ne(b); - } - - public static ReqlExpr operator +(ReqlExpr a, ReqlExpr b) - { - return a.add(b); - } - - public static ReqlExpr operator -(ReqlExpr a, ReqlExpr b) - { - return a.sub(b); - } - - public static ReqlExpr operator *(ReqlExpr a, ReqlExpr b) - { - return a.mul(b); - } - - public static ReqlExpr operator /(ReqlExpr a, ReqlExpr b) - { - return a.div(b); - } - - public static ReqlExpr operator %(ReqlExpr a, ReqlExpr b) - { - return a.mod(b); - } - - public static ReqlExpr operator !(ReqlExpr a) - { - return a.not(); - } - - - //&& and || might be a bit tricky here. - public static bool operator false(ReqlExpr a) - { - return false; - } - - public static bool operator true(ReqlExpr a) - { - return false; //forces evaluation of & and | ? - //this might be a bug here. - } - - public static ReqlExpr operator &(ReqlExpr a, ReqlExpr b) - { - return a.and(b); - } - - public static ReqlExpr operator |(ReqlExpr a, ReqlExpr b) - { - return a.or(b); - } - - - //Can we do implicit operators??? - public static implicit operator ReqlExpr(string a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(int a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(uint a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(byte a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(sbyte a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(long a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(ulong a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(double a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(decimal a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(float a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(DateTime a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(DateTimeOffset a) - { - return Util.ToReqlExpr(a); - } - - public static implicit operator ReqlExpr(Delegate a) - { - return Util.ToReqlExpr(a); - } - - public string ToRawString() - { - return ReqlRaw.ToRawString(this); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlExpr.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlExpr.cs.meta deleted file mode 100644 index 95a9e383a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlExpr.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 32b53a1e5fbf70e48bd6200f09e30341 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlRaw.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlRaw.cs deleted file mode 100644 index f6ee2ac9b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlRaw.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; - -namespace RethinkDb.Driver.Ast -{ - /// - /// Used to inject raw protocol strings when the AST is dumped on the wire. - /// - public class ReqlRawExpr : ReqlExpr - { - private string RawProtocol { get; } - - /// - /// Create an AST mid-flight with the raw protocol string. - /// - /// Raw protocol string from ReqlAst.Build() - internal ReqlRawExpr(string rawProtocol) : base(new TermType(), null, null) - { - this.RawProtocol = rawProtocol; - } - - /// - /// Return the JToken representation of the raw protocol - /// - protected internal override object Build() - { - return JToken.Parse(this.RawProtocol); - } - } - - /// - /// Used to inject raw protocol strings when the AST is dumped on the wire. - /// - public class ReqlRaw : ReqlAst - { - private string RawProtocol { get; } - - /// - /// Create an AST mid-flight with the raw protocol string. - /// - /// Raw protocol string from ReqlAst.Build() - internal ReqlRaw(string rawProtocol) : base(new TermType(), null, null) - { - this.RawProtocol = rawProtocol; - } - - /// - /// Return the JToken representation of the raw protocol - /// - protected internal override object Build() - { - return JToken.Parse(this.RawProtocol); - } - - private const string RawTokenType = "$reql_reqlraw$"; - - /// - /// Convert an AST item into a raw protocol string representation. - /// Useful for serialization. - /// - /// Can be anything, ReqlFunction or otherwise - public static string ToRawString(object astItem) - { - var list = new List(); - var token = Util.ToReqlAst(astItem, o => HookFuncTypes(o, list)).Build() as JToken; - var query = token.ToString(Formatting.None); - //pack - return $"{string.Join("|", list)}{RawTokenType}{query}"; - } - - internal static string HydrateProtocolString(string reqlRawString) - { - var tokenLocation = reqlRawString.IndexOf(RawTokenType, StringComparison.Ordinal); - var guidStrings = reqlRawString.Substring(0, tokenLocation); - var query = reqlRawString.Substring(tokenLocation + RawTokenType.Length); - - //unpack - var replaceTokens = guidStrings.Split('|') - .Select(g => new { GuidString = $@"""{g}""", VarId = Func.NextVarId() }); - - foreach (var token in replaceTokens) - { - query = query.Replace(token.GuidString, token.VarId.ToString()); - } - return query; - } - - /// - /// Convert a raw protocol string into an AST term that will - /// be injected when the AST is serialized. - /// - /// The raw protocol string to inject - /// A raw AST term - public static ReqlRaw FromRawString(string reqlRawString) - { - var query = HydrateProtocolString(reqlRawString); - return new ReqlRaw(query); - } - - - private static ReqlAst HookFuncTypes(object val, List context) - { - var del = val as Delegate; - if( del != null ) - { - return Func.Serialize(del, context); - } - return null; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlRaw.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlRaw.cs.meta deleted file mode 100644 index d1a88c50c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/ReqlRaw.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 97581729a9e4faf43bd2272864fd6bc7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/TopLevel.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/TopLevel.cs deleted file mode 100644 index 6c122e254..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/TopLevel.cs +++ /dev/null @@ -1,52 +0,0 @@ -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member - -using System; -using RethinkDb.Driver.Net.JsonConverters; - -namespace RethinkDb.Driver.Ast -{ - public partial class TopLevel - { - /// - /// Type-safe helper method for R.Iso8601 - /// - public Iso8601 Iso8601(DateTime? datetime) - { - var str = datetime?.ToString("o"); - return Ast.Iso8601.FromString(str); - } - /// - /// Type-safe helper method for R.Iso8601 - /// - public Iso8601 Iso8601(DateTimeOffset? datetime) - { - var str = datetime?.ToString("o"); - return Ast.Iso8601.FromString(str); - } - - /// - /// Type-safe helper for R.EpochTime - /// - public EpochTime EpochTime(DateTime? datetime) - { - var ticks = datetime?.ToUniversalTime().Ticks; - var epoch = ReqlDateTimeConverter.ToUnixTime(ticks.Value); - return EpochTime(epoch); - } - /// - /// Type-safe helper for R.EpochTime - /// - public EpochTime EpochTime(DateTimeOffset? datetime) - { - var ticks = datetime?.UtcTicks; - var epoch = ReqlDateTimeConverter.ToUnixTime(ticks.Value); - return EpochTime(epoch); - } - - public ReqlRawExpr FromRawString(string reqlRawString) - { - var rawProtocol = ReqlRaw.HydrateProtocolString(reqlRawString); - return new ReqlRawExpr(rawProtocol); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/TopLevel.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/TopLevel.cs.meta deleted file mode 100644 index 10461235b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/TopLevel.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d17489d39926b8b4096c3d0f3d00600c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Util.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Util.cs deleted file mode 100644 index b4ccaa637..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Util.cs +++ /dev/null @@ -1,142 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Model; - -namespace RethinkDb.Driver.Ast -{ - internal static class Util - { - public static ReqlAst ToReqlAst(object val) - { - return ToReqlAst(val, 100, null); - } - public static ReqlAst ToReqlAst(object val, Func hook) - { - return ToReqlAst(val, 100, hook); - } - - public static ReqlExpr ToReqlExpr(object val) - { - var converted = ToReqlAst(val); - var reqlAst = converted as ReqlExpr; - if( !ReferenceEquals(reqlAst, null) ) - { - return reqlAst; - } - throw new ReqlDriverError($"Cannot convert {val} to ReqlExpr"); - } - - private static ReqlAst ToReqlAst(object val, int remainingDepth, Func hook = null ) - { - if( remainingDepth <= 0 ) - { - throw new ReqlDriverCompileError("Recursion limit reached converting to ReqlAst"); - } - if( hook != null ) - { - var converted = hook(val); - if( !ReferenceEquals(converted, null) ) - { - return converted; - } - } - var ast = val as ReqlAst; - if( !ReferenceEquals(ast, null) ) - { - return ast; - } - - if( val is JToken token ) - { - return new Poco(token); - } - - if( val is IList lst ) - { - Arguments innerValues = new Arguments(); - foreach( object innerValue in lst ) - { - innerValues.Add(ToReqlAst(innerValue, remainingDepth - 1)); - } - return new MakeArray(innerValues, null); - } - - if( val is IDictionary dict ) - { - var obj = new Dictionary(); - foreach( var keyObj in dict.Keys ) - { - var key = keyObj as string; - if( key == null ) - { - throw new ReqlDriverCompileError("Object keys can only be strings"); - } - - obj[key] = ToReqlAst(dict[keyObj]); - } - return MakeObj.fromMap(obj); - } - - if( val is Delegate del ) - { - return Func.FromLambda(del); - } - - var dt = val as DateTime?; - if( dt != null ) - { - return new Poco(dt); - } - var dto = val as DateTimeOffset?; - if( dto != null ) - { - return new Poco(dto); - } - - var @int = val as int?; - if( @int != null ) - { - return new Datum(@int); - } - - if( IsNumber(val) ) - { - return new Datum(val); - } - - var @bool = val as bool?; - if( @bool != null ) - { - return new Datum(@bool); - } - - if( val is string str ) - { - return new Datum(str); - } - if( val == null ) - { - return new Datum(null); - } - - return new Poco(val); - } - - public static bool IsNumber(object value) - { - return value is sbyte - || value is byte //maybe have char here? - || value is short - || value is ushort - || value is int - || value is uint - || value is long - || value is ulong - || value is float - || value is double - || value is decimal; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Util.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Util.cs.meta deleted file mode 100644 index e51235ee0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Ast/Util.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 82410c8fb9920e940aa61c94125dd688 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ErrorBuilder.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ErrorBuilder.cs deleted file mode 100644 index edea9ca7b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ErrorBuilder.cs +++ /dev/null @@ -1,95 +0,0 @@ -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; - -namespace RethinkDb.Driver -{ - internal class ErrorBuilder - { - internal string Msg { get; } - internal ResponseType? ResponseType { get; } - internal Backtrace Backtrace { get; set; } - internal ErrorType? ErrorType { get; set; } - internal ReqlAst Term { get; set; } - - public ErrorBuilder(string msg, ResponseType responseType) - { - this.Msg = msg; - this.ResponseType = responseType; - } - - public virtual ErrorBuilder SetBacktrace(Backtrace backtrace) - { - this.Backtrace = backtrace; - return this; - } - - public virtual ErrorBuilder SetErrorType(ErrorType errorType) - { - this.ErrorType = errorType; - return this; - } - - public virtual ErrorBuilder SetTerm(Query query) - { - this.Term = query.Term; - return this; - } - - public virtual ReqlError Build() - { - ReqlError con; - switch( ResponseType ) - { - case Proto.ResponseType.CLIENT_ERROR: - con = new ReqlClientError(Msg); - break; - case Proto.ResponseType.COMPILE_ERROR: - con = new ReqlServerCompileError(Msg); - break; - case Proto.ResponseType.RUNTIME_ERROR: - { - switch( ErrorType ) - { - case Proto.ErrorType.INTERNAL: - con = new ReqlInternalError(Msg); - break; - case Proto.ErrorType.RESOURCE_LIMIT: - con = new ReqlResourceLimitError(Msg); - break; - case Proto.ErrorType.QUERY_LOGIC: - con = new ReqlQueryLogicError(Msg); - break; - case Proto.ErrorType.NON_EXISTENCE: - con = new ReqlNonExistenceError(Msg); - break; - case Proto.ErrorType.OP_FAILED: - con = new ReqlOpFailedError(Msg); - break; - case Proto.ErrorType.OP_INDETERMINATE: - con = new ReqlOpIndeterminateError(Msg); - break; - case Proto.ErrorType.USER: - con = new ReqlUserError(Msg); - break; - case Proto.ErrorType.PERMISSION_ERROR: - con = new ReqlPermissionError(Msg); - break; - default: - con = new ReqlRuntimeError(Msg); - break; - } - break; - } - default: - con = new ReqlError(Msg); - break; - } - - con.Backtrace = this.Backtrace; - con.Term = this.Term; - - return con; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ErrorBuilder.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ErrorBuilder.cs.meta deleted file mode 100644 index 97d912f0c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ErrorBuilder.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0c527493cc42ca048966cf4d2da9aed2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras.meta deleted file mode 100644 index ce26d6ca0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bdf576eeb0526ec4aad06928661a909c -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao.meta deleted file mode 100644 index fa21658d7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 67b37b717eafc6542b57ccd0eb51a695 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/Document.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/Document.cs deleted file mode 100644 index 13a6c37a3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/Document.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Newtonsoft.Json; - -namespace RethinkDb.Driver.Extras.Dao -{ - /// - /// Interface for Document of IdT - /// - /// Type of ID property - public interface IDocument - { - /// - /// The Id of the document - /// - IdT Id { get; set; } - } - - /// - /// All Documents (aka. domain objects / entities) should derive from Document of IdT - /// - /// Type of Id property - public abstract class Document : IDocument - { - /// - /// The Id of the document - /// - [JsonProperty("id", - NullValueHandling = NullValueHandling.Ignore, - DefaultValueHandling = DefaultValueHandling.Ignore)] - public virtual IdT Id { get; set; } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/Document.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/Document.cs.meta deleted file mode 100644 index 4df300d2a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/Document.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 09071cad0d60ac147aa6867358676b9e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/IDao.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/IDao.cs deleted file mode 100644 index 7a582d779..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/IDao.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System.Threading.Tasks; - -namespace RethinkDb.Driver.Extras.Dao -{ - /// - /// Document Access Object interface - /// - /// Document entity - /// Type of Id property - public interface IDao - { - /// - /// Get a document by Id. - /// - T GetById(IdT id); - - /// - /// Get a document by Id. - /// - Task GetByIdAsync(IdT id); - - ///// - ///// Get all documents by Id - ///// - ///// The Ids of the documents - //IEnumerable GetAllById(params IdT[] ids); - - /// - /// Save document. If the document exists, an exception will be thrown. Returns and deserializes the returned document. - /// - /// Returns and deserializes the returned document - T Save(T doc); - - /// - /// Save document. If the document exists, an exception will be thrown. Returns and deserializes the returned document. - /// - /// Returns and deserializes the returned document - Task SaveAsync(T doc); - - /// - /// Updates an existing document. If the document does not exist, an exception will be thrown. - /// - void Update(T doc); - - /// - /// Updates an existing document. If the document does not exist, an exception will be thrown. - /// - Task UpdateAsync(T doc); - - /// - /// Saves or updates a document. If the document doesn't exist, it will be saved. If the document exists, it will be updated. - /// - /// - T SaveOrUpdate(T doc); - - /// - /// Saves or updates a document. If the document doesn't exist, it will be saved. If the document exists, it will be updated. - /// - /// - Task SaveOrUpdateAsync(T doc); - - /// - /// Deletes a document. - /// - void Delete(T doc); - - /// - /// Deletes a document. - /// - Task DeleteAsync(T doc); - - /// - /// Delete a document by Id. - /// - /// - void DeleteById(IdT id); - - /// - /// Delete a document by Id. - /// - /// - Task DeleteByIdAsync(IdT id); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/IDao.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/IDao.cs.meta deleted file mode 100644 index 7511d5c5b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/IDao.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b2c7d437869a40c418b05f65cff8eb6f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/RethinkDao.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/RethinkDao.cs deleted file mode 100644 index 1299146fd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/RethinkDao.cs +++ /dev/null @@ -1,209 +0,0 @@ -using System.Threading.Tasks; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Net; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Extras.Dao -{ - /// - /// Generic Document Access Object for RethinkDB - /// - /// Type of Document (aka. domain object / entity) - /// The type of the Id property in Document - public abstract class RethinkDao : IDao where T : IDocument - { - /// - /// RethinkDB query root. - /// - protected static readonly RethinkDB R = RethinkDB.R; - /// - /// RethinkDB connection - /// - protected readonly IConnection conn; - /// - /// RethinkDB database name - /// - protected readonly string DbName; - /// - /// RethinkDB table name - /// - protected readonly string TableName; - /// - /// Table AST term used to build queries stating at the table term. - /// - protected readonly Table Table; - - private readonly object returnChanges; - - /// - /// Constructor for - /// - /// The connection - /// The database - /// The table - protected RethinkDao(IConnection conn, string dbName, string tableName) - { - this.conn = conn; - this.DbName = dbName; - this.TableName = tableName; - this.Table = R.Db(dbName).Table(tableName); - - this.returnChanges = new { return_changes = true}; - } - - /// - /// Get a document by Id. - /// - public virtual T GetById(IdT id) - { - return GetByIdAsync(id).WaitSync(); - } - - /// - /// Get a document by Id. - /// - public virtual Task GetByIdAsync(IdT id) - { - return this.Table.Get(id).RunAtomAsync(conn); - } - - - /// - /// Save document. If the document exists, an exception will be thrown. Returns and deserializes the returned document. - /// - /// Returns and deserializes the returned document - public virtual T Save(T doc) - { - return SaveAsync(doc).WaitSync(); - } - - /// - /// Save document. If the document exists, an exception will be thrown. Returns and deserializes the returned document. - /// - /// Returns and deserializes the returned document - public virtual async Task SaveAsync(T doc) - { - var result = await this.Table - .Insert(doc)[returnChanges].OptArg("conflict", "error") - .RunWriteAsync(conn) - .ConfigureAwait(false); - - result.AssertNoErrors(); - result.AssertInserted(1); - return result.ChangesAs()[0].NewValue; - } - - /// - /// Updates an existing document. If the document does not exist, an exception will be thrown. - /// - public virtual void Update(T doc) - { - //var result = this.Table - // .Get(doc.Id) - // .Update(doc) - // .RunResult(conn); - - //var result = this.Table - // .Replace(doc) - // .RunResult(conn); - - //var result = this.Table - // .Get(doc.Id) - // .Replace(dbDoc => - // R.Branch(dbDoc == null, - // R.Error("The document doesn't exist"), - // doc - // )).RunResult(conn); - - UpdateAsync(doc).WaitSync(); - } - - /// - /// Updates an existing document. If the document does not exist, an exception will be thrown. - /// - public virtual async Task UpdateAsync(T doc) - { - var result = await this.Table - .GetAll(doc.Id).OptArg("index", "id") - .Replace(doc) - .RunWriteAsync(conn) - .ConfigureAwait(false); - - result.AssertNoErrors(); - result.AssertReplaced(1); - } - - /// - /// Saves or updates a document. If the document doesn't exist, it will be saved. If the document exists, it will be updated. - /// - /// - public virtual T SaveOrUpdate(T doc) - { - return SaveOrUpdateAsync(doc).WaitSync(); - } - - /// - /// Saves or updates a document. If the document doesn't exist, it will be saved. If the document exists, it will be updated. - /// - /// - public virtual async Task SaveOrUpdateAsync(T doc) - { - var result = await this.Table - .Insert(doc)[returnChanges].OptArg("conflict", "replace") - .RunWriteAsync(conn) - .ConfigureAwait(false); - - result.AssertNoErrors(); - - if (result.Inserted != 0) - { - result.AssertInserted(1); - return result.ChangesAs()[0].NewValue; - } - if (result.Replaced != 0) - { - result.AssertReplaced(1); - return result.ChangesAs()[0].NewValue; - } - throw new ReqlAssertFailure($"{nameof(SaveOrUpdate)} failed."); - } - - /// - /// Deletes a document. - /// - public virtual void Delete(T doc) - { - DeleteAsync(doc).WaitSync(); - } - - /// - /// Deletes a document. - /// - public virtual Task DeleteAsync(T doc) - { - return DeleteByIdAsync(doc.Id); - } - - /// - /// Delete a document by Id. - /// - /// - public virtual void DeleteById(IdT id) - { - DeleteByIdAsync(id).WaitSync(); - } - - /// - /// Delete a document by Id. - /// - /// - public virtual async Task DeleteByIdAsync(IdT id) - { - var result = await this.Table.Get(id).Delete() - .RunWriteAsync(conn) - .ConfigureAwait(false); - result.AssertDeleted(1); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/RethinkDao.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/RethinkDao.cs.meta deleted file mode 100644 index afe7385cd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Extras/Dao/RethinkDao.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 45ae3fa4f7844354da676c3514ffd884 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated.meta deleted file mode 100644 index a13ed0f64..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 79d0998775a84784eaa71b9cea3eda20 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast.meta deleted file mode 100644 index cf950dd98..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1dfaee0af6b1bf140b15b8040457e585 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Add.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Add.cs deleted file mode 100644 index 332e8388c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Add.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Add : ReqlExpr { - - - - -/// -/// Sum two or more numbers, or concatenate two or more strings or arrays. -/// -/// Example: It's as easy as 2 + 2 = 4. -/// > r.expr(2).add(2).run(conn, callback) -/// // result passed to callback -/// 4 -/// - public Add (object arg) : this(new Arguments(arg), null) { - } -/// -/// Sum two or more numbers, or concatenate two or more strings or arrays. -/// -/// Example: It's as easy as 2 + 2 = 4. -/// > r.expr(2).add(2).run(conn, callback) -/// // result passed to callback -/// 4 -/// - public Add (Arguments args) : this(args, null) { - } -/// -/// Sum two or more numbers, or concatenate two or more strings or arrays. -/// -/// Example: It's as easy as 2 + 2 = 4. -/// > r.expr(2).add(2).run(conn, callback) -/// // result passed to callback -/// 4 -/// - public Add (Arguments args, OptArgs optargs) - : base(TermType.ADD, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Add.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Add.cs.meta deleted file mode 100644 index fa3a5ae17..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Add.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 465c0991b25e7044385435b80b91ab43 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/And.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/And.cs deleted file mode 100644 index 9844514c1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/And.cs +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class And : ReqlExpr { - - - - -/// -/// Compute the logical "and" of one or more values. -/// -/// Example: Return whether both a and b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).and(b).run(conn, callback); -/// // result passed to callback -/// false -/// - public And (object arg) : this(new Arguments(arg), null) { - } -/// -/// Compute the logical "and" of one or more values. -/// -/// Example: Return whether both a and b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).and(b).run(conn, callback); -/// // result passed to callback -/// false -/// - public And (Arguments args) : this(args, null) { - } -/// -/// Compute the logical "and" of one or more values. -/// -/// Example: Return whether both a and b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).and(b).run(conn, callback); -/// // result passed to callback -/// false -/// - public And (Arguments args, OptArgs optargs) - : base(TermType.AND, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/And.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/And.cs.meta deleted file mode 100644 index 2933c9f84..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/And.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fc869d802abbc534a8808262584a7047 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Append.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Append.cs deleted file mode 100644 index 87418a054..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Append.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Append : ReqlExpr { - - - - -/// -/// Append a value to an array. -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').append('newBoots').run(conn, callback) -/// - public Append (object arg) : this(new Arguments(arg), null) { - } -/// -/// Append a value to an array. -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').append('newBoots').run(conn, callback) -/// - public Append (Arguments args) : this(args, null) { - } -/// -/// Append a value to an array. -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').append('newBoots').run(conn, callback) -/// - public Append (Arguments args, OptArgs optargs) - : base(TermType.APPEND, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Append.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Append.cs.meta deleted file mode 100644 index f5b5c1c02..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Append.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ba1741c071b147146b5aad68fac3a849 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/April.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/April.cs deleted file mode 100644 index 2f5ac26f7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/April.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class April : ReqlExpr { - - - - - public April (object arg) : this(new Arguments(arg), null) { - } - public April (Arguments args) : this(args, null) { - } - public April (Arguments args, OptArgs optargs) - : base(TermType.APRIL, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/April.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/April.cs.meta deleted file mode 100644 index 2064d849b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/April.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f12ae87b2a23d454cae2209e9a3b0a8f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Args.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Args.cs deleted file mode 100644 index 46b3d744d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Args.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Args : ReqlExpr { - - - - -/// -/// r.args is a special term that's used to splice an array of arguments -/// into another term. This is useful when you want to call a variadic -/// term such as getAll with a set of arguments produced at runtime. -/// -/// Example: Get Alice and Bob from the table people. -/// r.table('people').getAll('Alice', 'Bob').run(conn, callback) -/// // or -/// r.table('people').getAll(r.args(['Alice', 'Bob'])).run(conn, callback) -/// - public Args (object arg) : this(new Arguments(arg), null) { - } -/// -/// r.args is a special term that's used to splice an array of arguments -/// into another term. This is useful when you want to call a variadic -/// term such as getAll with a set of arguments produced at runtime. -/// -/// Example: Get Alice and Bob from the table people. -/// r.table('people').getAll('Alice', 'Bob').run(conn, callback) -/// // or -/// r.table('people').getAll(r.args(['Alice', 'Bob'])).run(conn, callback) -/// - public Args (Arguments args) : this(args, null) { - } -/// -/// r.args is a special term that's used to splice an array of arguments -/// into another term. This is useful when you want to call a variadic -/// term such as getAll with a set of arguments produced at runtime. -/// -/// Example: Get Alice and Bob from the table people. -/// r.table('people').getAll('Alice', 'Bob').run(conn, callback) -/// // or -/// r.table('people').getAll(r.args(['Alice', 'Bob'])).run(conn, callback) -/// - public Args (Arguments args, OptArgs optargs) - : base(TermType.ARGS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Args.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Args.cs.meta deleted file mode 100644 index fb2af690f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Args.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 38738fd8ca104444f9473c2f23941efe -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Asc.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Asc.cs deleted file mode 100644 index b9f0f8b85..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Asc.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Asc : ReqlExpr { - - - - - public Asc (object arg) : this(new Arguments(arg), null) { - } - public Asc (Arguments args) : this(args, null) { - } - public Asc (Arguments args, OptArgs optargs) - : base(TermType.ASC, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Asc.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Asc.cs.meta deleted file mode 100644 index 5ec69c7fd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Asc.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: aa697ab4c4aa52e46874a867edc7aeb5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/August.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/August.cs deleted file mode 100644 index 7eec44064..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/August.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class August : ReqlExpr { - - - - - public August (object arg) : this(new Arguments(arg), null) { - } - public August (Arguments args) : this(args, null) { - } - public August (Arguments args, OptArgs optargs) - : base(TermType.AUGUST, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/August.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/August.cs.meta deleted file mode 100644 index fcfcec2e4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/August.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3cf9cf35938ba744a8bd9960478087c6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Avg.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Avg.cs deleted file mode 100644 index 68889d228..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Avg.cs +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Avg : ReqlExpr { - - - - -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg (object arg) : this(new Arguments(arg), null) { - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg (Arguments args) : this(args, null) { - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg (Arguments args, OptArgs optargs) - : base(TermType.AVG, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Avg.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Avg.cs.meta deleted file mode 100644 index 7b9f8001b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Avg.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4051480d1182c4a4eb5cfc50fd022d5b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Between.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Between.cs deleted file mode 100644 index 7850edacc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Between.cs +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Between : ReqlExpr { - - - - -/// -/// Get all documents between two keys. Accepts three optional arguments: index, leftBound, and rightBound. If index is set to the name of a secondary index, between will return all documents where that index's value is in the specified range (it uses the primary key by default). leftBound or rightBound may be set to open or closed to indicate whether or not to include that endpoint of the range (by default, leftBound is closed and rightBound is open). -/// -/// Example: Find all users with primary key >= 10 and < 20 (a normal half-open interval). -/// r.table('marvel').between(10, 20).run(conn, callback); -/// - public Between (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get all documents between two keys. Accepts three optional arguments: index, leftBound, and rightBound. If index is set to the name of a secondary index, between will return all documents where that index's value is in the specified range (it uses the primary key by default). leftBound or rightBound may be set to open or closed to indicate whether or not to include that endpoint of the range (by default, leftBound is closed and rightBound is open). -/// -/// Example: Find all users with primary key >= 10 and < 20 (a normal half-open interval). -/// r.table('marvel').between(10, 20).run(conn, callback); -/// - public Between (Arguments args) : this(args, null) { - } -/// -/// Get all documents between two keys. Accepts three optional arguments: index, leftBound, and rightBound. If index is set to the name of a secondary index, between will return all documents where that index's value is in the specified range (it uses the primary key by default). leftBound or rightBound may be set to open or closed to indicate whether or not to include that endpoint of the range (by default, leftBound is closed and rightBound is open). -/// -/// Example: Find all users with primary key >= 10 and < 20 (a normal half-open interval). -/// r.table('marvel').between(10, 20).run(conn, callback); -/// - public Between (Arguments args, OptArgs optargs) - : base(TermType.BETWEEN, args, optargs) { - } - - - - - - - -/// -/// "index": "T_STR", -/// "left_bound": "E_BOUND", -/// "right_bound": "E_BOUND" -/// - public Between this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Between (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR", -/// "left_bound": "E_BOUND", -/// "right_bound": "E_BOUND" -/// - public Between this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Between (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR", -/// "left_bound": "E_BOUND", -/// "right_bound": "E_BOUND" -/// - public Between OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Between (this.Args, newOptArgs); - } - internal Between optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Between.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Between.cs.meta deleted file mode 100644 index 5d83d92dc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Between.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7d82803a53fcb744b990bc45411897d5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Binary.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Binary.cs deleted file mode 100644 index 9dd8e1dfb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Binary.cs +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - using RethinkDb.Driver.Net; - using Newtonsoft.Json.Linq; - - -namespace RethinkDb.Driver.Ast { - - public partial class Binary : ReqlExpr { - - - byte[] b64Data = null; - - - - public Binary (byte[] bytes) : this(new Arguments()){ - b64Data = bytes; - } - public Binary (Object arg) : this(new Arguments(arg), null) { - - } - public Binary (Arguments args) : this(args, null){ - - } - public Binary (Arguments args, OptArgs optargs) : this(TermType.BINARY, args, optargs) { - - } - protected Binary (TermType termType, Arguments args, OptArgs optargs) : base(termType, args, optargs){ - - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - - - - - - - - - - - - protected internal override object Build() { - if( b64Data != null){ - return JObject.FromObject(b64Data, Converter.Serializer); - } - else{ - return base.Build(); - } - } - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Binary.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Binary.cs.meta deleted file mode 100644 index 1a90c4881..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Binary.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: eeec98913b0f76947a1700dc6c948a11 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Bracket.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Bracket.cs deleted file mode 100644 index e4f20a0ba..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Bracket.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Bracket : ReqlExpr { - - - - -/// -/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. -/// -/// Example: What was Iron Man's first appearance in a comic? -/// r.table('marvel').get('IronMan')('firstAppearance').run(conn, callback) -/// - public Bracket (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. -/// -/// Example: What was Iron Man's first appearance in a comic? -/// r.table('marvel').get('IronMan')('firstAppearance').run(conn, callback) -/// - public Bracket (Arguments args) : this(args, null) { - } -/// -/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. -/// -/// Example: What was Iron Man's first appearance in a comic? -/// r.table('marvel').get('IronMan')('firstAppearance').run(conn, callback) -/// - public Bracket (Arguments args, OptArgs optargs) - : base(TermType.BRACKET, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Bracket.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Bracket.cs.meta deleted file mode 100644 index 17b1ae946..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Bracket.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 85e518f86fcdb7740b26bcfd79228796 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Branch.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Branch.cs deleted file mode 100644 index 7bc320fcb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Branch.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Branch : ReqlExpr { - - - - -/// -/// Perform a branching conditional equivalent to if-then-else. -/// The branch command takes 2n+1 arguments: pairs of conditional expressions and commands to be executed if the conditionals return any value but false or null (i.e., "truthy" values), with a final "else" command to be evaluated if all of the conditionals are false or null. -/// -/// Example: Test the value of x. -/// var x = 10; -/// r.branch(r.expr(x).gt(5), 'big', 'small').run(conn, callback); -/// // Result passed to callback -/// "big" -/// - public Branch (object arg) : this(new Arguments(arg), null) { - } -/// -/// Perform a branching conditional equivalent to if-then-else. -/// The branch command takes 2n+1 arguments: pairs of conditional expressions and commands to be executed if the conditionals return any value but false or null (i.e., "truthy" values), with a final "else" command to be evaluated if all of the conditionals are false or null. -/// -/// Example: Test the value of x. -/// var x = 10; -/// r.branch(r.expr(x).gt(5), 'big', 'small').run(conn, callback); -/// // Result passed to callback -/// "big" -/// - public Branch (Arguments args) : this(args, null) { - } -/// -/// Perform a branching conditional equivalent to if-then-else. -/// The branch command takes 2n+1 arguments: pairs of conditional expressions and commands to be executed if the conditionals return any value but false or null (i.e., "truthy" values), with a final "else" command to be evaluated if all of the conditionals are false or null. -/// -/// Example: Test the value of x. -/// var x = 10; -/// r.branch(r.expr(x).gt(5), 'big', 'small').run(conn, callback); -/// // Result passed to callback -/// "big" -/// - public Branch (Arguments args, OptArgs optargs) - : base(TermType.BRANCH, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Branch.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Branch.cs.meta deleted file mode 100644 index af4b52e73..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Branch.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7128464e5d72b744ab1bdb56ad23e1be -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ceil.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ceil.cs deleted file mode 100644 index 40b636d01..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ceil.cs +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Ceil : ReqlExpr { - - - - -/// -/// Rounds the given value up, returning the smallest integer value greater than or equal to the given value (the value's ceiling). -/// -/// Example: Return the ceiling of 12.345. -/// r.ceil(12.345).run(conn, callback); -/// // Result passed to callback -/// 13.0 -/// -/// The ceil command can also be chained after an expression. - public Ceil (object arg) : this(new Arguments(arg), null) { - } -/// -/// Rounds the given value up, returning the smallest integer value greater than or equal to the given value (the value's ceiling). -/// -/// Example: Return the ceiling of 12.345. -/// r.ceil(12.345).run(conn, callback); -/// // Result passed to callback -/// 13.0 -/// -/// The ceil command can also be chained after an expression. - public Ceil (Arguments args) : this(args, null) { - } -/// -/// Rounds the given value up, returning the smallest integer value greater than or equal to the given value (the value's ceiling). -/// -/// Example: Return the ceiling of 12.345. -/// r.ceil(12.345).run(conn, callback); -/// // Result passed to callback -/// 13.0 -/// -/// The ceil command can also be chained after an expression. - public Ceil (Arguments args, OptArgs optargs) - : base(TermType.CEIL, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ceil.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ceil.cs.meta deleted file mode 100644 index fe9592aaa..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ceil.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a93426b03697df541ba28166ed585a23 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ChangeAt.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ChangeAt.cs deleted file mode 100644 index 20c15a3f1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ChangeAt.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class ChangeAt : ReqlExpr { - - - - -/// -/// Change a value in an array at a given index. Returns the modified array. -/// -/// Example: Bruce Banner hulks out. -/// r.expr(["Iron Man", "Bruce", "Spider-Man"]).changeAt(1, "Hulk").run(conn, callback) -/// - public ChangeAt (object arg) : this(new Arguments(arg), null) { - } -/// -/// Change a value in an array at a given index. Returns the modified array. -/// -/// Example: Bruce Banner hulks out. -/// r.expr(["Iron Man", "Bruce", "Spider-Man"]).changeAt(1, "Hulk").run(conn, callback) -/// - public ChangeAt (Arguments args) : this(args, null) { - } -/// -/// Change a value in an array at a given index. Returns the modified array. -/// -/// Example: Bruce Banner hulks out. -/// r.expr(["Iron Man", "Bruce", "Spider-Man"]).changeAt(1, "Hulk").run(conn, callback) -/// - public ChangeAt (Arguments args, OptArgs optargs) - : base(TermType.CHANGE_AT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ChangeAt.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ChangeAt.cs.meta deleted file mode 100644 index c46e4a5be..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ChangeAt.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5e4aedd14cf06524e8b89fdccc7a987a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Changes.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Changes.cs deleted file mode 100644 index 20a6051f7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Changes.cs +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Changes : ReqlExpr { - - - - -/// -/// Turn a query into a changefeed, an infinite stream of objects representing changes to the query's results as they occur. A changefeed may return changes to a table or an individual document (a "point" changefeed). Commands such as filter or map may be used before the changes command to transform or filter the output, and many commands that operate on sequences can be chained after changes. -/// -/// Example: Subscribe to the changes on a table. -/// Start monitoring the changefeed in one client: -/// r.table('games').changes().run(conn, function(err, cursor) { -/// cursor.each(console.log); -/// }); -/// -/// As these queries are performed in a second client, the first -/// client would receive and print the following objects: -/// > r.table('games').insert({id: 1}).run(conn, callback); -/// {old_val: null, new_val: {id: 1}} -/// -/// > r.table('games').get(1).update({player1: 'Bob'}).run(conn, callback); -/// {old_val: {id: 1}, new_val: {id: 1, player1: 'Bob'}} -/// -/// > r.table('games').get(1).replace({id: 1, player1: 'Bob', player2: 'Alice'}).run(conn, callback); -/// {old_val: {id: 1, player1: 'Bob'}, -/// new_val: {id: 1, player1: 'Bob', player2: 'Alice'}} -/// -/// > r.table('games').get(1).delete().run(conn, callback) -/// {old_val: {id: 1, player1: 'Bob', player2: 'Alice'}, new_val: null} -/// -/// > r.tableDrop('games').run(conn, callback); -/// ReqlRuntimeError: Changefeed aborted (table unavailable) -/// - public Changes (object arg) : this(new Arguments(arg), null) { - } -/// -/// Turn a query into a changefeed, an infinite stream of objects representing changes to the query's results as they occur. A changefeed may return changes to a table or an individual document (a "point" changefeed). Commands such as filter or map may be used before the changes command to transform or filter the output, and many commands that operate on sequences can be chained after changes. -/// -/// Example: Subscribe to the changes on a table. -/// Start monitoring the changefeed in one client: -/// r.table('games').changes().run(conn, function(err, cursor) { -/// cursor.each(console.log); -/// }); -/// -/// As these queries are performed in a second client, the first -/// client would receive and print the following objects: -/// > r.table('games').insert({id: 1}).run(conn, callback); -/// {old_val: null, new_val: {id: 1}} -/// -/// > r.table('games').get(1).update({player1: 'Bob'}).run(conn, callback); -/// {old_val: {id: 1}, new_val: {id: 1, player1: 'Bob'}} -/// -/// > r.table('games').get(1).replace({id: 1, player1: 'Bob', player2: 'Alice'}).run(conn, callback); -/// {old_val: {id: 1, player1: 'Bob'}, -/// new_val: {id: 1, player1: 'Bob', player2: 'Alice'}} -/// -/// > r.table('games').get(1).delete().run(conn, callback) -/// {old_val: {id: 1, player1: 'Bob', player2: 'Alice'}, new_val: null} -/// -/// > r.tableDrop('games').run(conn, callback); -/// ReqlRuntimeError: Changefeed aborted (table unavailable) -/// - public Changes (Arguments args) : this(args, null) { - } -/// -/// Turn a query into a changefeed, an infinite stream of objects representing changes to the query's results as they occur. A changefeed may return changes to a table or an individual document (a "point" changefeed). Commands such as filter or map may be used before the changes command to transform or filter the output, and many commands that operate on sequences can be chained after changes. -/// -/// Example: Subscribe to the changes on a table. -/// Start monitoring the changefeed in one client: -/// r.table('games').changes().run(conn, function(err, cursor) { -/// cursor.each(console.log); -/// }); -/// -/// As these queries are performed in a second client, the first -/// client would receive and print the following objects: -/// > r.table('games').insert({id: 1}).run(conn, callback); -/// {old_val: null, new_val: {id: 1}} -/// -/// > r.table('games').get(1).update({player1: 'Bob'}).run(conn, callback); -/// {old_val: {id: 1}, new_val: {id: 1, player1: 'Bob'}} -/// -/// > r.table('games').get(1).replace({id: 1, player1: 'Bob', player2: 'Alice'}).run(conn, callback); -/// {old_val: {id: 1, player1: 'Bob'}, -/// new_val: {id: 1, player1: 'Bob', player2: 'Alice'}} -/// -/// > r.table('games').get(1).delete().run(conn, callback) -/// {old_val: {id: 1, player1: 'Bob', player2: 'Alice'}, new_val: null} -/// -/// > r.tableDrop('games').run(conn, callback); -/// ReqlRuntimeError: Changefeed aborted (table unavailable) -/// - public Changes (Arguments args, OptArgs optargs) - : base(TermType.CHANGES, args, optargs) { - } - - - - - - - -/// -/// "squash": "T_BOOL", -/// "include_states": "T_BOOL", -/// "include_initial": "T_BOOL" -/// - public Changes this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Changes (this.Args, newOptArgs); - } - } - -/// -/// "squash": "T_BOOL", -/// "include_states": "T_BOOL", -/// "include_initial": "T_BOOL" -/// - public Changes this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Changes (this.Args, newOptArgs); - } - } - -/// -/// "squash": "T_BOOL", -/// "include_states": "T_BOOL", -/// "include_initial": "T_BOOL" -/// - public Changes OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Changes (this.Args, newOptArgs); - } - internal Changes optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Changes.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Changes.cs.meta deleted file mode 100644 index e908ddc4c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Changes.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e1ec8cfca8b60d847b4b3a7a9c2da36d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Circle.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Circle.cs deleted file mode 100644 index 272a47ab3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Circle.cs +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Circle : ReqlExpr { - - - - -/// -/// Construct a circular line or polygon. A circle in RethinkDB is a polygon or line approximating a circle of a given radius around a given center, consisting of a specified number of vertices (default 32). -/// -/// Example: Define a circle. -/// r.table('geo').insert({ -/// id: 300, -/// name: 'Hayes Valley', -/// neighborhood: r.circle([-122.423246,37.779388], 1000) -/// }).run(conn, callback); -/// - public Circle (object arg) : this(new Arguments(arg), null) { - } -/// -/// Construct a circular line or polygon. A circle in RethinkDB is a polygon or line approximating a circle of a given radius around a given center, consisting of a specified number of vertices (default 32). -/// -/// Example: Define a circle. -/// r.table('geo').insert({ -/// id: 300, -/// name: 'Hayes Valley', -/// neighborhood: r.circle([-122.423246,37.779388], 1000) -/// }).run(conn, callback); -/// - public Circle (Arguments args) : this(args, null) { - } -/// -/// Construct a circular line or polygon. A circle in RethinkDB is a polygon or line approximating a circle of a given radius around a given center, consisting of a specified number of vertices (default 32). -/// -/// Example: Define a circle. -/// r.table('geo').insert({ -/// id: 300, -/// name: 'Hayes Valley', -/// neighborhood: r.circle([-122.423246,37.779388], 1000) -/// }).run(conn, callback); -/// - public Circle (Arguments args, OptArgs optargs) - : base(TermType.CIRCLE, args, optargs) { - } - - - - - - - -/// -/// "num_vertices": "T_EXPR", -/// "geo_system": "E_GEO_SYSTEM", -/// "unit": "E_UNIT", -/// "fill": "T_BOOL" -/// - public Circle this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Circle (this.Args, newOptArgs); - } - } - -/// -/// "num_vertices": "T_EXPR", -/// "geo_system": "E_GEO_SYSTEM", -/// "unit": "E_UNIT", -/// "fill": "T_BOOL" -/// - public Circle this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Circle (this.Args, newOptArgs); - } - } - -/// -/// "num_vertices": "T_EXPR", -/// "geo_system": "E_GEO_SYSTEM", -/// "unit": "E_UNIT", -/// "fill": "T_BOOL" -/// - public Circle OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Circle (this.Args, newOptArgs); - } - internal Circle optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Circle.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Circle.cs.meta deleted file mode 100644 index a72e6b6a8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Circle.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8e871819880abc742a1e4c0541eed00c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/CoerceTo.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/CoerceTo.cs deleted file mode 100644 index 57a698f50..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/CoerceTo.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class CoerceTo : ReqlExpr { - - - - -/// -/// Convert a value of one type into another. -/// -/// Example: Coerce a stream to an array to store its output in a field. (A stream cannot be stored in a field directly.) -/// r.table('posts').map(function (post) { -/// return post.merge({ comments: r.table('comments').getAll(post('id'), {index: 'postId'}).coerceTo('array')}); -/// }).run(conn, callback) -/// - public CoerceTo (object arg) : this(new Arguments(arg), null) { - } -/// -/// Convert a value of one type into another. -/// -/// Example: Coerce a stream to an array to store its output in a field. (A stream cannot be stored in a field directly.) -/// r.table('posts').map(function (post) { -/// return post.merge({ comments: r.table('comments').getAll(post('id'), {index: 'postId'}).coerceTo('array')}); -/// }).run(conn, callback) -/// - public CoerceTo (Arguments args) : this(args, null) { - } -/// -/// Convert a value of one type into another. -/// -/// Example: Coerce a stream to an array to store its output in a field. (A stream cannot be stored in a field directly.) -/// r.table('posts').map(function (post) { -/// return post.merge({ comments: r.table('comments').getAll(post('id'), {index: 'postId'}).coerceTo('array')}); -/// }).run(conn, callback) -/// - public CoerceTo (Arguments args, OptArgs optargs) - : base(TermType.COERCE_TO, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/CoerceTo.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/CoerceTo.cs.meta deleted file mode 100644 index b1c3d96d2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/CoerceTo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 51ce27b3b301be149b9cf6a4b76148c4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ConcatMap.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ConcatMap.cs deleted file mode 100644 index a4fcaf483..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ConcatMap.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class ConcatMap : ReqlExpr { - - - - -/// -/// Concatenate one or more elements into a single sequence using a mapping function. -/// -/// Example: Construct a sequence of all monsters defeated by Marvel heroes. The field "defeatedMonsters" is an array of one or more monster names. -/// r.table('marvel').concatMap(function(hero) { -/// return hero('defeatedMonsters') -/// }).run(conn, callback) -/// - public ConcatMap (object arg) : this(new Arguments(arg), null) { - } -/// -/// Concatenate one or more elements into a single sequence using a mapping function. -/// -/// Example: Construct a sequence of all monsters defeated by Marvel heroes. The field "defeatedMonsters" is an array of one or more monster names. -/// r.table('marvel').concatMap(function(hero) { -/// return hero('defeatedMonsters') -/// }).run(conn, callback) -/// - public ConcatMap (Arguments args) : this(args, null) { - } -/// -/// Concatenate one or more elements into a single sequence using a mapping function. -/// -/// Example: Construct a sequence of all monsters defeated by Marvel heroes. The field "defeatedMonsters" is an array of one or more monster names. -/// r.table('marvel').concatMap(function(hero) { -/// return hero('defeatedMonsters') -/// }).run(conn, callback) -/// - public ConcatMap (Arguments args, OptArgs optargs) - : base(TermType.CONCAT_MAP, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ConcatMap.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ConcatMap.cs.meta deleted file mode 100644 index f33b640c1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ConcatMap.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5bc0b2beda5539f42a65b44b4cf30d2f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Config.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Config.cs deleted file mode 100644 index a2f6e4a8c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Config.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Config : ReqlExpr { - - - - -/// -/// Query (read and/or update) the configurations for individual tables or databases. -/// -/// Example: Get the configuration for the users table. -/// > r.table('users').config().run(conn, callback); -/// - public Config (object arg) : this(new Arguments(arg), null) { - } -/// -/// Query (read and/or update) the configurations for individual tables or databases. -/// -/// Example: Get the configuration for the users table. -/// > r.table('users').config().run(conn, callback); -/// - public Config (Arguments args) : this(args, null) { - } -/// -/// Query (read and/or update) the configurations for individual tables or databases. -/// -/// Example: Get the configuration for the users table. -/// > r.table('users').config().run(conn, callback); -/// - public Config (Arguments args, OptArgs optargs) - : base(TermType.CONFIG, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Config.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Config.cs.meta deleted file mode 100644 index a47d32487..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Config.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 350d1add2e0247949a6135cb9d41b199 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Contains.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Contains.cs deleted file mode 100644 index 59f1a3e24..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Contains.cs +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Contains : ReqlExpr { - - - - -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains (object arg) : this(new Arguments(arg), null) { - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains (Arguments args) : this(args, null) { - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains (Arguments args, OptArgs optargs) - : base(TermType.CONTAINS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Contains.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Contains.cs.meta deleted file mode 100644 index fcee27530..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Contains.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3c28d83d657e661468d4201919321188 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Count.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Count.cs deleted file mode 100644 index 11dc1b7c3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Count.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Count : ReqlExpr { - - - - -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count (object arg) : this(new Arguments(arg), null) { - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count (Arguments args) : this(args, null) { - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count (Arguments args, OptArgs optargs) - : base(TermType.COUNT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Count.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Count.cs.meta deleted file mode 100644 index ee318f78c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Count.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d1e624b87a34d374285bcee7d6ff899c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Date.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Date.cs deleted file mode 100644 index ecb616898..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Date.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Date : ReqlExpr { - - - - -/// -/// Return a new time object only based on the day, month and year (ie. the same day at 00:00). -/// -/// Example: Retrieve all the users whose birthday is today. -/// r.table("users").filter(function(user) { -/// return user("birthdate").date().eq(r.now().date()) -/// }).run(conn, callback) -/// - public Date (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return a new time object only based on the day, month and year (ie. the same day at 00:00). -/// -/// Example: Retrieve all the users whose birthday is today. -/// r.table("users").filter(function(user) { -/// return user("birthdate").date().eq(r.now().date()) -/// }).run(conn, callback) -/// - public Date (Arguments args) : this(args, null) { - } -/// -/// Return a new time object only based on the day, month and year (ie. the same day at 00:00). -/// -/// Example: Retrieve all the users whose birthday is today. -/// r.table("users").filter(function(user) { -/// return user("birthdate").date().eq(r.now().date()) -/// }).run(conn, callback) -/// - public Date (Arguments args, OptArgs optargs) - : base(TermType.DATE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Date.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Date.cs.meta deleted file mode 100644 index ce03919f9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Date.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ae97ee4cd9aad6442806c61a3f842201 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Datum.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Datum.cs deleted file mode 100644 index cf9d7ad73..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Datum.cs +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Datum : ReqlExpr { - - - - - public Datum(object arg) : base(TermType.DATUM, null, null) { - datum = arg; - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - - - - - - internal object datum; - - - - - - protected internal override object Build() { - // Overridden because Datums are leaf-nodes and therefore - // don't contain lower ReqlAst objects. - return datum; - } - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Datum.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Datum.cs.meta deleted file mode 100644 index eb113cb09..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Datum.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 613d3a632cf33084e9a7fd723f18463f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Day.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Day.cs deleted file mode 100644 index ce05b4e4e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Day.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Day : ReqlExpr { - - - - -/// -/// Return the day of a time object as a number between 1 and 31. -/// -/// Example: Return the users born on the 24th of any month. -/// r.table("users").filter( -/// r.row("birthdate").day().eq(24) -/// ).run(conn, callback) -/// - public Day (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the day of a time object as a number between 1 and 31. -/// -/// Example: Return the users born on the 24th of any month. -/// r.table("users").filter( -/// r.row("birthdate").day().eq(24) -/// ).run(conn, callback) -/// - public Day (Arguments args) : this(args, null) { - } -/// -/// Return the day of a time object as a number between 1 and 31. -/// -/// Example: Return the users born on the 24th of any month. -/// r.table("users").filter( -/// r.row("birthdate").day().eq(24) -/// ).run(conn, callback) -/// - public Day (Arguments args, OptArgs optargs) - : base(TermType.DAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Day.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Day.cs.meta deleted file mode 100644 index 8613edd1b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Day.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d6516873a602d1a41882d2b4e5374d38 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfWeek.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfWeek.cs deleted file mode 100644 index 3964c5032..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfWeek.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class DayOfWeek : ReqlExpr { - - - - -/// -/// Return the day of week of a time object as a number between 1 and 7 (following ISO 8601 standard). For your convenience, the terms r.monday, r.tuesday etc. are defined and map to the appropriate integer. -/// -/// Example: Return today's day of week. -/// r.now().dayOfWeek().run(conn, callback) -/// - public DayOfWeek (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the day of week of a time object as a number between 1 and 7 (following ISO 8601 standard). For your convenience, the terms r.monday, r.tuesday etc. are defined and map to the appropriate integer. -/// -/// Example: Return today's day of week. -/// r.now().dayOfWeek().run(conn, callback) -/// - public DayOfWeek (Arguments args) : this(args, null) { - } -/// -/// Return the day of week of a time object as a number between 1 and 7 (following ISO 8601 standard). For your convenience, the terms r.monday, r.tuesday etc. are defined and map to the appropriate integer. -/// -/// Example: Return today's day of week. -/// r.now().dayOfWeek().run(conn, callback) -/// - public DayOfWeek (Arguments args, OptArgs optargs) - : base(TermType.DAY_OF_WEEK, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfWeek.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfWeek.cs.meta deleted file mode 100644 index 915d37b75..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfWeek.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e8155c9543cb17740b6a01774aa749a4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfYear.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfYear.cs deleted file mode 100644 index b0b9fbcf3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfYear.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class DayOfYear : ReqlExpr { - - - - -/// -/// Return the day of the year of a time object as a number between 1 and 366 (following ISO 8601 standard). -/// -/// Example: Retrieve all the users who were born the first day of a year. -/// r.table("users").filter( -/// r.row("birthdate").dayOfYear().eq(1) -/// ) -/// - public DayOfYear (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the day of the year of a time object as a number between 1 and 366 (following ISO 8601 standard). -/// -/// Example: Retrieve all the users who were born the first day of a year. -/// r.table("users").filter( -/// r.row("birthdate").dayOfYear().eq(1) -/// ) -/// - public DayOfYear (Arguments args) : this(args, null) { - } -/// -/// Return the day of the year of a time object as a number between 1 and 366 (following ISO 8601 standard). -/// -/// Example: Retrieve all the users who were born the first day of a year. -/// r.table("users").filter( -/// r.row("birthdate").dayOfYear().eq(1) -/// ) -/// - public DayOfYear (Arguments args, OptArgs optargs) - : base(TermType.DAY_OF_YEAR, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfYear.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfYear.cs.meta deleted file mode 100644 index def17f26f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DayOfYear.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b6ff27fa8d540c847ae712e7af6146cb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Db.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Db.cs deleted file mode 100644 index 280d3c12b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Db.cs +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Db : ReqlAst { - - - - -/// -/// Reference a database. -/// -/// Example: Explicitly specify a database for a query. -/// r.db('heroes').table('marvel').run(conn, callback) -/// - public Db (object arg) : this(new Arguments(arg), null) { - } -/// -/// Reference a database. -/// -/// Example: Explicitly specify a database for a query. -/// r.db('heroes').table('marvel').run(conn, callback) -/// - public Db (Arguments args) : this(args, null) { - } -/// -/// Reference a database. -/// -/// Example: Explicitly specify a database for a query. -/// r.db('heroes').table('marvel').run(conn, callback) -/// - public Db (Arguments args, OptArgs optargs) - : base(TermType.DB, args, optargs) { - } - - - - - - - - - - - - - - - - - - -/// -/// Return all documents in a table. Other commands may be chained after table to return a subset of documents (such as get and filter) or perform further processing. -/// -/// Example: Return all documents in the table 'marvel' of the default database. -/// r.table('marvel').run(conn, callback) -/// - public Table Table ( Object expr ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - return new Table (arguments ); - } - internal Table table ( Object expr ) - { - return Table ( expr ); - } -/// -/// Create a table. A RethinkDB table is a collection of JSON documents. -/// -/// Example: Create a table named 'dc_universe' with the default settings. -/// > r.db('heroes').tableCreate('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "new_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "old_val": null -/// } -/// ], -/// "tables_created": 1 -/// } -/// - public TableCreate TableCreate ( Object expr ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - return new TableCreate (arguments ); - } - internal TableCreate tableCreate ( Object expr ) - { - return TableCreate ( expr ); - } -/// -/// Drop a table from a database. The table and all its data will be deleted. -/// -/// Example: Drop a table named 'dc_universe'. -/// > r.db('test').tableDrop('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "old_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "new_val": null -/// } -/// ], -/// "tables_dropped": 1 -/// } -/// - public TableDrop TableDrop ( Object expr ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - return new TableDrop (arguments ); - } - internal TableDrop tableDrop ( Object expr ) - { - return TableDrop ( expr ); - } -/// -/// List all table names in a database. The result is a list of strings. -/// -/// Example: List all tables of the 'test' database. -/// r.db('test').tableList().run(conn, callback) -/// - public TableList TableList ( ) - { - Arguments arguments = new Arguments(this); - return new TableList (arguments ); - } - internal TableList tableList ( ) - { - return TableList ( ); - } -/// -/// Query (read and/or update) the configurations for individual tables or databases. -/// -/// Example: Get the configuration for the users table. -/// > r.table('users').config().run(conn, callback); -/// - public Config Config ( ) - { - Arguments arguments = new Arguments(this); - return new Config (arguments ); - } - internal Config config ( ) - { - return Config ( ); - } -/// -/// Wait for a table or all the tables in a database to be ready. A table may be temporarily unavailable after creation, rebalancing or reconfiguring. The wait command blocks until the given table (or database) is fully up to date. -/// -/// Example: Wait on a table to be ready. -/// > r.table('superheroes').wait().run(conn, callback); -/// // Result passed to callback -/// { "ready": 1 } -/// - public Wait Wait_ ( ) - { - Arguments arguments = new Arguments(this); - return new Wait (arguments ); - } - internal Wait wait_ ( ) - { - return Wait_ ( ); - } -/// -/// Reconfigure a table's sharding and replication. -/// -/// Example: Reconfigure a table. -/// > r.table('superheroes').reconfigure({shards: 2, replicas: 1}).run(conn, callback); -/// - public Reconfigure Reconfigure ( ) - { - Arguments arguments = new Arguments(this); - return new Reconfigure (arguments ); - } - internal Reconfigure reconfigure ( ) - { - return Reconfigure ( ); - } -/// -/// Rebalances the shards of a table. When called on a database, all the tables in that database will be rebalanced. -/// -/// Example: Rebalance a table. -/// > r.table('superheroes').rebalance().run(conn, callback); -/// - public Rebalance Rebalance ( ) - { - Arguments arguments = new Arguments(this); - return new Rebalance (arguments ); - } - internal Rebalance rebalance ( ) - { - return Rebalance ( ); - } -/// -/// Grant or deny access permissions for a user account, globally or on a per-database or per-table basis. -/// -/// Example: Grant the chatapp user account read and write permissions on the users database. -/// r.db('users').grant('chatapp', {read: true, write: true}).run(conn, callback); -/// -/// // Result passed to callback -/// { -/// "granted": 1, -/// "permissions_changes": [ -/// { -/// "new_val": { "read": true, "write": true }, -/// "old_val": { null } -/// } -/// ] -/// - public Grant Grant ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Grant (arguments ); - } - internal Grant grant ( Object expr, Object exprA ) - { - return Grant ( expr, exprA ); - } -/// -/// Get information about a ReQL value. -/// -/// Example: Get information about a table such as primary key, or cache size. -/// r.table('marvel').info().run(conn, callback) -/// - public Info Info ( ) - { - Arguments arguments = new Arguments(this); - return new Info (arguments ); - } - internal Info info ( ) - { - return Info ( ); - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Db.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Db.cs.meta deleted file mode 100644 index 7c8a45428..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Db.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e94984daa0f173149a8d13099d7fc1da -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbCreate.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbCreate.cs deleted file mode 100644 index 3f7756c0e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbCreate.cs +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class DbCreate : ReqlExpr { - - - - -/// -/// Create a database. A RethinkDB database is a collection of tables, similar to -/// relational databases. -/// -/// Example: Create a database named 'superheroes'. -/// > r.dbCreate('superheroes').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "new_val": { -/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07", -/// "name": "superheroes" -/// }, -/// "old_val": null -/// } -/// ], -/// "dbs_created": 1 -/// } -/// - public DbCreate (object arg) : this(new Arguments(arg), null) { - } -/// -/// Create a database. A RethinkDB database is a collection of tables, similar to -/// relational databases. -/// -/// Example: Create a database named 'superheroes'. -/// > r.dbCreate('superheroes').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "new_val": { -/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07", -/// "name": "superheroes" -/// }, -/// "old_val": null -/// } -/// ], -/// "dbs_created": 1 -/// } -/// - public DbCreate (Arguments args) : this(args, null) { - } -/// -/// Create a database. A RethinkDB database is a collection of tables, similar to -/// relational databases. -/// -/// Example: Create a database named 'superheroes'. -/// > r.dbCreate('superheroes').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "new_val": { -/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07", -/// "name": "superheroes" -/// }, -/// "old_val": null -/// } -/// ], -/// "dbs_created": 1 -/// } -/// - public DbCreate (Arguments args, OptArgs optargs) - : base(TermType.DB_CREATE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbCreate.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbCreate.cs.meta deleted file mode 100644 index 75500de9b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbCreate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e46ed03d7efa6c542866d9b4e1826db4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbDrop.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbDrop.cs deleted file mode 100644 index e5ce6d65d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbDrop.cs +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class DbDrop : ReqlExpr { - - - - -/// -/// Drop a database. The database, all its tables, and corresponding data will be deleted. -/// -/// Example: Drop a database named 'superheroes'. -/// > r.dbDrop('superheroes').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "old_val": { -/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07", -/// "name": "superheroes" -/// }, -/// "new_val": null -/// } -/// ], -/// "tables_dropped": 3, -/// "dbs_dropped": 1 -/// } -/// - public DbDrop (object arg) : this(new Arguments(arg), null) { - } -/// -/// Drop a database. The database, all its tables, and corresponding data will be deleted. -/// -/// Example: Drop a database named 'superheroes'. -/// > r.dbDrop('superheroes').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "old_val": { -/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07", -/// "name": "superheroes" -/// }, -/// "new_val": null -/// } -/// ], -/// "tables_dropped": 3, -/// "dbs_dropped": 1 -/// } -/// - public DbDrop (Arguments args) : this(args, null) { - } -/// -/// Drop a database. The database, all its tables, and corresponding data will be deleted. -/// -/// Example: Drop a database named 'superheroes'. -/// > r.dbDrop('superheroes').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "old_val": { -/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07", -/// "name": "superheroes" -/// }, -/// "new_val": null -/// } -/// ], -/// "tables_dropped": 3, -/// "dbs_dropped": 1 -/// } -/// - public DbDrop (Arguments args, OptArgs optargs) - : base(TermType.DB_DROP, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbDrop.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbDrop.cs.meta deleted file mode 100644 index a0dd3bd5c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbDrop.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fe628c9ba2677c04fbebdc95f3585a36 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbList.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbList.cs deleted file mode 100644 index 3e7a7e712..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbList.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class DbList : ReqlExpr { - - - - -/// -/// List all database names in the system. The result is a list of strings. -/// -/// Example: List all databases. -/// r.dbList().run(conn, callback) -/// - public DbList (object arg) : this(new Arguments(arg), null) { - } -/// -/// List all database names in the system. The result is a list of strings. -/// -/// Example: List all databases. -/// r.dbList().run(conn, callback) -/// - public DbList (Arguments args) : this(args, null) { - } -/// -/// List all database names in the system. The result is a list of strings. -/// -/// Example: List all databases. -/// r.dbList().run(conn, callback) -/// - public DbList (Arguments args, OptArgs optargs) - : base(TermType.DB_LIST, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbList.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbList.cs.meta deleted file mode 100644 index 75d4d4200..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DbList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f4b15a2441519884d893d04f2d270eb2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/December.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/December.cs deleted file mode 100644 index 2437f56b9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/December.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class December : ReqlExpr { - - - - - public December (object arg) : this(new Arguments(arg), null) { - } - public December (Arguments args) : this(args, null) { - } - public December (Arguments args, OptArgs optargs) - : base(TermType.DECEMBER, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/December.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/December.cs.meta deleted file mode 100644 index 782ad53d3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/December.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 53d6556e979264349be211450cc3f2c0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Default.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Default.cs deleted file mode 100644 index a92f72766..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Default.cs +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Default : ReqlExpr { - - - - -/// -/// Provide a default value in case of non-existence errors. The default command evaluates its first argument (the value it's chained to). If that argument returns null or a non-existence error is thrown in evaluation, then default returns its second argument. The second argument is usually a default value, but it can be a function that returns a value. -/// -/// Example: Retrieve the titles and authors of the table posts. -/// In the case where the author field is missing or null, we want to retrieve the string -/// Anonymous. -/// r.table("posts").map(function (post) { -/// return { -/// title: post("title"), -/// author: post("author").default("Anonymous") -/// } -/// }).run(conn, callback); -/// - public Default (object arg) : this(new Arguments(arg), null) { - } -/// -/// Provide a default value in case of non-existence errors. The default command evaluates its first argument (the value it's chained to). If that argument returns null or a non-existence error is thrown in evaluation, then default returns its second argument. The second argument is usually a default value, but it can be a function that returns a value. -/// -/// Example: Retrieve the titles and authors of the table posts. -/// In the case where the author field is missing or null, we want to retrieve the string -/// Anonymous. -/// r.table("posts").map(function (post) { -/// return { -/// title: post("title"), -/// author: post("author").default("Anonymous") -/// } -/// }).run(conn, callback); -/// - public Default (Arguments args) : this(args, null) { - } -/// -/// Provide a default value in case of non-existence errors. The default command evaluates its first argument (the value it's chained to). If that argument returns null or a non-existence error is thrown in evaluation, then default returns its second argument. The second argument is usually a default value, but it can be a function that returns a value. -/// -/// Example: Retrieve the titles and authors of the table posts. -/// In the case where the author field is missing or null, we want to retrieve the string -/// Anonymous. -/// r.table("posts").map(function (post) { -/// return { -/// title: post("title"), -/// author: post("author").default("Anonymous") -/// } -/// }).run(conn, callback); -/// - public Default (Arguments args, OptArgs optargs) - : base(TermType.DEFAULT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Default.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Default.cs.meta deleted file mode 100644 index 9285992cd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Default.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5e323839766f5d848abaccbfa01b21a0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Delete.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Delete.cs deleted file mode 100644 index 8b90e21fa..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Delete.cs +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Delete : ReqlExpr { - - - - -/// -/// Delete one or more documents from a table. -/// -/// Example: Delete a single document from the table comments. -/// r.table("comments").get("7eab9e63-73f1-4f33-8ce4-95cbea626f59").delete().run(conn, callback) -/// - public Delete (object arg) : this(new Arguments(arg), null) { - } -/// -/// Delete one or more documents from a table. -/// -/// Example: Delete a single document from the table comments. -/// r.table("comments").get("7eab9e63-73f1-4f33-8ce4-95cbea626f59").delete().run(conn, callback) -/// - public Delete (Arguments args) : this(args, null) { - } -/// -/// Delete one or more documents from a table. -/// -/// Example: Delete a single document from the table comments. -/// r.table("comments").get("7eab9e63-73f1-4f33-8ce4-95cbea626f59").delete().run(conn, callback) -/// - public Delete (Arguments args, OptArgs optargs) - : base(TermType.DELETE, args, optargs) { - } - - - - - - - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ] -/// - public Delete this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Delete (this.Args, newOptArgs); - } - } - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ] -/// - public Delete this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Delete (this.Args, newOptArgs); - } - } - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ] -/// - public Delete OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Delete (this.Args, newOptArgs); - } - internal Delete optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Delete.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Delete.cs.meta deleted file mode 100644 index 639fc501d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Delete.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a9d46d2709182804d8d05fb997cf6c54 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DeleteAt.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DeleteAt.cs deleted file mode 100644 index 7ae139ca7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DeleteAt.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class DeleteAt : ReqlExpr { - - - - -/// -/// Remove one or more elements from an array at a given index. Returns the modified array. (Note: deleteAt operates on arrays, not documents; to delete documents, see the delete command.) -/// -/// Example: Delete the second element of an array. -/// > r(['a','b','c','d','e','f']).deleteAt(1).run(conn, callback) -/// // result passed to callback -/// ['a', 'c', 'd', 'e', 'f'] -/// - public DeleteAt (object arg) : this(new Arguments(arg), null) { - } -/// -/// Remove one or more elements from an array at a given index. Returns the modified array. (Note: deleteAt operates on arrays, not documents; to delete documents, see the delete command.) -/// -/// Example: Delete the second element of an array. -/// > r(['a','b','c','d','e','f']).deleteAt(1).run(conn, callback) -/// // result passed to callback -/// ['a', 'c', 'd', 'e', 'f'] -/// - public DeleteAt (Arguments args) : this(args, null) { - } -/// -/// Remove one or more elements from an array at a given index. Returns the modified array. (Note: deleteAt operates on arrays, not documents; to delete documents, see the delete command.) -/// -/// Example: Delete the second element of an array. -/// > r(['a','b','c','d','e','f']).deleteAt(1).run(conn, callback) -/// // result passed to callback -/// ['a', 'c', 'd', 'e', 'f'] -/// - public DeleteAt (Arguments args, OptArgs optargs) - : base(TermType.DELETE_AT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DeleteAt.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DeleteAt.cs.meta deleted file mode 100644 index 76a47d52c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/DeleteAt.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1861bcb9c570ffe4d838d6b49560bc76 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Desc.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Desc.cs deleted file mode 100644 index 85649ccef..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Desc.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Desc : ReqlExpr { - - - - - public Desc (object arg) : this(new Arguments(arg), null) { - } - public Desc (Arguments args) : this(args, null) { - } - public Desc (Arguments args, OptArgs optargs) - : base(TermType.DESC, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Desc.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Desc.cs.meta deleted file mode 100644 index 6b5775f86..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Desc.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1ccb9bb690a973f4f8c9ca4a23d742c7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Difference.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Difference.cs deleted file mode 100644 index 82bc07213..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Difference.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Difference : ReqlExpr { - - - - -/// -/// Remove the elements of one array from another array. -/// -/// Example: Retrieve Iron Man's equipment list without boots. -/// r.table('marvel').get('IronMan')('equipment') -/// .difference(['Boots']) -/// .run(conn, callback) -/// - public Difference (object arg) : this(new Arguments(arg), null) { - } -/// -/// Remove the elements of one array from another array. -/// -/// Example: Retrieve Iron Man's equipment list without boots. -/// r.table('marvel').get('IronMan')('equipment') -/// .difference(['Boots']) -/// .run(conn, callback) -/// - public Difference (Arguments args) : this(args, null) { - } -/// -/// Remove the elements of one array from another array. -/// -/// Example: Retrieve Iron Man's equipment list without boots. -/// r.table('marvel').get('IronMan')('equipment') -/// .difference(['Boots']) -/// .run(conn, callback) -/// - public Difference (Arguments args, OptArgs optargs) - : base(TermType.DIFFERENCE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Difference.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Difference.cs.meta deleted file mode 100644 index 426ee0347..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Difference.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a899c15f81d8e5e44b3f9c1f7a3b6d8e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distance.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distance.cs deleted file mode 100644 index 1a4469b55..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distance.cs +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Distance : ReqlExpr { - - - - -/// -/// Compute the distance between a point and another geometry object. At least one of the geometry objects specified must be a point. -/// -/// Example: Compute the distance between two points on the Earth in kilometers. -/// var point1 = r.point(-122.423246,37.779388); -/// var point2 = r.point(-117.220406,32.719464); -/// r.distance(point1, point2, {unit: 'km'}).run(conn, callback); -/// // result returned to callback -/// 734.1252496021841 -/// - public Distance (object arg) : this(new Arguments(arg), null) { - } -/// -/// Compute the distance between a point and another geometry object. At least one of the geometry objects specified must be a point. -/// -/// Example: Compute the distance between two points on the Earth in kilometers. -/// var point1 = r.point(-122.423246,37.779388); -/// var point2 = r.point(-117.220406,32.719464); -/// r.distance(point1, point2, {unit: 'km'}).run(conn, callback); -/// // result returned to callback -/// 734.1252496021841 -/// - public Distance (Arguments args) : this(args, null) { - } -/// -/// Compute the distance between a point and another geometry object. At least one of the geometry objects specified must be a point. -/// -/// Example: Compute the distance between two points on the Earth in kilometers. -/// var point1 = r.point(-122.423246,37.779388); -/// var point2 = r.point(-117.220406,32.719464); -/// r.distance(point1, point2, {unit: 'km'}).run(conn, callback); -/// // result returned to callback -/// 734.1252496021841 -/// - public Distance (Arguments args, OptArgs optargs) - : base(TermType.DISTANCE, args, optargs) { - } - - - - - - - -/// -/// "geo_system": "E_GEO_SYSTEM", -/// "unit": "E_UNIT" -/// - public Distance this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Distance (this.Args, newOptArgs); - } - } - -/// -/// "geo_system": "E_GEO_SYSTEM", -/// "unit": "E_UNIT" -/// - public Distance this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Distance (this.Args, newOptArgs); - } - } - -/// -/// "geo_system": "E_GEO_SYSTEM", -/// "unit": "E_UNIT" -/// - public Distance OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Distance (this.Args, newOptArgs); - } - internal Distance optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distance.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distance.cs.meta deleted file mode 100644 index 36429b0c2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distance.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 12e4eb67a807c3946b2ecb1d0a883a4f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distinct.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distinct.cs deleted file mode 100644 index 5e90db344..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distinct.cs +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Distinct : ReqlExpr { - - - - -/// -/// Removes duplicates from elements in a sequence. -/// -/// Example: Which unique villains have been vanquished by Marvel heroes? -/// r.table('marvel').concatMap(function(hero) { -/// return hero('villainList') -/// }).distinct().run(conn, callback) -/// - public Distinct (object arg) : this(new Arguments(arg), null) { - } -/// -/// Removes duplicates from elements in a sequence. -/// -/// Example: Which unique villains have been vanquished by Marvel heroes? -/// r.table('marvel').concatMap(function(hero) { -/// return hero('villainList') -/// }).distinct().run(conn, callback) -/// - public Distinct (Arguments args) : this(args, null) { - } -/// -/// Removes duplicates from elements in a sequence. -/// -/// Example: Which unique villains have been vanquished by Marvel heroes? -/// r.table('marvel').concatMap(function(hero) { -/// return hero('villainList') -/// }).distinct().run(conn, callback) -/// - public Distinct (Arguments args, OptArgs optargs) - : base(TermType.DISTINCT, args, optargs) { - } - - - - - - - -/// -/// "index": "T_STR" -/// - public Distinct this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Distinct (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public Distinct this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Distinct (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public Distinct OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Distinct (this.Args, newOptArgs); - } - internal Distinct optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distinct.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distinct.cs.meta deleted file mode 100644 index a7743dec8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Distinct.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d6c1605261b5e23438f4a78e483ced8f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Div.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Div.cs deleted file mode 100644 index 85910b1d4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Div.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Div : ReqlExpr { - - - - -/// -/// Divide two numbers. -/// -/// Example: It's as easy as 2 / 2 = 1. -/// r.expr(2).div(2).run(conn, callback) -/// - public Div (object arg) : this(new Arguments(arg), null) { - } -/// -/// Divide two numbers. -/// -/// Example: It's as easy as 2 / 2 = 1. -/// r.expr(2).div(2).run(conn, callback) -/// - public Div (Arguments args) : this(args, null) { - } -/// -/// Divide two numbers. -/// -/// Example: It's as easy as 2 / 2 = 1. -/// r.expr(2).div(2).run(conn, callback) -/// - public Div (Arguments args, OptArgs optargs) - : base(TermType.DIV, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Div.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Div.cs.meta deleted file mode 100644 index c0e784e59..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Div.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 58f6e5174bbe9d84a93bf41d276c4fd2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Downcase.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Downcase.cs deleted file mode 100644 index e4c7f473f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Downcase.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Downcase : ReqlExpr { - - - - -/// -/// Lowercases a string. -/// -/// Example: -/// r.expr("Sentence about LaTeX.").downcase().run(conn, callback) -/// -/// Result: -/// "sentence about latex." -/// -/// Note: upcase and downcase only affect ASCII characters. - public Downcase (object arg) : this(new Arguments(arg), null) { - } -/// -/// Lowercases a string. -/// -/// Example: -/// r.expr("Sentence about LaTeX.").downcase().run(conn, callback) -/// -/// Result: -/// "sentence about latex." -/// -/// Note: upcase and downcase only affect ASCII characters. - public Downcase (Arguments args) : this(args, null) { - } -/// -/// Lowercases a string. -/// -/// Example: -/// r.expr("Sentence about LaTeX.").downcase().run(conn, callback) -/// -/// Result: -/// "sentence about latex." -/// -/// Note: upcase and downcase only affect ASCII characters. - public Downcase (Arguments args, OptArgs optargs) - : base(TermType.DOWNCASE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Downcase.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Downcase.cs.meta deleted file mode 100644 index 74f1524ff..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Downcase.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: da8e76a698c78154994520ad74747f51 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/During.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/During.cs deleted file mode 100644 index 162e2722a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/During.cs +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class During : ReqlExpr { - - - - -/// -/// Return whether a time is between two other times. -/// -/// Example: Retrieve all the posts that were posted between December 1st, 2013 -/// (inclusive) and December 10th, 2013 (exclusive). -/// r.table("posts").filter( -/// r.row('date').during(r.time(2013, 12, 1, "Z"), r.time(2013, 12, 10, "Z")) -/// ).run(conn, callback) -/// - public During (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return whether a time is between two other times. -/// -/// Example: Retrieve all the posts that were posted between December 1st, 2013 -/// (inclusive) and December 10th, 2013 (exclusive). -/// r.table("posts").filter( -/// r.row('date').during(r.time(2013, 12, 1, "Z"), r.time(2013, 12, 10, "Z")) -/// ).run(conn, callback) -/// - public During (Arguments args) : this(args, null) { - } -/// -/// Return whether a time is between two other times. -/// -/// Example: Retrieve all the posts that were posted between December 1st, 2013 -/// (inclusive) and December 10th, 2013 (exclusive). -/// r.table("posts").filter( -/// r.row('date').during(r.time(2013, 12, 1, "Z"), r.time(2013, 12, 10, "Z")) -/// ).run(conn, callback) -/// - public During (Arguments args, OptArgs optargs) - : base(TermType.DURING, args, optargs) { - } - - - - - - - -/// -/// "left_bound": "E_BOUND", -/// "right_bound": "E_BOUND" -/// - public During this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new During (this.Args, newOptArgs); - } - } - -/// -/// "left_bound": "E_BOUND", -/// "right_bound": "E_BOUND" -/// - public During this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new During (this.Args, newOptArgs); - } - } - -/// -/// "left_bound": "E_BOUND", -/// "right_bound": "E_BOUND" -/// - public During OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new During (this.Args, newOptArgs); - } - internal During optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/During.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/During.cs.meta deleted file mode 100644 index 22df992cb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/During.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 826e538fcb8cbf44f984edfe199a5af7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EpochTime.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EpochTime.cs deleted file mode 100644 index 96f8dd214..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EpochTime.cs +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class EpochTime : ReqlExpr { - - - - -/// -/// Create a time object based on seconds since epoch. The first argument is a double and -/// will be rounded to three decimal places (millisecond-precision). -/// -/// Example: Update the birthdate of the user "John" to November 3rd, 1986. -/// r.table("user").get("John").update({birthdate: r.epochTime(531360000)}).run(conn, callback) -/// - public EpochTime (object arg) : this(new Arguments(arg), null) { - } -/// -/// Create a time object based on seconds since epoch. The first argument is a double and -/// will be rounded to three decimal places (millisecond-precision). -/// -/// Example: Update the birthdate of the user "John" to November 3rd, 1986. -/// r.table("user").get("John").update({birthdate: r.epochTime(531360000)}).run(conn, callback) -/// - public EpochTime (Arguments args) : this(args, null) { - } -/// -/// Create a time object based on seconds since epoch. The first argument is a double and -/// will be rounded to three decimal places (millisecond-precision). -/// -/// Example: Update the birthdate of the user "John" to November 3rd, 1986. -/// r.table("user").get("John").update({birthdate: r.epochTime(531360000)}).run(conn, callback) -/// - public EpochTime (Arguments args, OptArgs optargs) - : base(TermType.EPOCH_TIME, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EpochTime.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EpochTime.cs.meta deleted file mode 100644 index ff2efeab1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EpochTime.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 58fda8c496cc5b845b9dfd2841f5f109 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Eq.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Eq.cs deleted file mode 100644 index 571ea818e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Eq.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Eq : ReqlExpr { - - - - -/// -/// Test if two or more values are equal. -/// -/// Example: See if a user's role field is set to administrator. -/// r.table('users').get(1)('role').eq('administrator').run(conn, callback); -/// - public Eq (object arg) : this(new Arguments(arg), null) { - } -/// -/// Test if two or more values are equal. -/// -/// Example: See if a user's role field is set to administrator. -/// r.table('users').get(1)('role').eq('administrator').run(conn, callback); -/// - public Eq (Arguments args) : this(args, null) { - } -/// -/// Test if two or more values are equal. -/// -/// Example: See if a user's role field is set to administrator. -/// r.table('users').get(1)('role').eq('administrator').run(conn, callback); -/// - public Eq (Arguments args, OptArgs optargs) - : base(TermType.EQ, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Eq.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Eq.cs.meta deleted file mode 100644 index 3e687da78..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Eq.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 491f06199faa4724095582aa72806646 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EqJoin.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EqJoin.cs deleted file mode 100644 index 6cb792d93..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EqJoin.cs +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class EqJoin : ReqlExpr { - - - - -/// -/// Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. eqJoin is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field's value exists in the specified index on the right-hand side. -/// -/// - public EqJoin (object arg) : this(new Arguments(arg), null) { - } -/// -/// Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. eqJoin is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field's value exists in the specified index on the right-hand side. -/// -/// - public EqJoin (Arguments args) : this(args, null) { - } -/// -/// Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. eqJoin is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field's value exists in the specified index on the right-hand side. -/// -/// - public EqJoin (Arguments args, OptArgs optargs) - : base(TermType.EQ_JOIN, args, optargs) { - } - - - - - - - -/// -/// "index": "T_STR" -/// - public EqJoin this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new EqJoin (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public EqJoin this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new EqJoin (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public EqJoin OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new EqJoin (this.Args, newOptArgs); - } - internal EqJoin optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EqJoin.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EqJoin.cs.meta deleted file mode 100644 index b8a987b3e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/EqJoin.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 364d3bf78964df44e810945c27434412 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Error.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Error.cs deleted file mode 100644 index c4e16a91a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Error.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Error : ReqlExpr { - - - - -/// -/// Throw a runtime error. If called with no arguments inside the second argument to default, re-throw the current error. -/// -/// Example: Iron Man can't possibly have lost a battle: -/// r.table('marvel').get('IronMan').do(function(ironman) { -/// return r.branch(ironman('victories').lt(ironman('battles')), -/// r.error('impossible code path'), -/// ironman) -/// }).run(conn, callback) -/// - public Error (object arg) : this(new Arguments(arg), null) { - } -/// -/// Throw a runtime error. If called with no arguments inside the second argument to default, re-throw the current error. -/// -/// Example: Iron Man can't possibly have lost a battle: -/// r.table('marvel').get('IronMan').do(function(ironman) { -/// return r.branch(ironman('victories').lt(ironman('battles')), -/// r.error('impossible code path'), -/// ironman) -/// }).run(conn, callback) -/// - public Error (Arguments args) : this(args, null) { - } -/// -/// Throw a runtime error. If called with no arguments inside the second argument to default, re-throw the current error. -/// -/// Example: Iron Man can't possibly have lost a battle: -/// r.table('marvel').get('IronMan').do(function(ironman) { -/// return r.branch(ironman('victories').lt(ironman('battles')), -/// r.error('impossible code path'), -/// ironman) -/// }).run(conn, callback) -/// - public Error (Arguments args, OptArgs optargs) - : base(TermType.ERROR, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Error.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Error.cs.meta deleted file mode 100644 index e02639e87..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Error.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1421ad99581fcec46aed473959a87d8e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/February.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/February.cs deleted file mode 100644 index f56d6226a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/February.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class February : ReqlExpr { - - - - - public February (object arg) : this(new Arguments(arg), null) { - } - public February (Arguments args) : this(args, null) { - } - public February (Arguments args, OptArgs optargs) - : base(TermType.FEBRUARY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/February.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/February.cs.meta deleted file mode 100644 index 65e12be2d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/February.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5a818ce9fcf15d94bbcc0a9e24276dd6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fill.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fill.cs deleted file mode 100644 index e86d25ae3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fill.cs +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Fill : ReqlExpr { - - - - -/// -/// Convert a Line object into a Polygon object. If the last point does not specify the same coordinates as the first point, polygon will close the polygon by connecting them. -/// -/// Example: Create a line object and then convert it to a polygon. -/// r.table('geo').insert({ -/// id: 201, -/// rectangle: r.line( -/// [-122.423246,37.779388], -/// [-122.423246,37.329898], -/// [-121.886420,37.329898], -/// [-121.886420,37.779388] -/// ) -/// }).run(conn, callback); -/// -/// r.table('geo').get(201).update({ -/// rectangle: r.row('rectangle').fill() -/// }, {nonAtomic: true}).run(conn, callback); -/// - public Fill (object arg) : this(new Arguments(arg), null) { - } -/// -/// Convert a Line object into a Polygon object. If the last point does not specify the same coordinates as the first point, polygon will close the polygon by connecting them. -/// -/// Example: Create a line object and then convert it to a polygon. -/// r.table('geo').insert({ -/// id: 201, -/// rectangle: r.line( -/// [-122.423246,37.779388], -/// [-122.423246,37.329898], -/// [-121.886420,37.329898], -/// [-121.886420,37.779388] -/// ) -/// }).run(conn, callback); -/// -/// r.table('geo').get(201).update({ -/// rectangle: r.row('rectangle').fill() -/// }, {nonAtomic: true}).run(conn, callback); -/// - public Fill (Arguments args) : this(args, null) { - } -/// -/// Convert a Line object into a Polygon object. If the last point does not specify the same coordinates as the first point, polygon will close the polygon by connecting them. -/// -/// Example: Create a line object and then convert it to a polygon. -/// r.table('geo').insert({ -/// id: 201, -/// rectangle: r.line( -/// [-122.423246,37.779388], -/// [-122.423246,37.329898], -/// [-121.886420,37.329898], -/// [-121.886420,37.779388] -/// ) -/// }).run(conn, callback); -/// -/// r.table('geo').get(201).update({ -/// rectangle: r.row('rectangle').fill() -/// }, {nonAtomic: true}).run(conn, callback); -/// - public Fill (Arguments args, OptArgs optargs) - : base(TermType.FILL, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fill.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fill.cs.meta deleted file mode 100644 index 36dec9110..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fill.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b23e0f10e72ee246b04537352c940e9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Filter.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Filter.cs deleted file mode 100644 index 6b5ceb0e6..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Filter.cs +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Filter : ReqlExpr { - - - - -/// -/// Return all the elements in a sequence for which the given predicate is true. The return value of filter will be the same as the input (sequence, stream, or array). Documents can be filtered in a variety of ways—ranges, nested values, boolean conditions, and the results of anonymous functions. -/// -/// Example: Get all users who are 30 years old. -/// r.table('users').filter({age: 30}).run(conn, callback); -/// -/// The predicate {age: 30} selects documents in the users table with an age field whose value is 30. Documents with an age field set to any other value or with no age field present are skipped. - public Filter (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return all the elements in a sequence for which the given predicate is true. The return value of filter will be the same as the input (sequence, stream, or array). Documents can be filtered in a variety of ways—ranges, nested values, boolean conditions, and the results of anonymous functions. -/// -/// Example: Get all users who are 30 years old. -/// r.table('users').filter({age: 30}).run(conn, callback); -/// -/// The predicate {age: 30} selects documents in the users table with an age field whose value is 30. Documents with an age field set to any other value or with no age field present are skipped. - public Filter (Arguments args) : this(args, null) { - } -/// -/// Return all the elements in a sequence for which the given predicate is true. The return value of filter will be the same as the input (sequence, stream, or array). Documents can be filtered in a variety of ways—ranges, nested values, boolean conditions, and the results of anonymous functions. -/// -/// Example: Get all users who are 30 years old. -/// r.table('users').filter({age: 30}).run(conn, callback); -/// -/// The predicate {age: 30} selects documents in the users table with an age field whose value is 30. Documents with an age field set to any other value or with no age field present are skipped. - public Filter (Arguments args, OptArgs optargs) - : base(TermType.FILTER, args, optargs) { - } - - - - - - - -/// -/// "default": "T_EXPR" -/// - public Filter this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Filter (this.Args, newOptArgs); - } - } - -/// -/// "default": "T_EXPR" -/// - public Filter this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Filter (this.Args, newOptArgs); - } - } - -/// -/// "default": "T_EXPR" -/// - public Filter OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Filter (this.Args, newOptArgs); - } - internal Filter optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Filter.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Filter.cs.meta deleted file mode 100644 index d19401caa..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Filter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 12b733b2b0667cc43bfb03c63e7aa748 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Floor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Floor.cs deleted file mode 100644 index f732b96af..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Floor.cs +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Floor : ReqlExpr { - - - - -/// -/// Rounds the given value down, returning the largest integer value less than or equal to the given value (the value's floor). -/// -/// Example: Return the floor of 12.345. -/// r.floor(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The floor command can also be chained after an expression. - public Floor (object arg) : this(new Arguments(arg), null) { - } -/// -/// Rounds the given value down, returning the largest integer value less than or equal to the given value (the value's floor). -/// -/// Example: Return the floor of 12.345. -/// r.floor(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The floor command can also be chained after an expression. - public Floor (Arguments args) : this(args, null) { - } -/// -/// Rounds the given value down, returning the largest integer value less than or equal to the given value (the value's floor). -/// -/// Example: Return the floor of 12.345. -/// r.floor(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The floor command can also be chained after an expression. - public Floor (Arguments args, OptArgs optargs) - : base(TermType.FLOOR, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Floor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Floor.cs.meta deleted file mode 100644 index 30f0d2d8c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Floor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 117bf1bd2d752394fb3e00a36161ca7d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fold.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fold.cs deleted file mode 100644 index 539b9d177..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fold.cs +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Fold : ReqlExpr { - - - - -/// -/// Apply a function to a sequence in order, maintaining state via an accumulator. The fold command returns either a single value or a new sequence. -/// -/// Example: Concatenate words from a list. -/// r.table('words').orderBy('id').fold('', function (acc, word) { -/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word); -/// }).run(conn, callback); -/// -/// (This example could be implemented with reduce, but fold will preserve the order when words is a RethinkDB table or other stream, which is not guaranteed with reduce.) - public Fold (object arg) : this(new Arguments(arg), null) { - } -/// -/// Apply a function to a sequence in order, maintaining state via an accumulator. The fold command returns either a single value or a new sequence. -/// -/// Example: Concatenate words from a list. -/// r.table('words').orderBy('id').fold('', function (acc, word) { -/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word); -/// }).run(conn, callback); -/// -/// (This example could be implemented with reduce, but fold will preserve the order when words is a RethinkDB table or other stream, which is not guaranteed with reduce.) - public Fold (Arguments args) : this(args, null) { - } -/// -/// Apply a function to a sequence in order, maintaining state via an accumulator. The fold command returns either a single value or a new sequence. -/// -/// Example: Concatenate words from a list. -/// r.table('words').orderBy('id').fold('', function (acc, word) { -/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word); -/// }).run(conn, callback); -/// -/// (This example could be implemented with reduce, but fold will preserve the order when words is a RethinkDB table or other stream, which is not guaranteed with reduce.) - public Fold (Arguments args, OptArgs optargs) - : base(TermType.FOLD, args, optargs) { - } - - - - - - - -/// -/// "emit": "T_FUNC3", -/// "final_emit": "T_FUNC1" -/// - public Fold this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Fold (this.Args, newOptArgs); - } - } - -/// -/// "emit": "T_FUNC3", -/// "final_emit": "T_FUNC1" -/// - public Fold this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Fold (this.Args, newOptArgs); - } - } - -/// -/// "emit": "T_FUNC3", -/// "final_emit": "T_FUNC1" -/// - public Fold OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Fold (this.Args, newOptArgs); - } - internal Fold optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fold.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fold.cs.meta deleted file mode 100644 index 181839e89..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Fold.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6f273e1ffde97de4e99da1e4d91936d9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ForEach.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ForEach.cs deleted file mode 100644 index da036b818..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ForEach.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class ForEach : ReqlExpr { - - - - -/// -/// Loop over a sequence, evaluating the given write query for each element. -/// -/// Example: Now that our heroes have defeated their villains, we can safely remove them from the villain table. -/// r.table('marvel').forEach(function(hero) { -/// return r.table('villains').get(hero('villainDefeated')).delete() -/// }).run(conn, callback) -/// - public ForEach (object arg) : this(new Arguments(arg), null) { - } -/// -/// Loop over a sequence, evaluating the given write query for each element. -/// -/// Example: Now that our heroes have defeated their villains, we can safely remove them from the villain table. -/// r.table('marvel').forEach(function(hero) { -/// return r.table('villains').get(hero('villainDefeated')).delete() -/// }).run(conn, callback) -/// - public ForEach (Arguments args) : this(args, null) { - } -/// -/// Loop over a sequence, evaluating the given write query for each element. -/// -/// Example: Now that our heroes have defeated their villains, we can safely remove them from the villain table. -/// r.table('marvel').forEach(function(hero) { -/// return r.table('villains').get(hero('villainDefeated')).delete() -/// }).run(conn, callback) -/// - public ForEach (Arguments args, OptArgs optargs) - : base(TermType.FOR_EACH, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ForEach.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ForEach.cs.meta deleted file mode 100644 index 2178f0b07..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ForEach.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 636a6125c1fbcfd408f7250c1c04d1a5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Friday.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Friday.cs deleted file mode 100644 index d6382e1d3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Friday.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Friday : ReqlExpr { - - - - - public Friday (object arg) : this(new Arguments(arg), null) { - } - public Friday (Arguments args) : this(args, null) { - } - public Friday (Arguments args, OptArgs optargs) - : base(TermType.FRIDAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Friday.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Friday.cs.meta deleted file mode 100644 index 125fb362a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Friday.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dc91f69b3d7a20e448f9af713fa9a198 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Func.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Func.cs deleted file mode 100644 index f30b6bc4c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Func.cs +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - using System.Threading; - - -namespace RethinkDb.Driver.Ast { - - public partial class Func : ReqlExpr { - - - private static int VarId = 0; - - - - - protected Func(Arguments args) : base(TermType.FUNC, args, null) - { - } - - - - - - - public static Func FromLambda(Delegate function){ - - if( function is ReqlFunction0 func0 ) - { - return new Func(Arguments.Make(new List(), - Util.ToReqlAst( func0() ))); - } - //Function 1 - if( function is ReqlFunction1 func1 ){ - int var1 = NextVarId(); - var varIds = new List{ - var1, - }; - var appliedFunction = func1( - new Var(var1) - ); - return new Func(Arguments.Make( - new MakeArray(varIds), - Util.ToReqlAst(appliedFunction) - )); - } - //Function 2 - if( function is ReqlFunction2 func2 ){ - int var1 = NextVarId(); - int var2 = NextVarId(); - var varIds = new List{ - var1, - var2, - }; - var appliedFunction = func2( - new Var(var1) , - new Var(var2) - ); - return new Func(Arguments.Make( - new MakeArray(varIds), - Util.ToReqlAst(appliedFunction) - )); - } - //Function 3 - if( function is ReqlFunction3 func3 ){ - int var1 = NextVarId(); - int var2 = NextVarId(); - int var3 = NextVarId(); - var varIds = new List{ - var1, - var2, - var3, - }; - var appliedFunction = func3( - new Var(var1) , - new Var(var2) , - new Var(var3) - ); - return new Func(Arguments.Make( - new MakeArray(varIds), - Util.ToReqlAst(appliedFunction) - )); - } - //Function 4 - if( function is ReqlFunction4 func4 ){ - int var1 = NextVarId(); - int var2 = NextVarId(); - int var3 = NextVarId(); - int var4 = NextVarId(); - var varIds = new List{ - var1, - var2, - var3, - var4, - }; - var appliedFunction = func4( - new Var(var1) , - new Var(var2) , - new Var(var3) , - new Var(var4) - ); - return new Func(Arguments.Make( - new MakeArray(varIds), - Util.ToReqlAst(appliedFunction) - )); - } - - throw new ReqlDriverError("Arity of ReqlLambda not recognized!"); - } - - public static Func Serialize(Delegate function, List context){ - - if( function is ReqlFunction0 func0 ) - { - return new Func(Arguments.Make(new List(), - Util.ToReqlAst( func0() ))); - } - //Function 1 - if( function is ReqlFunction1 func1 ){ - Guid var1 = NextVarGuid(); - var varIds = new List{ - var1, - }; - context.AddRange(varIds); - var appliedFunction = func1( - new Var(var1) - ); - return new Func(Arguments.Make( - new MakeArray(varIds), - Util.ToReqlAst(appliedFunction) - )); - } - //Function 2 - if( function is ReqlFunction2 func2 ){ - Guid var1 = NextVarGuid(); - Guid var2 = NextVarGuid(); - var varIds = new List{ - var1, - var2, - }; - context.AddRange(varIds); - var appliedFunction = func2( - new Var(var1) , - new Var(var2) - ); - return new Func(Arguments.Make( - new MakeArray(varIds), - Util.ToReqlAst(appliedFunction) - )); - } - //Function 3 - if( function is ReqlFunction3 func3 ){ - Guid var1 = NextVarGuid(); - Guid var2 = NextVarGuid(); - Guid var3 = NextVarGuid(); - var varIds = new List{ - var1, - var2, - var3, - }; - context.AddRange(varIds); - var appliedFunction = func3( - new Var(var1) , - new Var(var2) , - new Var(var3) - ); - return new Func(Arguments.Make( - new MakeArray(varIds), - Util.ToReqlAst(appliedFunction) - )); - } - //Function 4 - if( function is ReqlFunction4 func4 ){ - Guid var1 = NextVarGuid(); - Guid var2 = NextVarGuid(); - Guid var3 = NextVarGuid(); - Guid var4 = NextVarGuid(); - var varIds = new List{ - var1, - var2, - var3, - var4, - }; - context.AddRange(varIds); - var appliedFunction = func4( - new Var(var1) , - new Var(var2) , - new Var(var3) , - new Var(var4) - ); - return new Func(Arguments.Make( - new MakeArray(varIds), - Util.ToReqlAst(appliedFunction) - )); - } - - throw new ReqlDriverError("Arity of ReqlLambda not recognized!"); - } - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - - - - - - - - - - - - - - - internal static int NextVarId(){ - return Interlocked.Increment(ref VarId); - } - internal static Guid NextVarGuid(){ - return Guid.NewGuid(); - } - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Func.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Func.cs.meta deleted file mode 100644 index 5488dc431..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Func.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 98fd210d50bcec340bbcb9f5ff17b994 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Funcall.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Funcall.cs deleted file mode 100644 index 30088e529..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Funcall.cs +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Funcall : ReqlExpr { - - - private bool swappedArgs = false; - - - - public Funcall (object arg) : this(new Arguments(arg), null) { - } - public Funcall (Arguments args) : this(args, null) { - } - public Funcall (Arguments args, OptArgs optargs) - : base(TermType.FUNCALL, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - - - - - - - - - - - /* - This object should be constructed with arguments first, and the - function itself as the last parameter. This makes it easier for - the places where this object is constructed. The actual wire - format is function first, arguments last, so we flip them around - when building the AST. - */ - protected internal override object Build() { - - if( !swappedArgs ) - { - var lastIdx = this.Args.Count - 1; - var func = this.Args[lastIdx]; - this.Args.RemoveAt(lastIdx); - this.Args.Insert(0, func); - swappedArgs = true; - } - - - return base.Build(); - } - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Funcall.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Funcall.cs.meta deleted file mode 100644 index c29804351..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Funcall.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: abcb048ef452b34468f313bf34ba396f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ge.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ge.cs deleted file mode 100644 index 63fdb25ab..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ge.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Ge : ReqlExpr { - - - - -/// -/// Compare values, testing if the left-hand value is greater than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or more. -/// r.table('players').get(1)('score').ge(10).run(conn, callback); -/// - public Ge (object arg) : this(new Arguments(arg), null) { - } -/// -/// Compare values, testing if the left-hand value is greater than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or more. -/// r.table('players').get(1)('score').ge(10).run(conn, callback); -/// - public Ge (Arguments args) : this(args, null) { - } -/// -/// Compare values, testing if the left-hand value is greater than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or more. -/// r.table('players').get(1)('score').ge(10).run(conn, callback); -/// - public Ge (Arguments args, OptArgs optargs) - : base(TermType.GE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ge.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ge.cs.meta deleted file mode 100644 index ff83290b0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ge.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f716298159964fa4cad7269d17d529bb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Geojson.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Geojson.cs deleted file mode 100644 index 819681823..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Geojson.cs +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Geojson : ReqlExpr { - - - - -/// -/// Convert a GeoJSON object to a ReQL geometry object. -/// -/// Example: Convert a GeoJSON object to a ReQL geometry object. -/// var geoJson = { -/// 'type': 'Point', -/// 'coordinates': [ -122.423246, 37.779388 ] -/// }; -/// r.table('geo').insert({ -/// id: 'sfo', -/// name: 'San Francisco', -/// location: r.geojson(geoJson) -/// }).run(conn, callback); -/// - public Geojson (object arg) : this(new Arguments(arg), null) { - } -/// -/// Convert a GeoJSON object to a ReQL geometry object. -/// -/// Example: Convert a GeoJSON object to a ReQL geometry object. -/// var geoJson = { -/// 'type': 'Point', -/// 'coordinates': [ -122.423246, 37.779388 ] -/// }; -/// r.table('geo').insert({ -/// id: 'sfo', -/// name: 'San Francisco', -/// location: r.geojson(geoJson) -/// }).run(conn, callback); -/// - public Geojson (Arguments args) : this(args, null) { - } -/// -/// Convert a GeoJSON object to a ReQL geometry object. -/// -/// Example: Convert a GeoJSON object to a ReQL geometry object. -/// var geoJson = { -/// 'type': 'Point', -/// 'coordinates': [ -122.423246, 37.779388 ] -/// }; -/// r.table('geo').insert({ -/// id: 'sfo', -/// name: 'San Francisco', -/// location: r.geojson(geoJson) -/// }).run(conn, callback); -/// - public Geojson (Arguments args, OptArgs optargs) - : base(TermType.GEOJSON, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Geojson.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Geojson.cs.meta deleted file mode 100644 index 497ed3974..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Geojson.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 428658b12249bf247b27341afad7b412 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Get.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Get.cs deleted file mode 100644 index 211248e19..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Get.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Get : ReqlExpr { - - - - -/// -/// Get a document by primary key. -/// -/// Example: Find a document by UUID. -/// r.table('posts').get('a9849eef-7176-4411-935b-79a6e3c56a74').run(conn, callback); -/// - public Get (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get a document by primary key. -/// -/// Example: Find a document by UUID. -/// r.table('posts').get('a9849eef-7176-4411-935b-79a6e3c56a74').run(conn, callback); -/// - public Get (Arguments args) : this(args, null) { - } -/// -/// Get a document by primary key. -/// -/// Example: Find a document by UUID. -/// r.table('posts').get('a9849eef-7176-4411-935b-79a6e3c56a74').run(conn, callback); -/// - public Get (Arguments args, OptArgs optargs) - : base(TermType.GET, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Get.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Get.cs.meta deleted file mode 100644 index 58ade6108..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Get.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8ef76c65b1a4056479670f729b747da9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetAll.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetAll.cs deleted file mode 100644 index 77007f935..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetAll.cs +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class GetAll : ReqlExpr { - - - - -/// -/// Get all documents where the given value matches the value of the requested index. -/// -/// Example: Secondary index keys are not guaranteed to be unique so we cannot query via get when using a secondary index. -/// r.table('marvel').getAll('man_of_steel', {index:'code_name'}).run(conn, callback) -/// - public GetAll (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get all documents where the given value matches the value of the requested index. -/// -/// Example: Secondary index keys are not guaranteed to be unique so we cannot query via get when using a secondary index. -/// r.table('marvel').getAll('man_of_steel', {index:'code_name'}).run(conn, callback) -/// - public GetAll (Arguments args) : this(args, null) { - } -/// -/// Get all documents where the given value matches the value of the requested index. -/// -/// Example: Secondary index keys are not guaranteed to be unique so we cannot query via get when using a secondary index. -/// r.table('marvel').getAll('man_of_steel', {index:'code_name'}).run(conn, callback) -/// - public GetAll (Arguments args, OptArgs optargs) - : base(TermType.GET_ALL, args, optargs) { - } - - - - - - - -/// -/// "index": "T_STR" -/// - public GetAll this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new GetAll (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public GetAll this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new GetAll (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public GetAll OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new GetAll (this.Args, newOptArgs); - } - internal GetAll optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetAll.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetAll.cs.meta deleted file mode 100644 index 42eebda40..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetAll.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c3b2d29a52b2a76478bc1252acb30523 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetField.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetField.cs deleted file mode 100644 index da0c9b1e8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetField.cs +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class GetField : ReqlExpr { - - - - -/// -/// Get a single field from an object. If called on a sequence, gets that field from every -/// object in the sequence, skipping objects that lack it. -/// -/// Example: What was Iron Man's first appearance in a comic? -/// r.table('marvel').get('IronMan').getField('firstAppearance').run(conn, callback) -/// - public GetField (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get a single field from an object. If called on a sequence, gets that field from every -/// object in the sequence, skipping objects that lack it. -/// -/// Example: What was Iron Man's first appearance in a comic? -/// r.table('marvel').get('IronMan').getField('firstAppearance').run(conn, callback) -/// - public GetField (Arguments args) : this(args, null) { - } -/// -/// Get a single field from an object. If called on a sequence, gets that field from every -/// object in the sequence, skipping objects that lack it. -/// -/// Example: What was Iron Man's first appearance in a comic? -/// r.table('marvel').get('IronMan').getField('firstAppearance').run(conn, callback) -/// - public GetField (Arguments args, OptArgs optargs) - : base(TermType.GET_FIELD, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetField.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetField.cs.meta deleted file mode 100644 index 05cab5810..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetField.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 89e631caea4a2b6479250f2540fbf99b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetIntersecting.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetIntersecting.cs deleted file mode 100644 index a2745484c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetIntersecting.cs +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class GetIntersecting : ReqlExpr { - - - - -/// -/// Get all documents where the given geometry object intersects the geometry object of the requested geospatial index. -/// -/// Example: Which of the locations in a list of parks intersect circle1? -/// var circle1 = r.circle([-117.220406,32.719464], 10, {unit: 'mi'}); -/// r.table('parks').getIntersecting(circle1, {index: 'area'}).run(conn, callback); -/// - public GetIntersecting (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get all documents where the given geometry object intersects the geometry object of the requested geospatial index. -/// -/// Example: Which of the locations in a list of parks intersect circle1? -/// var circle1 = r.circle([-117.220406,32.719464], 10, {unit: 'mi'}); -/// r.table('parks').getIntersecting(circle1, {index: 'area'}).run(conn, callback); -/// - public GetIntersecting (Arguments args) : this(args, null) { - } -/// -/// Get all documents where the given geometry object intersects the geometry object of the requested geospatial index. -/// -/// Example: Which of the locations in a list of parks intersect circle1? -/// var circle1 = r.circle([-117.220406,32.719464], 10, {unit: 'mi'}); -/// r.table('parks').getIntersecting(circle1, {index: 'area'}).run(conn, callback); -/// - public GetIntersecting (Arguments args, OptArgs optargs) - : base(TermType.GET_INTERSECTING, args, optargs) { - } - - - - - - - -/// -/// "index": "T_STR" -/// - public GetIntersecting this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new GetIntersecting (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public GetIntersecting this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new GetIntersecting (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public GetIntersecting OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new GetIntersecting (this.Args, newOptArgs); - } - internal GetIntersecting optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetIntersecting.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetIntersecting.cs.meta deleted file mode 100644 index c586a8790..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetIntersecting.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0aa46adcbb3b46a4da3fc9a5434cb480 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetNearest.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetNearest.cs deleted file mode 100644 index ed4ee35a2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetNearest.cs +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class GetNearest : ReqlExpr { - - - - -/// -/// Get all documents where the specified geospatial index is within a certain distance of the specified point (default 100 kilometers). -/// -/// Example: Return a list of enemy hideouts within 5000 meters of the secret base. -/// var secretBase = r.point(-122.422876,37.777128); -/// r.table('hideouts').getNearest(secretBase, -/// {index: 'location', maxDist: 5000} -/// ).run(conn, callback) -/// - public GetNearest (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get all documents where the specified geospatial index is within a certain distance of the specified point (default 100 kilometers). -/// -/// Example: Return a list of enemy hideouts within 5000 meters of the secret base. -/// var secretBase = r.point(-122.422876,37.777128); -/// r.table('hideouts').getNearest(secretBase, -/// {index: 'location', maxDist: 5000} -/// ).run(conn, callback) -/// - public GetNearest (Arguments args) : this(args, null) { - } -/// -/// Get all documents where the specified geospatial index is within a certain distance of the specified point (default 100 kilometers). -/// -/// Example: Return a list of enemy hideouts within 5000 meters of the secret base. -/// var secretBase = r.point(-122.422876,37.777128); -/// r.table('hideouts').getNearest(secretBase, -/// {index: 'location', maxDist: 5000} -/// ).run(conn, callback) -/// - public GetNearest (Arguments args, OptArgs optargs) - : base(TermType.GET_NEAREST, args, optargs) { - } - - - - - - - -/// -/// "index": "T_STR", -/// "max_results": "T_NUM", -/// "unit": "E_UNIT", -/// "max_dist": "T_NUM", -/// "geo_system": "E_GEO_SYSTEM" -/// - public GetNearest this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new GetNearest (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR", -/// "max_results": "T_NUM", -/// "unit": "E_UNIT", -/// "max_dist": "T_NUM", -/// "geo_system": "E_GEO_SYSTEM" -/// - public GetNearest this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new GetNearest (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR", -/// "max_results": "T_NUM", -/// "unit": "E_UNIT", -/// "max_dist": "T_NUM", -/// "geo_system": "E_GEO_SYSTEM" -/// - public GetNearest OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new GetNearest (this.Args, newOptArgs); - } - internal GetNearest optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetNearest.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetNearest.cs.meta deleted file mode 100644 index ddd2e65f0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/GetNearest.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5d02270d0cdb72f4694e26245f64ba95 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Grant.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Grant.cs deleted file mode 100644 index d4a41cc38..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Grant.cs +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Grant : ReqlExpr { - - - - -/// -/// Grant or deny access permissions for a user account, globally or on a per-database or per-table basis. -/// -/// Example: Grant the chatapp user account read and write permissions on the users database. -/// r.db('users').grant('chatapp', {read: true, write: true}).run(conn, callback); -/// -/// // Result passed to callback -/// { -/// "granted": 1, -/// "permissions_changes": [ -/// { -/// "new_val": { "read": true, "write": true }, -/// "old_val": { null } -/// } -/// ] -/// - public Grant (object arg) : this(new Arguments(arg), null) { - } -/// -/// Grant or deny access permissions for a user account, globally or on a per-database or per-table basis. -/// -/// Example: Grant the chatapp user account read and write permissions on the users database. -/// r.db('users').grant('chatapp', {read: true, write: true}).run(conn, callback); -/// -/// // Result passed to callback -/// { -/// "granted": 1, -/// "permissions_changes": [ -/// { -/// "new_val": { "read": true, "write": true }, -/// "old_val": { null } -/// } -/// ] -/// - public Grant (Arguments args) : this(args, null) { - } -/// -/// Grant or deny access permissions for a user account, globally or on a per-database or per-table basis. -/// -/// Example: Grant the chatapp user account read and write permissions on the users database. -/// r.db('users').grant('chatapp', {read: true, write: true}).run(conn, callback); -/// -/// // Result passed to callback -/// { -/// "granted": 1, -/// "permissions_changes": [ -/// { -/// "new_val": { "read": true, "write": true }, -/// "old_val": { null } -/// } -/// ] -/// - public Grant (Arguments args, OptArgs optargs) - : base(TermType.GRANT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Grant.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Grant.cs.meta deleted file mode 100644 index 1fdbe3e2b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Grant.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e8cb9d527fd627f4ab8666cc219bc816 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Group.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Group.cs deleted file mode 100644 index 1848552e1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Group.cs +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Group : ReqlExpr { - - - - -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group (object arg) : this(new Arguments(arg), null) { - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group (Arguments args) : this(args, null) { - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group (Arguments args, OptArgs optargs) - : base(TermType.GROUP, args, optargs) { - } - - - - - - - -/// -/// "index": "T_STR", -/// "multi": "T_BOOL" -/// - public Group this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Group (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR", -/// "multi": "T_BOOL" -/// - public Group this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Group (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR", -/// "multi": "T_BOOL" -/// - public Group OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Group (this.Args, newOptArgs); - } - internal Group optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Group.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Group.cs.meta deleted file mode 100644 index 75f8ea3ca..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Group.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: efe8d6789d5ff9d478d029d63f91b321 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Gt.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Gt.cs deleted file mode 100644 index a10083b2a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Gt.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Gt : ReqlExpr { - - - - -/// -/// Compare values, testing if the left-hand value is greater than the right-hand. -/// -/// Example: Test if a player has scored more than 10 points. -/// r.table('players').get(1)('score').gt(10).run(conn, callback); -/// - public Gt (object arg) : this(new Arguments(arg), null) { - } -/// -/// Compare values, testing if the left-hand value is greater than the right-hand. -/// -/// Example: Test if a player has scored more than 10 points. -/// r.table('players').get(1)('score').gt(10).run(conn, callback); -/// - public Gt (Arguments args) : this(args, null) { - } -/// -/// Compare values, testing if the left-hand value is greater than the right-hand. -/// -/// Example: Test if a player has scored more than 10 points. -/// r.table('players').get(1)('score').gt(10).run(conn, callback); -/// - public Gt (Arguments args, OptArgs optargs) - : base(TermType.GT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Gt.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Gt.cs.meta deleted file mode 100644 index 2b446e6c0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Gt.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2a645643565a9f94f837d45751575ccd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/HasFields.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/HasFields.cs deleted file mode 100644 index 94dc0c14d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/HasFields.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class HasFields : ReqlExpr { - - - - -/// -/// Test if an object has one or more fields. An object has a field if it has that key and the key has a non-null value. For instance, the object {'a': 1,'b': 2,'c': null} has the fields a and b. -/// -/// Example: Return the players who have won games. -/// r.table('players').hasFields('games_won').run(conn, callback) -/// - public HasFields (object arg) : this(new Arguments(arg), null) { - } -/// -/// Test if an object has one or more fields. An object has a field if it has that key and the key has a non-null value. For instance, the object {'a': 1,'b': 2,'c': null} has the fields a and b. -/// -/// Example: Return the players who have won games. -/// r.table('players').hasFields('games_won').run(conn, callback) -/// - public HasFields (Arguments args) : this(args, null) { - } -/// -/// Test if an object has one or more fields. An object has a field if it has that key and the key has a non-null value. For instance, the object {'a': 1,'b': 2,'c': null} has the fields a and b. -/// -/// Example: Return the players who have won games. -/// r.table('players').hasFields('games_won').run(conn, callback) -/// - public HasFields (Arguments args, OptArgs optargs) - : base(TermType.HAS_FIELDS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/HasFields.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/HasFields.cs.meta deleted file mode 100644 index e09f45a72..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/HasFields.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf21ef07daea88743b7e9d5d3e50ac0f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Hours.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Hours.cs deleted file mode 100644 index e219b2b75..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Hours.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Hours : ReqlExpr { - - - - -/// -/// Return the hour in a time object as a number between 0 and 23. -/// -/// Example: Return all the posts submitted after midnight and before 4am. -/// r.table("posts").filter(function(post) { -/// return post("date").hours().lt(4) -/// }) -/// - public Hours (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the hour in a time object as a number between 0 and 23. -/// -/// Example: Return all the posts submitted after midnight and before 4am. -/// r.table("posts").filter(function(post) { -/// return post("date").hours().lt(4) -/// }) -/// - public Hours (Arguments args) : this(args, null) { - } -/// -/// Return the hour in a time object as a number between 0 and 23. -/// -/// Example: Return all the posts submitted after midnight and before 4am. -/// r.table("posts").filter(function(post) { -/// return post("date").hours().lt(4) -/// }) -/// - public Hours (Arguments args, OptArgs optargs) - : base(TermType.HOURS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Hours.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Hours.cs.meta deleted file mode 100644 index 8e0531e65..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Hours.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fe262e7b5da2b79428fd06d66f9361fb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Http.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Http.cs deleted file mode 100644 index 3c98a79f4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Http.cs +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Http : ReqlExpr { - - - - -/// -/// Retrieve data from the specified URL over HTTP. The return type depends on the resultFormat option, which checks the Content-Type of the response by default. -/// -/// Example: Perform an HTTP GET and store the result in a table. -/// r.table('posts').insert(r.http('http://httpbin.org/get')).run(conn, callback) -/// - public Http (object arg) : this(new Arguments(arg), null) { - } -/// -/// Retrieve data from the specified URL over HTTP. The return type depends on the resultFormat option, which checks the Content-Type of the response by default. -/// -/// Example: Perform an HTTP GET and store the result in a table. -/// r.table('posts').insert(r.http('http://httpbin.org/get')).run(conn, callback) -/// - public Http (Arguments args) : this(args, null) { - } -/// -/// Retrieve data from the specified URL over HTTP. The return type depends on the resultFormat option, which checks the Content-Type of the response by default. -/// -/// Example: Perform an HTTP GET and store the result in a table. -/// r.table('posts').insert(r.http('http://httpbin.org/get')).run(conn, callback) -/// - public Http (Arguments args, OptArgs optargs) - : base(TermType.HTTP, args, optargs) { - } - - - - - - - -/// -/// "timeout": "T_NUM", -/// "reattempts": "T_NUM", -/// "redirects": "T_NUM", -/// "verify": "T_BOOL", -/// "result_format": "E_RESULT_FORMAT", -/// "method": "E_HTTP_METHOD", -/// "auth": { -/// "type": "E_AUTH_TYPE", -/// "user": "T_STR", -/// "pass": "T_STR" -/// }, -/// "params": "T_OBJECT", -/// "header": [ -/// "T_ARRAY", -/// "T_OBJECT" -/// ], -/// "data": [ -/// "T_STR", -/// "T_OBJECT" -/// ] -/// - public Http this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Http (this.Args, newOptArgs); - } - } - -/// -/// "timeout": "T_NUM", -/// "reattempts": "T_NUM", -/// "redirects": "T_NUM", -/// "verify": "T_BOOL", -/// "result_format": "E_RESULT_FORMAT", -/// "method": "E_HTTP_METHOD", -/// "auth": { -/// "type": "E_AUTH_TYPE", -/// "user": "T_STR", -/// "pass": "T_STR" -/// }, -/// "params": "T_OBJECT", -/// "header": [ -/// "T_ARRAY", -/// "T_OBJECT" -/// ], -/// "data": [ -/// "T_STR", -/// "T_OBJECT" -/// ] -/// - public Http this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Http (this.Args, newOptArgs); - } - } - -/// -/// "timeout": "T_NUM", -/// "reattempts": "T_NUM", -/// "redirects": "T_NUM", -/// "verify": "T_BOOL", -/// "result_format": "E_RESULT_FORMAT", -/// "method": "E_HTTP_METHOD", -/// "auth": { -/// "type": "E_AUTH_TYPE", -/// "user": "T_STR", -/// "pass": "T_STR" -/// }, -/// "params": "T_OBJECT", -/// "header": [ -/// "T_ARRAY", -/// "T_OBJECT" -/// ], -/// "data": [ -/// "T_STR", -/// "T_OBJECT" -/// ] -/// - public Http OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Http (this.Args, newOptArgs); - } - internal Http optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Http.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Http.cs.meta deleted file mode 100644 index 56fae496a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Http.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 639b8614629d9b14f8df7881beef5414 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InTimezone.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InTimezone.cs deleted file mode 100644 index 1fa16adb0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InTimezone.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class InTimezone : ReqlExpr { - - - - -/// -/// Return a new time object with a different timezone. While the time stays the same, the results returned by methods such as hours() will change since they take the timezone into account. The timezone argument has to be of the ISO 8601 format. -/// -/// Example: Hour of the day in San Francisco (UTC/GMT -8, without daylight saving time). -/// r.now().inTimezone('-08:00').hours().run(conn, callback) -/// - public InTimezone (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return a new time object with a different timezone. While the time stays the same, the results returned by methods such as hours() will change since they take the timezone into account. The timezone argument has to be of the ISO 8601 format. -/// -/// Example: Hour of the day in San Francisco (UTC/GMT -8, without daylight saving time). -/// r.now().inTimezone('-08:00').hours().run(conn, callback) -/// - public InTimezone (Arguments args) : this(args, null) { - } -/// -/// Return a new time object with a different timezone. While the time stays the same, the results returned by methods such as hours() will change since they take the timezone into account. The timezone argument has to be of the ISO 8601 format. -/// -/// Example: Hour of the day in San Francisco (UTC/GMT -8, without daylight saving time). -/// r.now().inTimezone('-08:00').hours().run(conn, callback) -/// - public InTimezone (Arguments args, OptArgs optargs) - : base(TermType.IN_TIMEZONE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InTimezone.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InTimezone.cs.meta deleted file mode 100644 index 513519302..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InTimezone.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 23b76992ba4984f4ea769b6d7cab5d3e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Includes.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Includes.cs deleted file mode 100644 index 882787583..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Includes.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Includes : ReqlExpr { - - - - -/// -/// Tests whether a geometry object is completely contained within another. When applied to a sequence of geometry objects, includes acts as a filter, returning a sequence of objects from the sequence that include the argument. -/// -/// Example: Is point2 included within a 2000-meter circle around point1? -/// var point1 = r.point(-117.220406,32.719464); -/// var point2 = r.point(-117.206201,32.725186); -/// r.circle(point1, 2000).includes(point2).run(conn, callback); -/// // result returned to callback -/// true -/// - public Includes (object arg) : this(new Arguments(arg), null) { - } -/// -/// Tests whether a geometry object is completely contained within another. When applied to a sequence of geometry objects, includes acts as a filter, returning a sequence of objects from the sequence that include the argument. -/// -/// Example: Is point2 included within a 2000-meter circle around point1? -/// var point1 = r.point(-117.220406,32.719464); -/// var point2 = r.point(-117.206201,32.725186); -/// r.circle(point1, 2000).includes(point2).run(conn, callback); -/// // result returned to callback -/// true -/// - public Includes (Arguments args) : this(args, null) { - } -/// -/// Tests whether a geometry object is completely contained within another. When applied to a sequence of geometry objects, includes acts as a filter, returning a sequence of objects from the sequence that include the argument. -/// -/// Example: Is point2 included within a 2000-meter circle around point1? -/// var point1 = r.point(-117.220406,32.719464); -/// var point2 = r.point(-117.206201,32.725186); -/// r.circle(point1, 2000).includes(point2).run(conn, callback); -/// // result returned to callback -/// true -/// - public Includes (Arguments args, OptArgs optargs) - : base(TermType.INCLUDES, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Includes.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Includes.cs.meta deleted file mode 100644 index 9973d45c4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Includes.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4fd48d07de32db243aaffc2ab991914f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexCreate.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexCreate.cs deleted file mode 100644 index 404f1903a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexCreate.cs +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class IndexCreate : ReqlExpr { - - - - -/// -/// Create a new secondary index on a table. Secondary indexes improve the speed of many read queries at the slight cost of increased storage space and decreased write performance. For more information about secondary indexes, read the article "Using secondary indexes in RethinkDB." -/// -/// Example: Create a simple index based on the field postId. -/// r.table('comments').indexCreate('postId').run(conn, callback) -/// - public IndexCreate (object arg) : this(new Arguments(arg), null) { - } -/// -/// Create a new secondary index on a table. Secondary indexes improve the speed of many read queries at the slight cost of increased storage space and decreased write performance. For more information about secondary indexes, read the article "Using secondary indexes in RethinkDB." -/// -/// Example: Create a simple index based on the field postId. -/// r.table('comments').indexCreate('postId').run(conn, callback) -/// - public IndexCreate (Arguments args) : this(args, null) { - } -/// -/// Create a new secondary index on a table. Secondary indexes improve the speed of many read queries at the slight cost of increased storage space and decreased write performance. For more information about secondary indexes, read the article "Using secondary indexes in RethinkDB." -/// -/// Example: Create a simple index based on the field postId. -/// r.table('comments').indexCreate('postId').run(conn, callback) -/// - public IndexCreate (Arguments args, OptArgs optargs) - : base(TermType.INDEX_CREATE, args, optargs) { - } - - - - - - - -/// -/// "multi": "T_BOOL", -/// "geo": "T_BOOL" -/// - public IndexCreate this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new IndexCreate (this.Args, newOptArgs); - } - } - -/// -/// "multi": "T_BOOL", -/// "geo": "T_BOOL" -/// - public IndexCreate this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new IndexCreate (this.Args, newOptArgs); - } - } - -/// -/// "multi": "T_BOOL", -/// "geo": "T_BOOL" -/// - public IndexCreate OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new IndexCreate (this.Args, newOptArgs); - } - internal IndexCreate optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexCreate.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexCreate.cs.meta deleted file mode 100644 index 50e6164c4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexCreate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b737e52cf6b27154181bc134ea96d6b7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexDrop.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexDrop.cs deleted file mode 100644 index d80c5dcbd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexDrop.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class IndexDrop : ReqlExpr { - - - - -/// -/// Delete a previously created secondary index of this table. -/// -/// Example: Drop a secondary index named 'code_name'. -/// r.table('dc').indexDrop('code_name').run(conn, callback) -/// - public IndexDrop (object arg) : this(new Arguments(arg), null) { - } -/// -/// Delete a previously created secondary index of this table. -/// -/// Example: Drop a secondary index named 'code_name'. -/// r.table('dc').indexDrop('code_name').run(conn, callback) -/// - public IndexDrop (Arguments args) : this(args, null) { - } -/// -/// Delete a previously created secondary index of this table. -/// -/// Example: Drop a secondary index named 'code_name'. -/// r.table('dc').indexDrop('code_name').run(conn, callback) -/// - public IndexDrop (Arguments args, OptArgs optargs) - : base(TermType.INDEX_DROP, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexDrop.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexDrop.cs.meta deleted file mode 100644 index 08e94b436..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexDrop.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c866157b16c08054582052939383a411 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexList.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexList.cs deleted file mode 100644 index fe18176f5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexList.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class IndexList : ReqlExpr { - - - - -/// -/// List all the secondary indexes of this table. -/// -/// Example: List the available secondary indexes for this table. -/// r.table('marvel').indexList().run(conn, callback) -/// - public IndexList (object arg) : this(new Arguments(arg), null) { - } -/// -/// List all the secondary indexes of this table. -/// -/// Example: List the available secondary indexes for this table. -/// r.table('marvel').indexList().run(conn, callback) -/// - public IndexList (Arguments args) : this(args, null) { - } -/// -/// List all the secondary indexes of this table. -/// -/// Example: List the available secondary indexes for this table. -/// r.table('marvel').indexList().run(conn, callback) -/// - public IndexList (Arguments args, OptArgs optargs) - : base(TermType.INDEX_LIST, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexList.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexList.cs.meta deleted file mode 100644 index 8c0afb230..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2560a93cf91d67c4aaf126872f9d6e76 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexRename.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexRename.cs deleted file mode 100644 index 80afb37df..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexRename.cs +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class IndexRename : ReqlExpr { - - - - -/// -/// Rename an existing secondary index on a table. If the optional argument overwrite is specified as true, a previously existing index with the new name will be deleted and the index will be renamed. If overwrite is false (the default) an error will be raised if the new index name already exists. -/// -/// Example: Rename an index on the comments table. -/// r.table('comments').indexRename('postId', 'messageId').run(conn, callback) -/// - public IndexRename (object arg) : this(new Arguments(arg), null) { - } -/// -/// Rename an existing secondary index on a table. If the optional argument overwrite is specified as true, a previously existing index with the new name will be deleted and the index will be renamed. If overwrite is false (the default) an error will be raised if the new index name already exists. -/// -/// Example: Rename an index on the comments table. -/// r.table('comments').indexRename('postId', 'messageId').run(conn, callback) -/// - public IndexRename (Arguments args) : this(args, null) { - } -/// -/// Rename an existing secondary index on a table. If the optional argument overwrite is specified as true, a previously existing index with the new name will be deleted and the index will be renamed. If overwrite is false (the default) an error will be raised if the new index name already exists. -/// -/// Example: Rename an index on the comments table. -/// r.table('comments').indexRename('postId', 'messageId').run(conn, callback) -/// - public IndexRename (Arguments args, OptArgs optargs) - : base(TermType.INDEX_RENAME, args, optargs) { - } - - - - - - - -/// -/// "overwrite": "T_BOOL" -/// - public IndexRename this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new IndexRename (this.Args, newOptArgs); - } - } - -/// -/// "overwrite": "T_BOOL" -/// - public IndexRename this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new IndexRename (this.Args, newOptArgs); - } - } - -/// -/// "overwrite": "T_BOOL" -/// - public IndexRename OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new IndexRename (this.Args, newOptArgs); - } - internal IndexRename optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexRename.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexRename.cs.meta deleted file mode 100644 index 952841ed5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexRename.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c5180897d58d94047be9aba5d0ed2216 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexStatus.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexStatus.cs deleted file mode 100644 index 8046f07bd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexStatus.cs +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class IndexStatus : ReqlExpr { - - - - -/// -/// Get the status of the specified indexes on this table, or the status -/// of all indexes on this table if no indexes are specified. -/// -/// Example: Get the status of all the indexes on test: -/// r.table('test').indexStatus().run(conn, callback) -/// - public IndexStatus (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get the status of the specified indexes on this table, or the status -/// of all indexes on this table if no indexes are specified. -/// -/// Example: Get the status of all the indexes on test: -/// r.table('test').indexStatus().run(conn, callback) -/// - public IndexStatus (Arguments args) : this(args, null) { - } -/// -/// Get the status of the specified indexes on this table, or the status -/// of all indexes on this table if no indexes are specified. -/// -/// Example: Get the status of all the indexes on test: -/// r.table('test').indexStatus().run(conn, callback) -/// - public IndexStatus (Arguments args, OptArgs optargs) - : base(TermType.INDEX_STATUS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexStatus.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexStatus.cs.meta deleted file mode 100644 index 0cddd44f3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexStatus.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0e2373c4f30085e44ba6ab7b269f89f5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexWait.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexWait.cs deleted file mode 100644 index 187b5af32..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexWait.cs +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class IndexWait : ReqlExpr { - - - - -/// -/// Wait for the specified indexes on this table to be ready, or for all -/// indexes on this table to be ready if no indexes are specified. -/// -/// Example: Wait for all indexes on the table test to be ready: -/// r.table('test').indexWait().run(conn, callback) -/// - public IndexWait (object arg) : this(new Arguments(arg), null) { - } -/// -/// Wait for the specified indexes on this table to be ready, or for all -/// indexes on this table to be ready if no indexes are specified. -/// -/// Example: Wait for all indexes on the table test to be ready: -/// r.table('test').indexWait().run(conn, callback) -/// - public IndexWait (Arguments args) : this(args, null) { - } -/// -/// Wait for the specified indexes on this table to be ready, or for all -/// indexes on this table to be ready if no indexes are specified. -/// -/// Example: Wait for all indexes on the table test to be ready: -/// r.table('test').indexWait().run(conn, callback) -/// - public IndexWait (Arguments args, OptArgs optargs) - : base(TermType.INDEX_WAIT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexWait.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexWait.cs.meta deleted file mode 100644 index c4b1fbf32..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IndexWait.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0f3b80916799e5740b7df5f3f598e888 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Info.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Info.cs deleted file mode 100644 index 2aa19ff20..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Info.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Info : ReqlExpr { - - - - -/// -/// Get information about a ReQL value. -/// -/// Example: Get information about a table such as primary key, or cache size. -/// r.table('marvel').info().run(conn, callback) -/// - public Info (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get information about a ReQL value. -/// -/// Example: Get information about a table such as primary key, or cache size. -/// r.table('marvel').info().run(conn, callback) -/// - public Info (Arguments args) : this(args, null) { - } -/// -/// Get information about a ReQL value. -/// -/// Example: Get information about a table such as primary key, or cache size. -/// r.table('marvel').info().run(conn, callback) -/// - public Info (Arguments args, OptArgs optargs) - : base(TermType.INFO, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Info.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Info.cs.meta deleted file mode 100644 index 452f45982..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Info.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0bcb9151eb8459442a6b14db67577ea1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InnerJoin.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InnerJoin.cs deleted file mode 100644 index db41e649f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InnerJoin.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class InnerJoin : ReqlExpr { - - - - -/// -/// Returns an inner join of two sequences. -/// -/// Example: Return a list of all matchups between Marvel and DC heroes in which the DC hero could beat the Marvel hero in a fight. -/// r.table('marvel').innerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).zip().run(conn, callback) -/// - public InnerJoin (object arg) : this(new Arguments(arg), null) { - } -/// -/// Returns an inner join of two sequences. -/// -/// Example: Return a list of all matchups between Marvel and DC heroes in which the DC hero could beat the Marvel hero in a fight. -/// r.table('marvel').innerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).zip().run(conn, callback) -/// - public InnerJoin (Arguments args) : this(args, null) { - } -/// -/// Returns an inner join of two sequences. -/// -/// Example: Return a list of all matchups between Marvel and DC heroes in which the DC hero could beat the Marvel hero in a fight. -/// r.table('marvel').innerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).zip().run(conn, callback) -/// - public InnerJoin (Arguments args, OptArgs optargs) - : base(TermType.INNER_JOIN, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InnerJoin.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InnerJoin.cs.meta deleted file mode 100644 index ab888effd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InnerJoin.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 92152dd18336ad44090aa769f5e1c033 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Insert.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Insert.cs deleted file mode 100644 index 2a0985917..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Insert.cs +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Insert : ReqlExpr { - - - - -/// -/// Insert documents into a table. Accepts a single document or an array of -/// documents. -/// -/// Example: Insert a document into the table posts. -/// r.table("posts").insert({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Dolor sit amet" -/// }).run(conn, callback) -/// - public Insert (object arg) : this(new Arguments(arg), null) { - } -/// -/// Insert documents into a table. Accepts a single document or an array of -/// documents. -/// -/// Example: Insert a document into the table posts. -/// r.table("posts").insert({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Dolor sit amet" -/// }).run(conn, callback) -/// - public Insert (Arguments args) : this(args, null) { - } -/// -/// Insert documents into a table. Accepts a single document or an array of -/// documents. -/// -/// Example: Insert a document into the table posts. -/// r.table("posts").insert({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Dolor sit amet" -/// }).run(conn, callback) -/// - public Insert (Arguments args, OptArgs optargs) - : base(TermType.INSERT, args, optargs) { - } - - - - - - - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ], -/// "conflict": "E_CONFLICT" -/// - public Insert this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Insert (this.Args, newOptArgs); - } - } - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ], -/// "conflict": "E_CONFLICT" -/// - public Insert this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Insert (this.Args, newOptArgs); - } - } - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ], -/// "conflict": "E_CONFLICT" -/// - public Insert OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Insert (this.Args, newOptArgs); - } - internal Insert optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Insert.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Insert.cs.meta deleted file mode 100644 index 8c3e7e615..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Insert.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 33c3628a3a10a064ba0f034fd6400888 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InsertAt.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InsertAt.cs deleted file mode 100644 index de577b874..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InsertAt.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class InsertAt : ReqlExpr { - - - - -/// -/// Insert a value in to an array at a given index. Returns the modified array. -/// -/// Example: Hulk decides to join the avengers. -/// r.expr(["Iron Man", "Spider-Man"]).insertAt(1, "Hulk").run(conn, callback) -/// - public InsertAt (object arg) : this(new Arguments(arg), null) { - } -/// -/// Insert a value in to an array at a given index. Returns the modified array. -/// -/// Example: Hulk decides to join the avengers. -/// r.expr(["Iron Man", "Spider-Man"]).insertAt(1, "Hulk").run(conn, callback) -/// - public InsertAt (Arguments args) : this(args, null) { - } -/// -/// Insert a value in to an array at a given index. Returns the modified array. -/// -/// Example: Hulk decides to join the avengers. -/// r.expr(["Iron Man", "Spider-Man"]).insertAt(1, "Hulk").run(conn, callback) -/// - public InsertAt (Arguments args, OptArgs optargs) - : base(TermType.INSERT_AT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InsertAt.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InsertAt.cs.meta deleted file mode 100644 index b30fcc8ab..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/InsertAt.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dc4ae03eed7071245acd4eb4fbb1b0dc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Intersects.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Intersects.cs deleted file mode 100644 index bac02d304..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Intersects.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Intersects : ReqlExpr { - - - - -/// -/// Tests whether two geometry objects intersect with one another. When applied to a sequence of geometry objects, intersects acts as a filter, returning a sequence of objects from the sequence that intersect with the argument. -/// -/// Example: Is point2 within a 2000-meter circle around point1? -/// var point1 = r.point(-117.220406,32.719464); -/// var point2 = r.point(-117.206201,32.725186); -/// r.circle(point1, 2000).intersects(point2).run(conn, callback); -/// // result returned to callback -/// true -/// - public Intersects (object arg) : this(new Arguments(arg), null) { - } -/// -/// Tests whether two geometry objects intersect with one another. When applied to a sequence of geometry objects, intersects acts as a filter, returning a sequence of objects from the sequence that intersect with the argument. -/// -/// Example: Is point2 within a 2000-meter circle around point1? -/// var point1 = r.point(-117.220406,32.719464); -/// var point2 = r.point(-117.206201,32.725186); -/// r.circle(point1, 2000).intersects(point2).run(conn, callback); -/// // result returned to callback -/// true -/// - public Intersects (Arguments args) : this(args, null) { - } -/// -/// Tests whether two geometry objects intersect with one another. When applied to a sequence of geometry objects, intersects acts as a filter, returning a sequence of objects from the sequence that intersect with the argument. -/// -/// Example: Is point2 within a 2000-meter circle around point1? -/// var point1 = r.point(-117.220406,32.719464); -/// var point2 = r.point(-117.206201,32.725186); -/// r.circle(point1, 2000).intersects(point2).run(conn, callback); -/// // result returned to callback -/// true -/// - public Intersects (Arguments args, OptArgs optargs) - : base(TermType.INTERSECTS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Intersects.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Intersects.cs.meta deleted file mode 100644 index a80fe6979..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Intersects.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cfb3faae546c5b44195e009aa7771efc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IsEmpty.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IsEmpty.cs deleted file mode 100644 index a9712c0dd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IsEmpty.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class IsEmpty : ReqlExpr { - - - - -/// -/// Test if a sequence is empty. -/// -/// Example: Are there any documents in the marvel table? -/// r.table('marvel').isEmpty().run(conn, callback) -/// - public IsEmpty (object arg) : this(new Arguments(arg), null) { - } -/// -/// Test if a sequence is empty. -/// -/// Example: Are there any documents in the marvel table? -/// r.table('marvel').isEmpty().run(conn, callback) -/// - public IsEmpty (Arguments args) : this(args, null) { - } -/// -/// Test if a sequence is empty. -/// -/// Example: Are there any documents in the marvel table? -/// r.table('marvel').isEmpty().run(conn, callback) -/// - public IsEmpty (Arguments args, OptArgs optargs) - : base(TermType.IS_EMPTY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IsEmpty.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IsEmpty.cs.meta deleted file mode 100644 index 2869f783c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/IsEmpty.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c251477e5d39c964f8f289e14d19253d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Iso8601.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Iso8601.cs deleted file mode 100644 index 93f407f30..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Iso8601.cs +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Iso8601 : ReqlExpr { - - - - -/// -/// Create a time object based on an ISO 8601 date-time string (e.g. '2013-01-01T01:01:01+00:00'). RethinkDB supports all valid ISO 8601 formats except for week dates. Read more about the ISO 8601 format at Wikipedia. -/// -/// Example: Update the time of John's birth. -/// r.table("user").get("John").update({birth: r.ISO8601('1986-11-03T08:30:00-07:00')}).run(conn, callback) -/// - public Iso8601 (object arg) : this(new Arguments(arg), null) { - } -/// -/// Create a time object based on an ISO 8601 date-time string (e.g. '2013-01-01T01:01:01+00:00'). RethinkDB supports all valid ISO 8601 formats except for week dates. Read more about the ISO 8601 format at Wikipedia. -/// -/// Example: Update the time of John's birth. -/// r.table("user").get("John").update({birth: r.ISO8601('1986-11-03T08:30:00-07:00')}).run(conn, callback) -/// - public Iso8601 (Arguments args) : this(args, null) { - } -/// -/// Create a time object based on an ISO 8601 date-time string (e.g. '2013-01-01T01:01:01+00:00'). RethinkDB supports all valid ISO 8601 formats except for week dates. Read more about the ISO 8601 format at Wikipedia. -/// -/// Example: Update the time of John's birth. -/// r.table("user").get("John").update({birth: r.ISO8601('1986-11-03T08:30:00-07:00')}).run(conn, callback) -/// - public Iso8601 (Arguments args, OptArgs optargs) - : base(TermType.ISO8601, args, optargs) { - } - - - - - - - -/// -/// "default_timezone": "T_STR" -/// - public Iso8601 this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Iso8601 (this.Args, newOptArgs); - } - } - -/// -/// "default_timezone": "T_STR" -/// - public Iso8601 this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Iso8601 (this.Args, newOptArgs); - } - } - -/// -/// "default_timezone": "T_STR" -/// - public Iso8601 OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Iso8601 (this.Args, newOptArgs); - } - internal Iso8601 optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - - - - - - - - public static Iso8601 FromString(string iso) { - return new Iso8601 (new Arguments(iso), null); - } - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Iso8601.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Iso8601.cs.meta deleted file mode 100644 index 8c6668799..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Iso8601.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f11e0bf3ea9175545854144e9e2cc1c4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/January.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/January.cs deleted file mode 100644 index 2ff484086..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/January.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class January : ReqlExpr { - - - - - public January (object arg) : this(new Arguments(arg), null) { - } - public January (Arguments args) : this(args, null) { - } - public January (Arguments args, OptArgs optargs) - : base(TermType.JANUARY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/January.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/January.cs.meta deleted file mode 100644 index 377ff2819..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/January.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4014438b89dc3974595e4c5777912fef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Javascript.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Javascript.cs deleted file mode 100644 index b9070fafd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Javascript.cs +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Javascript : ReqlExpr { - - - - - public Javascript (object arg) : this(new Arguments(arg), null) { - } - public Javascript (Arguments args) : this(args, null) { - } - public Javascript (Arguments args, OptArgs optargs) - : base(TermType.JAVASCRIPT, args, optargs) { - } - - - - - - - -/// -/// "timeout": "T_NUM" -/// - public Javascript this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Javascript (this.Args, newOptArgs); - } - } - -/// -/// "timeout": "T_NUM" -/// - public Javascript this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Javascript (this.Args, newOptArgs); - } - } - -/// -/// "timeout": "T_NUM" -/// - public Javascript OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Javascript (this.Args, newOptArgs); - } - internal Javascript optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Javascript.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Javascript.cs.meta deleted file mode 100644 index 63102dad1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Javascript.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b813b57509da1ee4abcc254c4225b2fd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Json.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Json.cs deleted file mode 100644 index 3b311151c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Json.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Json : ReqlExpr { - - - - -/// -/// Parse a JSON string on the server. -/// -/// Example: Send an array to the server. -/// r.json("[1,2,3]").run(conn, callback) -/// - public Json (object arg) : this(new Arguments(arg), null) { - } -/// -/// Parse a JSON string on the server. -/// -/// Example: Send an array to the server. -/// r.json("[1,2,3]").run(conn, callback) -/// - public Json (Arguments args) : this(args, null) { - } -/// -/// Parse a JSON string on the server. -/// -/// Example: Send an array to the server. -/// r.json("[1,2,3]").run(conn, callback) -/// - public Json (Arguments args, OptArgs optargs) - : base(TermType.JSON, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Json.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Json.cs.meta deleted file mode 100644 index d359d8a3c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Json.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7f50b3f9ab1778245968d7ab041a5b5f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/July.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/July.cs deleted file mode 100644 index fb7827b9b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/July.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class July : ReqlExpr { - - - - - public July (object arg) : this(new Arguments(arg), null) { - } - public July (Arguments args) : this(args, null) { - } - public July (Arguments args, OptArgs optargs) - : base(TermType.JULY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/July.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/July.cs.meta deleted file mode 100644 index 3a99bae16..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/July.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 232429281a5cdbf4c930e50b7421d171 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/June.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/June.cs deleted file mode 100644 index 7ab72f082..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/June.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class June : ReqlExpr { - - - - - public June (object arg) : this(new Arguments(arg), null) { - } - public June (Arguments args) : this(args, null) { - } - public June (Arguments args, OptArgs optargs) - : base(TermType.JUNE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/June.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/June.cs.meta deleted file mode 100644 index ef0cf3925..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/June.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e989d3ef938fe8a46b8c1711caf7c1eb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Keys.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Keys.cs deleted file mode 100644 index cb349df13..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Keys.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Keys : ReqlExpr { - - - - -/// -/// Return an array containing all of an object's keys. Note that the keys will be sorted as described in ReQL data types (for strings, lexicographically). -/// -/// Example: Get all the keys from a table row. -/// // row: { id: 1, mail: "fred@example.com", name: "fred" } -/// -/// r.table('users').get(1).keys().run(conn, callback); -/// // Result passed to callback -/// [ "id", "mail", "name" ] -/// - public Keys (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return an array containing all of an object's keys. Note that the keys will be sorted as described in ReQL data types (for strings, lexicographically). -/// -/// Example: Get all the keys from a table row. -/// // row: { id: 1, mail: "fred@example.com", name: "fred" } -/// -/// r.table('users').get(1).keys().run(conn, callback); -/// // Result passed to callback -/// [ "id", "mail", "name" ] -/// - public Keys (Arguments args) : this(args, null) { - } -/// -/// Return an array containing all of an object's keys. Note that the keys will be sorted as described in ReQL data types (for strings, lexicographically). -/// -/// Example: Get all the keys from a table row. -/// // row: { id: 1, mail: "fred@example.com", name: "fred" } -/// -/// r.table('users').get(1).keys().run(conn, callback); -/// // Result passed to callback -/// [ "id", "mail", "name" ] -/// - public Keys (Arguments args, OptArgs optargs) - : base(TermType.KEYS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Keys.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Keys.cs.meta deleted file mode 100644 index 2c87f43e0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Keys.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b334e4860713ce949b3e5ca56daf8723 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Le.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Le.cs deleted file mode 100644 index 55a5965aa..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Le.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Le : ReqlExpr { - - - - -/// -/// Compare values, testing if the left-hand value is less than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or less. -/// r.table('players').get(1)('score').le(10).run(conn, callback); -/// - public Le (object arg) : this(new Arguments(arg), null) { - } -/// -/// Compare values, testing if the left-hand value is less than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or less. -/// r.table('players').get(1)('score').le(10).run(conn, callback); -/// - public Le (Arguments args) : this(args, null) { - } -/// -/// Compare values, testing if the left-hand value is less than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or less. -/// r.table('players').get(1)('score').le(10).run(conn, callback); -/// - public Le (Arguments args, OptArgs optargs) - : base(TermType.LE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Le.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Le.cs.meta deleted file mode 100644 index 35f8f1a87..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Le.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8d1927e73d32e5048ac2701a5b076b61 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Limit.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Limit.cs deleted file mode 100644 index 17584fa63..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Limit.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Limit : ReqlExpr { - - - - -/// -/// End the sequence after the given number of elements. -/// -/// Example: Only so many can fit in our Pantheon of heroes. -/// r.table('marvel').orderBy('belovedness').limit(10).run(conn, callback) -/// - public Limit (object arg) : this(new Arguments(arg), null) { - } -/// -/// End the sequence after the given number of elements. -/// -/// Example: Only so many can fit in our Pantheon of heroes. -/// r.table('marvel').orderBy('belovedness').limit(10).run(conn, callback) -/// - public Limit (Arguments args) : this(args, null) { - } -/// -/// End the sequence after the given number of elements. -/// -/// Example: Only so many can fit in our Pantheon of heroes. -/// r.table('marvel').orderBy('belovedness').limit(10).run(conn, callback) -/// - public Limit (Arguments args, OptArgs optargs) - : base(TermType.LIMIT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Limit.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Limit.cs.meta deleted file mode 100644 index 5012a296f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Limit.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9be31bb90d14ce5438fac63abb975fc1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Line.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Line.cs deleted file mode 100644 index 7d0db7177..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Line.cs +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Line : ReqlExpr { - - - - -/// -/// Construct a geometry object of type Line. The line can be specified in one of two ways: -///
    -///
  • Two or more two-item arrays, specifying latitude and longitude numbers of the line's vertices;
  • -///
  • Two or more Point objects specifying the line's vertices.
  • -///
-///
-/// Example: Define a line. -/// r.table('geo').insert({ -/// id: 101, -/// route: r.line([-122.423246,37.779388], [-121.886420,37.329898]) -/// }).run(conn, callback); -/// - public Line (object arg) : this(new Arguments(arg), null) { - } -/// -/// Construct a geometry object of type Line. The line can be specified in one of two ways: -///
    -///
  • Two or more two-item arrays, specifying latitude and longitude numbers of the line's vertices;
  • -///
  • Two or more Point objects specifying the line's vertices.
  • -///
-///
-/// Example: Define a line. -/// r.table('geo').insert({ -/// id: 101, -/// route: r.line([-122.423246,37.779388], [-121.886420,37.329898]) -/// }).run(conn, callback); -/// - public Line (Arguments args) : this(args, null) { - } -/// -/// Construct a geometry object of type Line. The line can be specified in one of two ways: -///
    -///
  • Two or more two-item arrays, specifying latitude and longitude numbers of the line's vertices;
  • -///
  • Two or more Point objects specifying the line's vertices.
  • -///
-///
-/// Example: Define a line. -/// r.table('geo').insert({ -/// id: 101, -/// route: r.line([-122.423246,37.779388], [-121.886420,37.329898]) -/// }).run(conn, callback); -/// - public Line (Arguments args, OptArgs optargs) - : base(TermType.LINE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Line.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Line.cs.meta deleted file mode 100644 index cf6a42ce3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Line.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bc585bd061d5ff74180a629c4bf1f746 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Literal.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Literal.cs deleted file mode 100644 index 1cfd673d4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Literal.cs +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Literal : ReqlExpr { - - - - -/// -/// Replace an object in a field instead of merging it with an existing object in a merge or update operation. Using literal with no arguments in a merge or update operation will remove the corresponding field. -/// -/// Example: Replace one nested document with another rather than merging the fields. -/// r.table('users').get(1).update({ data: r.literal({ age: 19, job: 'Engineer' }) }).run(conn, callback) -/// -/// // Result passed to callback -/// { -/// "id": 1, -/// "name": "Alice", -/// "data": { -/// "age": 19, -/// "job": "Engineer" -/// } -/// } -/// - public Literal (object arg) : this(new Arguments(arg), null) { - } -/// -/// Replace an object in a field instead of merging it with an existing object in a merge or update operation. Using literal with no arguments in a merge or update operation will remove the corresponding field. -/// -/// Example: Replace one nested document with another rather than merging the fields. -/// r.table('users').get(1).update({ data: r.literal({ age: 19, job: 'Engineer' }) }).run(conn, callback) -/// -/// // Result passed to callback -/// { -/// "id": 1, -/// "name": "Alice", -/// "data": { -/// "age": 19, -/// "job": "Engineer" -/// } -/// } -/// - public Literal (Arguments args) : this(args, null) { - } -/// -/// Replace an object in a field instead of merging it with an existing object in a merge or update operation. Using literal with no arguments in a merge or update operation will remove the corresponding field. -/// -/// Example: Replace one nested document with another rather than merging the fields. -/// r.table('users').get(1).update({ data: r.literal({ age: 19, job: 'Engineer' }) }).run(conn, callback) -/// -/// // Result passed to callback -/// { -/// "id": 1, -/// "name": "Alice", -/// "data": { -/// "age": 19, -/// "job": "Engineer" -/// } -/// } -/// - public Literal (Arguments args, OptArgs optargs) - : base(TermType.LITERAL, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Literal.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Literal.cs.meta deleted file mode 100644 index 23c1e0c55..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Literal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7bf69ea62380d66429286addcda41faa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Lt.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Lt.cs deleted file mode 100644 index 0c697d344..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Lt.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Lt : ReqlExpr { - - - - -/// -/// Compare values, testing if the left-hand value is less than the right-hand. -/// -/// Example: Test if a player has scored less than 10 points. -/// r.table('players').get(1)('score').lt(10).run(conn, callback); -/// - public Lt (object arg) : this(new Arguments(arg), null) { - } -/// -/// Compare values, testing if the left-hand value is less than the right-hand. -/// -/// Example: Test if a player has scored less than 10 points. -/// r.table('players').get(1)('score').lt(10).run(conn, callback); -/// - public Lt (Arguments args) : this(args, null) { - } -/// -/// Compare values, testing if the left-hand value is less than the right-hand. -/// -/// Example: Test if a player has scored less than 10 points. -/// r.table('players').get(1)('score').lt(10).run(conn, callback); -/// - public Lt (Arguments args, OptArgs optargs) - : base(TermType.LT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Lt.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Lt.cs.meta deleted file mode 100644 index 4bd6ab6e9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Lt.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ddd0f9d605b7a7944bda1723074b4a54 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeArray.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeArray.cs deleted file mode 100644 index 649086be6..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeArray.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class MakeArray : ReqlExpr { - - - - - public MakeArray (object arg) : this(new Arguments(arg), null) { - } - public MakeArray (Arguments args) : this(args, null) { - } - public MakeArray (Arguments args, OptArgs optargs) - : base(TermType.MAKE_ARRAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeArray.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeArray.cs.meta deleted file mode 100644 index 306a72b68..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeArray.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cdc572b330bbedb44a90127c4fb57884 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeObj.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeObj.cs deleted file mode 100644 index 45bd31648..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeObj.cs +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class MakeObj : ReqlExpr { - - - - - public MakeObj(Object arg) : this(new Arguments(arg), null) { - - } - public MakeObj(OptArgs opts) : this(new Arguments(), opts) { - } - public MakeObj(Arguments args) : this(args, null) { - } - public MakeObj(Arguments args, OptArgs optargs) : - this(TermType.MAKE_OBJ, args, optargs) { - } - protected MakeObj(TermType termType, Arguments args, OptArgs optargs) - : base(termType, args, optargs){ - - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - - - - - - - - - internal static MakeObj fromMap(Dictionary map){ - return new MakeObj(OptArgs.FromMap(map)); - } - public static MakeObj FromMap(Dictionary map){ - return FromMap(map); - } - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeObj.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeObj.cs.meta deleted file mode 100644 index c7a887a4b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/MakeObj.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3dd0bdbed5e7b5649b9ea95f9fca523d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Map.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Map.cs deleted file mode 100644 index 1de849537..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Map.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Map : ReqlExpr { - - - - -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map (object arg) : this(new Arguments(arg), null) { - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map (Arguments args) : this(args, null) { - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map (Arguments args, OptArgs optargs) - : base(TermType.MAP, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Map.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Map.cs.meta deleted file mode 100644 index 5e10b934a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Map.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f093a6d776076c447bd6c97fe1a062d7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/March.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/March.cs deleted file mode 100644 index 3ac10cb24..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/March.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class March : ReqlExpr { - - - - - public March (object arg) : this(new Arguments(arg), null) { - } - public March (Arguments args) : this(args, null) { - } - public March (Arguments args, OptArgs optargs) - : base(TermType.MARCH, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/March.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/March.cs.meta deleted file mode 100644 index da63d789e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/March.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4ef2e3998fb3ba944b013b43687c07c3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Match.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Match.cs deleted file mode 100644 index 25528e46b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Match.cs +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Match : ReqlExpr { - - - - -/// -/// Matches against a regular expression. If there is a match, returns an object with the fields: -///
    -///
  • str: The matched string
  • -///
  • start: The matched string's start
  • -///
  • end: The matched string's end
  • -///
  • groups: The capture groups defined with parentheses
  • -///
-/// If no match is found, returns null. -///
-/// Example: Get all users whose name starts with "A". Because null evaluates to false in -/// filter, you can just use the result of match for the predicate. -/// r.table('users').filter(function(doc){ -/// return doc('name').match("^A") -/// }).run(conn, callback) -/// - public Match (object arg) : this(new Arguments(arg), null) { - } -/// -/// Matches against a regular expression. If there is a match, returns an object with the fields: -///
    -///
  • str: The matched string
  • -///
  • start: The matched string's start
  • -///
  • end: The matched string's end
  • -///
  • groups: The capture groups defined with parentheses
  • -///
-/// If no match is found, returns null. -///
-/// Example: Get all users whose name starts with "A". Because null evaluates to false in -/// filter, you can just use the result of match for the predicate. -/// r.table('users').filter(function(doc){ -/// return doc('name').match("^A") -/// }).run(conn, callback) -/// - public Match (Arguments args) : this(args, null) { - } -/// -/// Matches against a regular expression. If there is a match, returns an object with the fields: -///
    -///
  • str: The matched string
  • -///
  • start: The matched string's start
  • -///
  • end: The matched string's end
  • -///
  • groups: The capture groups defined with parentheses
  • -///
-/// If no match is found, returns null. -///
-/// Example: Get all users whose name starts with "A". Because null evaluates to false in -/// filter, you can just use the result of match for the predicate. -/// r.table('users').filter(function(doc){ -/// return doc('name').match("^A") -/// }).run(conn, callback) -/// - public Match (Arguments args, OptArgs optargs) - : base(TermType.MATCH, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Match.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Match.cs.meta deleted file mode 100644 index eea265ea7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Match.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4c38f23a5eacf9340bd0485a8f268968 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Max.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Max.cs deleted file mode 100644 index 2944e36fc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Max.cs +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Max : ReqlExpr { - - - - -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max (object arg) : this(new Arguments(arg), null) { - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max (Arguments args) : this(args, null) { - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max (Arguments args, OptArgs optargs) - : base(TermType.MAX, args, optargs) { - } - - - - - - - -/// -/// "index": "T_STR" -/// - public Max this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Max (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public Max this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Max (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public Max OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Max (this.Args, newOptArgs); - } - internal Max optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Max.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Max.cs.meta deleted file mode 100644 index fd83f825d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Max.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c1724b69c3539de4baa0faae9d3e0e1f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Maxval.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Maxval.cs deleted file mode 100644 index d19cdf72f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Maxval.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Maxval : ReqlExpr { - - - - - public Maxval (object arg) : this(new Arguments(arg), null) { - } - public Maxval (Arguments args) : this(args, null) { - } - public Maxval (Arguments args, OptArgs optargs) - : base(TermType.MAXVAL, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Maxval.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Maxval.cs.meta deleted file mode 100644 index 677a18dc0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Maxval.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 20a6a645a9983f946abba21cd7f97790 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/May.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/May.cs deleted file mode 100644 index f978714d8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/May.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class May : ReqlExpr { - - - - - public May (object arg) : this(new Arguments(arg), null) { - } - public May (Arguments args) : this(args, null) { - } - public May (Arguments args, OptArgs optargs) - : base(TermType.MAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/May.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/May.cs.meta deleted file mode 100644 index f3faf4ffa..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/May.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1ed6133283c1c734db8bc5e77024ff2d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Merge.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Merge.cs deleted file mode 100644 index 3e45082b2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Merge.cs +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Merge : ReqlExpr { - - - - -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge (object arg) : this(new Arguments(arg), null) { - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge (Arguments args) : this(args, null) { - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge (Arguments args, OptArgs optargs) - : base(TermType.MERGE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Merge.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Merge.cs.meta deleted file mode 100644 index 0208b42a8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Merge.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 88f78a148ebe1964db6483c1c345ce2e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Min.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Min.cs deleted file mode 100644 index 1f88e5d59..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Min.cs +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Min : ReqlExpr { - - - - -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min (object arg) : this(new Arguments(arg), null) { - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min (Arguments args) : this(args, null) { - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min (Arguments args, OptArgs optargs) - : base(TermType.MIN, args, optargs) { - } - - - - - - - -/// -/// "index": "T_STR" -/// - public Min this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Min (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public Min this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Min (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_STR" -/// - public Min OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Min (this.Args, newOptArgs); - } - internal Min optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Min.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Min.cs.meta deleted file mode 100644 index 03a52f89b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Min.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fd7f9e4bb47c1e648a009d4024610548 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minutes.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minutes.cs deleted file mode 100644 index 2f61b15f5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minutes.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Minutes : ReqlExpr { - - - - -/// -/// Return the minute in a time object as a number between 0 and 59. -/// -/// Example: Return all the posts submitted during the first 10 minutes of every hour. -/// r.table("posts").filter(function(post) { -/// return post("date").minutes().lt(10) -/// }) -/// - public Minutes (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the minute in a time object as a number between 0 and 59. -/// -/// Example: Return all the posts submitted during the first 10 minutes of every hour. -/// r.table("posts").filter(function(post) { -/// return post("date").minutes().lt(10) -/// }) -/// - public Minutes (Arguments args) : this(args, null) { - } -/// -/// Return the minute in a time object as a number between 0 and 59. -/// -/// Example: Return all the posts submitted during the first 10 minutes of every hour. -/// r.table("posts").filter(function(post) { -/// return post("date").minutes().lt(10) -/// }) -/// - public Minutes (Arguments args, OptArgs optargs) - : base(TermType.MINUTES, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minutes.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minutes.cs.meta deleted file mode 100644 index 3deedb365..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minutes.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7032936e1edbbca469ec3bf1f55484e9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minval.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minval.cs deleted file mode 100644 index 5be79c10f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minval.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Minval : ReqlExpr { - - - - - public Minval (object arg) : this(new Arguments(arg), null) { - } - public Minval (Arguments args) : this(args, null) { - } - public Minval (Arguments args, OptArgs optargs) - : base(TermType.MINVAL, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minval.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minval.cs.meta deleted file mode 100644 index 2c8b7b828..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Minval.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 10094f47334e5d04fbabbd8e9354c625 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mod.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mod.cs deleted file mode 100644 index 80d96a274..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mod.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Mod : ReqlExpr { - - - - -/// -/// -/// -/// Example: It's as easy as 2 % 2 = 0. -/// r.expr(2).mod(2).run(conn, callback) -/// - public Mod (object arg) : this(new Arguments(arg), null) { - } -/// -/// -/// -/// Example: It's as easy as 2 % 2 = 0. -/// r.expr(2).mod(2).run(conn, callback) -/// - public Mod (Arguments args) : this(args, null) { - } -/// -/// -/// -/// Example: It's as easy as 2 % 2 = 0. -/// r.expr(2).mod(2).run(conn, callback) -/// - public Mod (Arguments args, OptArgs optargs) - : base(TermType.MOD, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mod.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mod.cs.meta deleted file mode 100644 index c78ed4eb9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mod.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fd861c1729be9db40b576154e4fabc5c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Monday.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Monday.cs deleted file mode 100644 index 183dbf158..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Monday.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Monday : ReqlExpr { - - - - - public Monday (object arg) : this(new Arguments(arg), null) { - } - public Monday (Arguments args) : this(args, null) { - } - public Monday (Arguments args, OptArgs optargs) - : base(TermType.MONDAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Monday.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Monday.cs.meta deleted file mode 100644 index 1f4e0a042..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Monday.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c4ccc6b86d394814686aae9b9da377e4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Month.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Month.cs deleted file mode 100644 index 1fd0ce57f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Month.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Month : ReqlExpr { - - - - -/// -/// Return the month of a time object as a number between 1 and 12. For your convenience, the terms r.january, r.february etc. are defined and map to the appropriate integer. -/// -/// Example: Retrieve all the users who were born in November. -/// r.table("users").filter( -/// r.row("birthdate").month().eq(11) -/// ) -/// - public Month (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the month of a time object as a number between 1 and 12. For your convenience, the terms r.january, r.february etc. are defined and map to the appropriate integer. -/// -/// Example: Retrieve all the users who were born in November. -/// r.table("users").filter( -/// r.row("birthdate").month().eq(11) -/// ) -/// - public Month (Arguments args) : this(args, null) { - } -/// -/// Return the month of a time object as a number between 1 and 12. For your convenience, the terms r.january, r.february etc. are defined and map to the appropriate integer. -/// -/// Example: Retrieve all the users who were born in November. -/// r.table("users").filter( -/// r.row("birthdate").month().eq(11) -/// ) -/// - public Month (Arguments args, OptArgs optargs) - : base(TermType.MONTH, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Month.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Month.cs.meta deleted file mode 100644 index e0bbf3d1a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Month.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a0d48a3f42f07d14185562af9a08131b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mul.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mul.cs deleted file mode 100644 index 56c15a852..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mul.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Mul : ReqlExpr { - - - - -/// -/// Multiply two numbers, or make a periodic array. -/// -/// Example: It's as easy as 2 * 2 = 4. -/// r.expr(2).mul(2).run(conn, callback) -/// - public Mul (object arg) : this(new Arguments(arg), null) { - } -/// -/// Multiply two numbers, or make a periodic array. -/// -/// Example: It's as easy as 2 * 2 = 4. -/// r.expr(2).mul(2).run(conn, callback) -/// - public Mul (Arguments args) : this(args, null) { - } -/// -/// Multiply two numbers, or make a periodic array. -/// -/// Example: It's as easy as 2 * 2 = 4. -/// r.expr(2).mul(2).run(conn, callback) -/// - public Mul (Arguments args, OptArgs optargs) - : base(TermType.MUL, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mul.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mul.cs.meta deleted file mode 100644 index a91a51bf3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Mul.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f38dec8df5d73ea44818eb1c79a6629e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ne.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ne.cs deleted file mode 100644 index 9051d6af6..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ne.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Ne : ReqlExpr { - - - - -/// -/// Test if two or more values are not equal. -/// -/// Example: See if a user's role field is not set to administrator. -/// r.table('users').get(1)('role').ne('administrator').run(conn, callback); -/// - public Ne (object arg) : this(new Arguments(arg), null) { - } -/// -/// Test if two or more values are not equal. -/// -/// Example: See if a user's role field is not set to administrator. -/// r.table('users').get(1)('role').ne('administrator').run(conn, callback); -/// - public Ne (Arguments args) : this(args, null) { - } -/// -/// Test if two or more values are not equal. -/// -/// Example: See if a user's role field is not set to administrator. -/// r.table('users').get(1)('role').ne('administrator').run(conn, callback); -/// - public Ne (Arguments args, OptArgs optargs) - : base(TermType.NE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ne.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ne.cs.meta deleted file mode 100644 index a83514dac..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ne.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e355edd237bfa5f46a4e82266a64976f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Not.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Not.cs deleted file mode 100644 index d39efe4af..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Not.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Not : ReqlExpr { - - - - -/// -/// Compute the logical inverse (not) of an expression. -/// -/// Example: Not true is false. -/// r(true).not().run(conn, callback) -/// r.not(true).run(conn, callback) -/// -/// These evaluate to false. - public Not (object arg) : this(new Arguments(arg), null) { - } -/// -/// Compute the logical inverse (not) of an expression. -/// -/// Example: Not true is false. -/// r(true).not().run(conn, callback) -/// r.not(true).run(conn, callback) -/// -/// These evaluate to false. - public Not (Arguments args) : this(args, null) { - } -/// -/// Compute the logical inverse (not) of an expression. -/// -/// Example: Not true is false. -/// r(true).not().run(conn, callback) -/// r.not(true).run(conn, callback) -/// -/// These evaluate to false. - public Not (Arguments args, OptArgs optargs) - : base(TermType.NOT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Not.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Not.cs.meta deleted file mode 100644 index ad616c860..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Not.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c76c2c2ec9a32694282ac85ec6cc0e20 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/November.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/November.cs deleted file mode 100644 index 3bdf53213..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/November.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class November : ReqlExpr { - - - - - public November (object arg) : this(new Arguments(arg), null) { - } - public November (Arguments args) : this(args, null) { - } - public November (Arguments args, OptArgs optargs) - : base(TermType.NOVEMBER, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/November.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/November.cs.meta deleted file mode 100644 index 843bcc9de..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/November.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 03028fb2db43f2c46a1dab2055d29c5a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Now.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Now.cs deleted file mode 100644 index 90b483542..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Now.cs +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Now : ReqlExpr { - - - - -/// -/// Return a time object representing the current time in UTC. The command now() is computed once when the server receives the query, so multiple instances of r.now() will always return the same time inside a query. -/// -/// Example: Add a new user with the time at which he subscribed. -/// r.table("users").insert({ -/// name: "John", -/// subscription_date: r.now() -/// }).run(conn, callback) -/// - public Now (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return a time object representing the current time in UTC. The command now() is computed once when the server receives the query, so multiple instances of r.now() will always return the same time inside a query. -/// -/// Example: Add a new user with the time at which he subscribed. -/// r.table("users").insert({ -/// name: "John", -/// subscription_date: r.now() -/// }).run(conn, callback) -/// - public Now (Arguments args) : this(args, null) { - } -/// -/// Return a time object representing the current time in UTC. The command now() is computed once when the server receives the query, so multiple instances of r.now() will always return the same time inside a query. -/// -/// Example: Add a new user with the time at which he subscribed. -/// r.table("users").insert({ -/// name: "John", -/// subscription_date: r.now() -/// }).run(conn, callback) -/// - public Now (Arguments args, OptArgs optargs) - : base(TermType.NOW, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Now.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Now.cs.meta deleted file mode 100644 index 42836a38c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Now.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4d6d20c20981b1b46be09c3f6fd42754 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Nth.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Nth.cs deleted file mode 100644 index 9d9454aee..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Nth.cs +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Nth : ReqlExpr { - - - - -/// -/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. -/// -/// Example: Select the second element in the array. -/// r.expr([1,2,3]).nth(1).run(conn, callback) -/// r.expr([1,2,3])(1).run(conn, callback) -/// - public Nth (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. -/// -/// Example: Select the second element in the array. -/// r.expr([1,2,3]).nth(1).run(conn, callback) -/// r.expr([1,2,3])(1).run(conn, callback) -/// - public Nth (Arguments args) : this(args, null) { - } -/// -/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. -/// -/// Example: Select the second element in the array. -/// r.expr([1,2,3]).nth(1).run(conn, callback) -/// r.expr([1,2,3])(1).run(conn, callback) -/// - public Nth (Arguments args, OptArgs optargs) - : base(TermType.NTH, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Nth.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Nth.cs.meta deleted file mode 100644 index 3803ed689..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Nth.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 60b554c0ae328be4eb69cddfcc6eed1a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/October.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/October.cs deleted file mode 100644 index 765ca9baf..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/October.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class October : ReqlExpr { - - - - - public October (object arg) : this(new Arguments(arg), null) { - } - public October (Arguments args) : this(args, null) { - } - public October (Arguments args, OptArgs optargs) - : base(TermType.OCTOBER, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/October.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/October.cs.meta deleted file mode 100644 index 8650c704b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/October.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 47129bc20e539a64b87a98e752f72810 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OffsetsOf.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OffsetsOf.cs deleted file mode 100644 index c54335689..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OffsetsOf.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class OffsetsOf : ReqlExpr { - - - - -/// -/// Get the indexes of an element in a sequence. If the argument is a predicate, get the indexes of all elements matching it. -/// -/// Example: Find the position of the letter 'c'. -/// r.expr(['a','b','c']).offsetsOf('c').run(conn, callback) -/// - public OffsetsOf (object arg) : this(new Arguments(arg), null) { - } -/// -/// Get the indexes of an element in a sequence. If the argument is a predicate, get the indexes of all elements matching it. -/// -/// Example: Find the position of the letter 'c'. -/// r.expr(['a','b','c']).offsetsOf('c').run(conn, callback) -/// - public OffsetsOf (Arguments args) : this(args, null) { - } -/// -/// Get the indexes of an element in a sequence. If the argument is a predicate, get the indexes of all elements matching it. -/// -/// Example: Find the position of the letter 'c'. -/// r.expr(['a','b','c']).offsetsOf('c').run(conn, callback) -/// - public OffsetsOf (Arguments args, OptArgs optargs) - : base(TermType.OFFSETS_OF, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OffsetsOf.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OffsetsOf.cs.meta deleted file mode 100644 index e9af3caf7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OffsetsOf.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3caf285c221242242a95bd13e739d86a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Or.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Or.cs deleted file mode 100644 index ffbd872b1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Or.cs +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Or : ReqlExpr { - - - - -/// -/// Compute the logical "or" of one or more values. -/// -/// Example: Return whether either a or b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).or(b).run(conn, callback); -/// // result passed to callback -/// true -/// - public Or (object arg) : this(new Arguments(arg), null) { - } -/// -/// Compute the logical "or" of one or more values. -/// -/// Example: Return whether either a or b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).or(b).run(conn, callback); -/// // result passed to callback -/// true -/// - public Or (Arguments args) : this(args, null) { - } -/// -/// Compute the logical "or" of one or more values. -/// -/// Example: Return whether either a or b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).or(b).run(conn, callback); -/// // result passed to callback -/// true -/// - public Or (Arguments args, OptArgs optargs) - : base(TermType.OR, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Or.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Or.cs.meta deleted file mode 100644 index d77888235..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Or.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cd524041411ff2f488794fcc0c4954d4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OrderBy.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OrderBy.cs deleted file mode 100644 index c0122e413..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OrderBy.cs +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class OrderBy : ReqlExpr { - - - - -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy (object arg) : this(new Arguments(arg), null) { - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy (Arguments args) : this(args, null) { - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy (Arguments args, OptArgs optargs) - : base(TermType.ORDER_BY, args, optargs) { - } - - - - - - - -/// -/// "index": "T_EXPR" -/// - public OrderBy this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new OrderBy (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_EXPR" -/// - public OrderBy this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new OrderBy (this.Args, newOptArgs); - } - } - -/// -/// "index": "T_EXPR" -/// - public OrderBy OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new OrderBy (this.Args, newOptArgs); - } - internal OrderBy optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OrderBy.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OrderBy.cs.meta deleted file mode 100644 index ee510c709..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OrderBy.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a4fec14d2cf0eff42bfa20d85d9942eb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OuterJoin.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OuterJoin.cs deleted file mode 100644 index 306699e50..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OuterJoin.cs +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class OuterJoin : ReqlExpr { - - - - -/// -/// Returns a left outer join of two sequences. The returned sequence represents a union of the left-hand sequence and the right-hand sequence: all documents in the left-hand sequence will be returned, each matched with a document in the right-hand sequence if one satisfies the predicate condition. In most cases, you will want to follow the join with zip to combine the left and right results. -/// -/// Example: Return a list of all Marvel heroes, paired with any DC heroes who could beat them in a fight. -/// r.table('marvel').outerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).run(conn, callback) -/// -/// (Compare this to an innerJoin with the same inputs and predicate, which would return a list only of the matchups in which the DC hero has the higher strength.) - public OuterJoin (object arg) : this(new Arguments(arg), null) { - } -/// -/// Returns a left outer join of two sequences. The returned sequence represents a union of the left-hand sequence and the right-hand sequence: all documents in the left-hand sequence will be returned, each matched with a document in the right-hand sequence if one satisfies the predicate condition. In most cases, you will want to follow the join with zip to combine the left and right results. -/// -/// Example: Return a list of all Marvel heroes, paired with any DC heroes who could beat them in a fight. -/// r.table('marvel').outerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).run(conn, callback) -/// -/// (Compare this to an innerJoin with the same inputs and predicate, which would return a list only of the matchups in which the DC hero has the higher strength.) - public OuterJoin (Arguments args) : this(args, null) { - } -/// -/// Returns a left outer join of two sequences. The returned sequence represents a union of the left-hand sequence and the right-hand sequence: all documents in the left-hand sequence will be returned, each matched with a document in the right-hand sequence if one satisfies the predicate condition. In most cases, you will want to follow the join with zip to combine the left and right results. -/// -/// Example: Return a list of all Marvel heroes, paired with any DC heroes who could beat them in a fight. -/// r.table('marvel').outerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).run(conn, callback) -/// -/// (Compare this to an innerJoin with the same inputs and predicate, which would return a list only of the matchups in which the DC hero has the higher strength.) - public OuterJoin (Arguments args, OptArgs optargs) - : base(TermType.OUTER_JOIN, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OuterJoin.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OuterJoin.cs.meta deleted file mode 100644 index 3c6e8b32e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/OuterJoin.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cd9264d56b7738b4488b032d1fb6d7f7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Pluck.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Pluck.cs deleted file mode 100644 index a0646982f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Pluck.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Pluck : ReqlExpr { - - - - -/// -/// Plucks out one or more attributes from either an object or a sequence of objects -/// (projection). -/// -/// Example: We just need information about IronMan's reactor and not the rest of the -/// document. -/// r.table('marvel').get('IronMan').pluck('reactorState', 'reactorPower').run(conn, callback) -/// - public Pluck (object arg) : this(new Arguments(arg), null) { - } -/// -/// Plucks out one or more attributes from either an object or a sequence of objects -/// (projection). -/// -/// Example: We just need information about IronMan's reactor and not the rest of the -/// document. -/// r.table('marvel').get('IronMan').pluck('reactorState', 'reactorPower').run(conn, callback) -/// - public Pluck (Arguments args) : this(args, null) { - } -/// -/// Plucks out one or more attributes from either an object or a sequence of objects -/// (projection). -/// -/// Example: We just need information about IronMan's reactor and not the rest of the -/// document. -/// r.table('marvel').get('IronMan').pluck('reactorState', 'reactorPower').run(conn, callback) -/// - public Pluck (Arguments args, OptArgs optargs) - : base(TermType.PLUCK, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Pluck.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Pluck.cs.meta deleted file mode 100644 index afefb80a5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Pluck.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f50cdd9e9df10164b90f04334f064603 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Point.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Point.cs deleted file mode 100644 index c684927fa..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Point.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Point : ReqlExpr { - - - - -/// -/// Construct a geometry object of type Point. The point is specified by two floating point numbers, the longitude (-180 to 180) and latitude (-90 to 90) of the point on a perfect sphere. See Geospatial support for more information on ReQL's coordinate system. -/// -/// Example: Define a point. -/// r.table('geo').insert({ -/// id: 1, -/// name: 'San Francisco', -/// location: r.point(-122.423246,37.779388) -/// }).run(conn, callback); -/// - public Point (object arg) : this(new Arguments(arg), null) { - } -/// -/// Construct a geometry object of type Point. The point is specified by two floating point numbers, the longitude (-180 to 180) and latitude (-90 to 90) of the point on a perfect sphere. See Geospatial support for more information on ReQL's coordinate system. -/// -/// Example: Define a point. -/// r.table('geo').insert({ -/// id: 1, -/// name: 'San Francisco', -/// location: r.point(-122.423246,37.779388) -/// }).run(conn, callback); -/// - public Point (Arguments args) : this(args, null) { - } -/// -/// Construct a geometry object of type Point. The point is specified by two floating point numbers, the longitude (-180 to 180) and latitude (-90 to 90) of the point on a perfect sphere. See Geospatial support for more information on ReQL's coordinate system. -/// -/// Example: Define a point. -/// r.table('geo').insert({ -/// id: 1, -/// name: 'San Francisco', -/// location: r.point(-122.423246,37.779388) -/// }).run(conn, callback); -/// - public Point (Arguments args, OptArgs optargs) - : base(TermType.POINT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Point.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Point.cs.meta deleted file mode 100644 index 5139bff41..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Point.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7f7fd63bd26417249a10f1833511c5b2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Polygon.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Polygon.cs deleted file mode 100644 index 2f2cd1076..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Polygon.cs +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Polygon : ReqlExpr { - - - - -/// -/// Construct a geometry object of type Polygon. The Polygon can be specified in one of two ways: -///
    -///
  • Three or more two-item arrays, specifying latitude and longitude numbers of the polygon's vertices;
  • -///
  • Three or more Point objects specifying the polygon's vertices.
  • -///
-///
-/// Example: Define a polygon. -/// r.table('geo').insert({ -/// id: 101, -/// rectangle: r.polygon( -/// [-122.423246,37.779388], -/// [-122.423246,37.329898], -/// [-121.886420,37.329898], -/// [-121.886420,37.779388] -/// ) -/// }).run(conn, callback); -/// - public Polygon (object arg) : this(new Arguments(arg), null) { - } -/// -/// Construct a geometry object of type Polygon. The Polygon can be specified in one of two ways: -///
    -///
  • Three or more two-item arrays, specifying latitude and longitude numbers of the polygon's vertices;
  • -///
  • Three or more Point objects specifying the polygon's vertices.
  • -///
-///
-/// Example: Define a polygon. -/// r.table('geo').insert({ -/// id: 101, -/// rectangle: r.polygon( -/// [-122.423246,37.779388], -/// [-122.423246,37.329898], -/// [-121.886420,37.329898], -/// [-121.886420,37.779388] -/// ) -/// }).run(conn, callback); -/// - public Polygon (Arguments args) : this(args, null) { - } -/// -/// Construct a geometry object of type Polygon. The Polygon can be specified in one of two ways: -///
    -///
  • Three or more two-item arrays, specifying latitude and longitude numbers of the polygon's vertices;
  • -///
  • Three or more Point objects specifying the polygon's vertices.
  • -///
-///
-/// Example: Define a polygon. -/// r.table('geo').insert({ -/// id: 101, -/// rectangle: r.polygon( -/// [-122.423246,37.779388], -/// [-122.423246,37.329898], -/// [-121.886420,37.329898], -/// [-121.886420,37.779388] -/// ) -/// }).run(conn, callback); -/// - public Polygon (Arguments args, OptArgs optargs) - : base(TermType.POLYGON, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Polygon.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Polygon.cs.meta deleted file mode 100644 index a5cf87ba8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Polygon.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6302a276225ba444e96c2af5324ac47f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/PolygonSub.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/PolygonSub.cs deleted file mode 100644 index 85157de7e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/PolygonSub.cs +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class PolygonSub : ReqlExpr { - - - - -/// -/// Use polygon2 to "punch out" a hole in polygon1. polygon2 must be completely contained within polygon1 and must have no holes itself (it must not be the output of polygonSub itself). -/// -/// Example: Define a polygon with a hole punched in it. -/// var outerPolygon = r.polygon( -/// [-122.4,37.7], -/// [-122.4,37.3], -/// [-121.8,37.3], -/// [-121.8,37.7] -/// ); -/// var innerPolygon = r.polygon( -/// [-122.3,37.4], -/// [-122.3,37.6], -/// [-122.0,37.6], -/// [-122.0,37.4] -/// ); -/// outerPolygon.polygonSub(innerPolygon).run(conn, callback); -/// - public PolygonSub (object arg) : this(new Arguments(arg), null) { - } -/// -/// Use polygon2 to "punch out" a hole in polygon1. polygon2 must be completely contained within polygon1 and must have no holes itself (it must not be the output of polygonSub itself). -/// -/// Example: Define a polygon with a hole punched in it. -/// var outerPolygon = r.polygon( -/// [-122.4,37.7], -/// [-122.4,37.3], -/// [-121.8,37.3], -/// [-121.8,37.7] -/// ); -/// var innerPolygon = r.polygon( -/// [-122.3,37.4], -/// [-122.3,37.6], -/// [-122.0,37.6], -/// [-122.0,37.4] -/// ); -/// outerPolygon.polygonSub(innerPolygon).run(conn, callback); -/// - public PolygonSub (Arguments args) : this(args, null) { - } -/// -/// Use polygon2 to "punch out" a hole in polygon1. polygon2 must be completely contained within polygon1 and must have no holes itself (it must not be the output of polygonSub itself). -/// -/// Example: Define a polygon with a hole punched in it. -/// var outerPolygon = r.polygon( -/// [-122.4,37.7], -/// [-122.4,37.3], -/// [-121.8,37.3], -/// [-121.8,37.7] -/// ); -/// var innerPolygon = r.polygon( -/// [-122.3,37.4], -/// [-122.3,37.6], -/// [-122.0,37.6], -/// [-122.0,37.4] -/// ); -/// outerPolygon.polygonSub(innerPolygon).run(conn, callback); -/// - public PolygonSub (Arguments args, OptArgs optargs) - : base(TermType.POLYGON_SUB, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/PolygonSub.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/PolygonSub.cs.meta deleted file mode 100644 index d7ee085db..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/PolygonSub.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 468f247757890344aab3df80e71f6c08 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Prepend.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Prepend.cs deleted file mode 100644 index b7c6fd3ac..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Prepend.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Prepend : ReqlExpr { - - - - -/// -/// Prepend a value to an array. -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').prepend('newBoots').run(conn, callback) -/// - public Prepend (object arg) : this(new Arguments(arg), null) { - } -/// -/// Prepend a value to an array. -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').prepend('newBoots').run(conn, callback) -/// - public Prepend (Arguments args) : this(args, null) { - } -/// -/// Prepend a value to an array. -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').prepend('newBoots').run(conn, callback) -/// - public Prepend (Arguments args, OptArgs optargs) - : base(TermType.PREPEND, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Prepend.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Prepend.cs.meta deleted file mode 100644 index ce4ddb03b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Prepend.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 44dc2e8b2acc2e24db97240956fdc804 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Random.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Random.cs deleted file mode 100644 index 8b675ec8d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Random.cs +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Random : ReqlExpr { - - - - -/// -/// Generate a random number between given (or implied) bounds. random takes zero, one or two arguments. -/// -/// Example: Generate a random number in the range [0,1) -/// r.random().run(conn, callback) -/// - public Random (object arg) : this(new Arguments(arg), null) { - } -/// -/// Generate a random number between given (or implied) bounds. random takes zero, one or two arguments. -/// -/// Example: Generate a random number in the range [0,1) -/// r.random().run(conn, callback) -/// - public Random (Arguments args) : this(args, null) { - } -/// -/// Generate a random number between given (or implied) bounds. random takes zero, one or two arguments. -/// -/// Example: Generate a random number in the range [0,1) -/// r.random().run(conn, callback) -/// - public Random (Arguments args, OptArgs optargs) - : base(TermType.RANDOM, args, optargs) { - } - - - - - - - -/// -/// "float": "T_BOOL" -/// - public Random this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Random (this.Args, newOptArgs); - } - } - -/// -/// "float": "T_BOOL" -/// - public Random this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Random (this.Args, newOptArgs); - } - } - -/// -/// "float": "T_BOOL" -/// - public Random OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Random (this.Args, newOptArgs); - } - internal Random optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Random.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Random.cs.meta deleted file mode 100644 index e3d128b2c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Random.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e12ef7d31156bef4081e429825bc3900 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Range.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Range.cs deleted file mode 100644 index 73c3b91d5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Range.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Range : ReqlExpr { - - - - -/// -/// Generate a stream of sequential integers in a specified range. -/// -/// Example: Return a four-element range of [0, 1, 2, 3]. -/// > r.range(4).run(conn, callback) -/// // result returned to callback -/// [0, 1, 2, 3] -/// - public Range (object arg) : this(new Arguments(arg), null) { - } -/// -/// Generate a stream of sequential integers in a specified range. -/// -/// Example: Return a four-element range of [0, 1, 2, 3]. -/// > r.range(4).run(conn, callback) -/// // result returned to callback -/// [0, 1, 2, 3] -/// - public Range (Arguments args) : this(args, null) { - } -/// -/// Generate a stream of sequential integers in a specified range. -/// -/// Example: Return a four-element range of [0, 1, 2, 3]. -/// > r.range(4).run(conn, callback) -/// // result returned to callback -/// [0, 1, 2, 3] -/// - public Range (Arguments args, OptArgs optargs) - : base(TermType.RANGE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Range.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Range.cs.meta deleted file mode 100644 index 2f85078dd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Range.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fde7ab7ec84a3af42b38b907c275bfbf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Rebalance.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Rebalance.cs deleted file mode 100644 index bef9539c2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Rebalance.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Rebalance : ReqlExpr { - - - - -/// -/// Rebalances the shards of a table. When called on a database, all the tables in that database will be rebalanced. -/// -/// Example: Rebalance a table. -/// > r.table('superheroes').rebalance().run(conn, callback); -/// - public Rebalance (object arg) : this(new Arguments(arg), null) { - } -/// -/// Rebalances the shards of a table. When called on a database, all the tables in that database will be rebalanced. -/// -/// Example: Rebalance a table. -/// > r.table('superheroes').rebalance().run(conn, callback); -/// - public Rebalance (Arguments args) : this(args, null) { - } -/// -/// Rebalances the shards of a table. When called on a database, all the tables in that database will be rebalanced. -/// -/// Example: Rebalance a table. -/// > r.table('superheroes').rebalance().run(conn, callback); -/// - public Rebalance (Arguments args, OptArgs optargs) - : base(TermType.REBALANCE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Rebalance.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Rebalance.cs.meta deleted file mode 100644 index d64ebd7df..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Rebalance.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b44ecc28f661bb2448d53f0e750dbcf2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reconfigure.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reconfigure.cs deleted file mode 100644 index dc3bc9717..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reconfigure.cs +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Reconfigure : ReqlExpr { - - - - -/// -/// Reconfigure a table's sharding and replication. -/// -/// Example: Reconfigure a table. -/// > r.table('superheroes').reconfigure({shards: 2, replicas: 1}).run(conn, callback); -/// - public Reconfigure (object arg) : this(new Arguments(arg), null) { - } -/// -/// Reconfigure a table's sharding and replication. -/// -/// Example: Reconfigure a table. -/// > r.table('superheroes').reconfigure({shards: 2, replicas: 1}).run(conn, callback); -/// - public Reconfigure (Arguments args) : this(args, null) { - } -/// -/// Reconfigure a table's sharding and replication. -/// -/// Example: Reconfigure a table. -/// > r.table('superheroes').reconfigure({shards: 2, replicas: 1}).run(conn, callback); -/// - public Reconfigure (Arguments args, OptArgs optargs) - : base(TermType.RECONFIGURE, args, optargs) { - } - - - - - - - -/// -/// "shards": "T_NUM", -/// "replicas": [ -/// "T_OBJECT", -/// "T_NUM" -/// ], -/// "primary_replica_tag": "T_STR", -/// "dry_run": "T_BOOL", -/// "nonvoting_replica_tags": "T_ARRAY", -/// "emergency_repair": "E_EMERGENCY_REPAIR" -/// - public Reconfigure this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Reconfigure (this.Args, newOptArgs); - } - } - -/// -/// "shards": "T_NUM", -/// "replicas": [ -/// "T_OBJECT", -/// "T_NUM" -/// ], -/// "primary_replica_tag": "T_STR", -/// "dry_run": "T_BOOL", -/// "nonvoting_replica_tags": "T_ARRAY", -/// "emergency_repair": "E_EMERGENCY_REPAIR" -/// - public Reconfigure this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Reconfigure (this.Args, newOptArgs); - } - } - -/// -/// "shards": "T_NUM", -/// "replicas": [ -/// "T_OBJECT", -/// "T_NUM" -/// ], -/// "primary_replica_tag": "T_STR", -/// "dry_run": "T_BOOL", -/// "nonvoting_replica_tags": "T_ARRAY", -/// "emergency_repair": "E_EMERGENCY_REPAIR" -/// - public Reconfigure OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Reconfigure (this.Args, newOptArgs); - } - internal Reconfigure optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reconfigure.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reconfigure.cs.meta deleted file mode 100644 index b3c70f99c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reconfigure.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6d27bbd6cd80cf845bc543a1f43e92ab -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reduce.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reduce.cs deleted file mode 100644 index db63d726d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reduce.cs +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Reduce : ReqlExpr { - - - - -/// -/// Produce a single value from a sequence through repeated application of a reduction function. -/// -/// Example: Return the number of documents in the table posts. -/// r.table("posts").map(function(doc) { -/// return 1; -/// }).reduce(function(left, right) { -/// return left.add(right); -/// }).default(0).run(conn, callback); -/// -/// A shorter way to execute this query is to use count. - public Reduce (object arg) : this(new Arguments(arg), null) { - } -/// -/// Produce a single value from a sequence through repeated application of a reduction function. -/// -/// Example: Return the number of documents in the table posts. -/// r.table("posts").map(function(doc) { -/// return 1; -/// }).reduce(function(left, right) { -/// return left.add(right); -/// }).default(0).run(conn, callback); -/// -/// A shorter way to execute this query is to use count. - public Reduce (Arguments args) : this(args, null) { - } -/// -/// Produce a single value from a sequence through repeated application of a reduction function. -/// -/// Example: Return the number of documents in the table posts. -/// r.table("posts").map(function(doc) { -/// return 1; -/// }).reduce(function(left, right) { -/// return left.add(right); -/// }).default(0).run(conn, callback); -/// -/// A shorter way to execute this query is to use count. - public Reduce (Arguments args, OptArgs optargs) - : base(TermType.REDUCE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reduce.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reduce.cs.meta deleted file mode 100644 index 152ca36ae..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Reduce.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ddf96213132529249b4a2c5311473b32 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Replace.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Replace.cs deleted file mode 100644 index a811e3ae2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Replace.cs +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Replace : ReqlExpr { - - - - -/// -/// Replace documents in a table. Accepts a JSON document or a ReQL expression, -/// and replaces the original document with the new one. The new document must -/// have the same primary key as the original document. -/// -/// Example: Replace the document with the primary key 1. -/// r.table("posts").get(1).replace({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Aleas jacta est", -/// status: "draft" -/// }).run(conn, callback) -/// - public Replace (object arg) : this(new Arguments(arg), null) { - } -/// -/// Replace documents in a table. Accepts a JSON document or a ReQL expression, -/// and replaces the original document with the new one. The new document must -/// have the same primary key as the original document. -/// -/// Example: Replace the document with the primary key 1. -/// r.table("posts").get(1).replace({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Aleas jacta est", -/// status: "draft" -/// }).run(conn, callback) -/// - public Replace (Arguments args) : this(args, null) { - } -/// -/// Replace documents in a table. Accepts a JSON document or a ReQL expression, -/// and replaces the original document with the new one. The new document must -/// have the same primary key as the original document. -/// -/// Example: Replace the document with the primary key 1. -/// r.table("posts").get(1).replace({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Aleas jacta est", -/// status: "draft" -/// }).run(conn, callback) -/// - public Replace (Arguments args, OptArgs optargs) - : base(TermType.REPLACE, args, optargs) { - } - - - - - - - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ], -/// "non_atomic": "T_BOOL" -/// - public Replace this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Replace (this.Args, newOptArgs); - } - } - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ], -/// "non_atomic": "T_BOOL" -/// - public Replace this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Replace (this.Args, newOptArgs); - } - } - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ], -/// "non_atomic": "T_BOOL" -/// - public Replace OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Replace (this.Args, newOptArgs); - } - internal Replace optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Replace.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Replace.cs.meta deleted file mode 100644 index 652c9e5da..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Replace.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 130f72779160ef74a8257606ea04e4ac -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlExpr.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlExpr.cs deleted file mode 100644 index fea85a551..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlExpr.cs +++ /dev/null @@ -1,8562 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class ReqlExpr : ReqlAst { - - - - - protected ReqlExpr (TermType termType, Arguments args, OptArgs optargs) : base(termType, args, optargs) - { - } - - - - - - - - - - - - - - - - - - -/// -/// Test if two or more values are equal. -/// -/// Example: See if a user's role field is set to administrator. -/// r.table('users').get(1)('role').eq('administrator').run(conn, callback); -/// - public Eq Eq ( Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Eq (arguments ); - } - internal Eq eq ( Object exprA, params object[] exprs ) - { - return Eq ( exprA, exprs ); - } -/// -/// Test if two or more values are not equal. -/// -/// Example: See if a user's role field is not set to administrator. -/// r.table('users').get(1)('role').ne('administrator').run(conn, callback); -/// - public Ne Ne ( Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Ne (arguments ); - } - internal Ne ne ( Object exprA, params object[] exprs ) - { - return Ne ( exprA, exprs ); - } -/// -/// Compare values, testing if the left-hand value is less than the right-hand. -/// -/// Example: Test if a player has scored less than 10 points. -/// r.table('players').get(1)('score').lt(10).run(conn, callback); -/// - public Lt Lt ( Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Lt (arguments ); - } - internal Lt lt ( Object exprA, params object[] exprs ) - { - return Lt ( exprA, exprs ); - } -/// -/// Compare values, testing if the left-hand value is less than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or less. -/// r.table('players').get(1)('score').le(10).run(conn, callback); -/// - public Le Le ( Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Le (arguments ); - } - internal Le le ( Object exprA, params object[] exprs ) - { - return Le ( exprA, exprs ); - } -/// -/// Compare values, testing if the left-hand value is greater than the right-hand. -/// -/// Example: Test if a player has scored more than 10 points. -/// r.table('players').get(1)('score').gt(10).run(conn, callback); -/// - public Gt Gt ( Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Gt (arguments ); - } - internal Gt gt ( Object exprA, params object[] exprs ) - { - return Gt ( exprA, exprs ); - } -/// -/// Compare values, testing if the left-hand value is greater than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or more. -/// r.table('players').get(1)('score').ge(10).run(conn, callback); -/// - public Ge Ge ( Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Ge (arguments ); - } - internal Ge ge ( Object exprA, params object[] exprs ) - { - return Ge ( exprA, exprs ); - } -/// -/// Compute the logical inverse (not) of an expression. -/// -/// Example: Not true is false. -/// r(true).not().run(conn, callback) -/// r.not(true).run(conn, callback) -/// -/// These evaluate to false. - public Not Not ( ) - { - Arguments arguments = new Arguments(this); - return new Not (arguments ); - } - internal Not not ( ) - { - return Not ( ); - } -/// -/// Sum two or more numbers, or concatenate two or more strings or arrays. -/// -/// Example: It's as easy as 2 + 2 = 4. -/// > r.expr(2).add(2).run(conn, callback) -/// // result passed to callback -/// 4 -/// - public Add Add ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new Add (arguments ); - } - internal Add add ( params object[] exprs ) - { - return Add ( exprs ); - } -/// -/// Subtract two numbers. -/// -/// Example: It's as easy as 2 - 2 = 0. -/// r.expr(2).sub(2).run(conn, callback) -/// - public Sub Sub ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new Sub (arguments ); - } - internal Sub sub ( params object[] exprs ) - { - return Sub ( exprs ); - } -/// -/// Multiply two numbers, or make a periodic array. -/// -/// Example: It's as easy as 2 * 2 = 4. -/// r.expr(2).mul(2).run(conn, callback) -/// - public Mul Mul ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new Mul (arguments ); - } - internal Mul mul ( params object[] exprs ) - { - return Mul ( exprs ); - } -/// -/// Divide two numbers. -/// -/// Example: It's as easy as 2 / 2 = 1. -/// r.expr(2).div(2).run(conn, callback) -/// - public Div Div ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new Div (arguments ); - } - internal Div div ( params object[] exprs ) - { - return Div ( exprs ); - } -/// -/// -/// -/// Example: It's as easy as 2 % 2 = 0. -/// r.expr(2).mod(2).run(conn, callback) -/// - public Mod Mod ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Mod (arguments ); - } - internal Mod mod ( Object exprA ) - { - return Mod ( exprA ); - } -/// -/// Rounds the given value down, returning the largest integer value less than or equal to the given value (the value's floor). -/// -/// Example: Return the floor of 12.345. -/// r.floor(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The floor command can also be chained after an expression. - public Floor Floor ( ) - { - Arguments arguments = new Arguments(this); - return new Floor (arguments ); - } - internal Floor floor ( ) - { - return Floor ( ); - } -/// -/// Rounds the given value up, returning the smallest integer value greater than or equal to the given value (the value's ceiling). -/// -/// Example: Return the ceiling of 12.345. -/// r.ceil(12.345).run(conn, callback); -/// // Result passed to callback -/// 13.0 -/// -/// The ceil command can also be chained after an expression. - public Ceil Ceil ( ) - { - Arguments arguments = new Arguments(this); - return new Ceil (arguments ); - } - internal Ceil ceil ( ) - { - return Ceil ( ); - } -/// -/// Rounds the given value to the nearest whole integer. -/// -/// Example: Round 12.345 to the nearest integer. -/// r.round(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The round command can also be chained after an expression. - public Round Round ( ) - { - Arguments arguments = new Arguments(this); - return new Round (arguments ); - } - internal Round round ( ) - { - return Round ( ); - } -/// -/// Append a value to an array. -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').append('newBoots').run(conn, callback) -/// - public Append Append ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Append (arguments ); - } - internal Append append ( Object exprA ) - { - return Append ( exprA ); - } -/// -/// Prepend a value to an array. -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').prepend('newBoots').run(conn, callback) -/// - public Prepend Prepend ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Prepend (arguments ); - } - internal Prepend prepend ( Object exprA ) - { - return Prepend ( exprA ); - } -/// -/// Remove the elements of one array from another array. -/// -/// Example: Retrieve Iron Man's equipment list without boots. -/// r.table('marvel').get('IronMan')('equipment') -/// .difference(['Boots']) -/// .run(conn, callback) -/// - public Difference Difference ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Difference (arguments ); - } - internal Difference difference ( Object exprA ) - { - return Difference ( exprA ); - } -/// -/// Add a value to an array and return it as a set (an array with distinct values). -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').setInsert('newBoots').run(conn, callback) -/// - public SetInsert SetInsert ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new SetInsert (arguments ); - } - internal SetInsert setInsert ( Object exprA ) - { - return SetInsert ( exprA ); - } -/// -/// Intersect two arrays returning values that occur in both of them as a set (an array with -/// distinct values). -/// -/// Example: Check which pieces of equipment Iron Man has from a fixed list. -/// r.table('marvel').get('IronMan')('equipment').setIntersection(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetIntersection SetIntersection ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new SetIntersection (arguments ); - } - internal SetIntersection setIntersection ( Object exprA ) - { - return SetIntersection ( exprA ); - } -/// -/// Add a several values to an array and return it as a set (an array with distinct values). -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots and an arc reactor. -/// r.table('marvel').get('IronMan')('equipment').setUnion(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetUnion SetUnion ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new SetUnion (arguments ); - } - internal SetUnion setUnion ( Object exprA ) - { - return SetUnion ( exprA ); - } -/// -/// Remove the elements of one array from another and return them as a set (an array with -/// distinct values). -/// -/// Example: Check which pieces of equipment Iron Man has, excluding a fixed list. -/// r.table('marvel').get('IronMan')('equipment').setDifference(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetDifference SetDifference ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new SetDifference (arguments ); - } - internal SetDifference setDifference ( Object exprA ) - { - return SetDifference ( exprA ); - } -/// -/// Return the elements of a sequence within the specified range. -/// -/// Example: Return the fourth, fifth and sixth youngest players. (The youngest player is at index 0, so those are elements 3-5.) -/// r.table('players').orderBy({index: 'age'}).slice(3,6).run(conn, callback); -/// - public Slice Slice ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Slice (arguments ); - } - internal Slice slice ( Object exprA ) - { - return Slice ( exprA ); - } -/// -/// Return the elements of a sequence within the specified range. -/// -/// Example: Return the fourth, fifth and sixth youngest players. (The youngest player is at index 0, so those are elements 3-5.) -/// r.table('players').orderBy({index: 'age'}).slice(3,6).run(conn, callback); -/// - public Slice Slice ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Slice (arguments ); - } - internal Slice slice ( Object exprA, Object exprB ) - { - return Slice ( exprA, exprB ); - } -/// -/// Skip a number of elements from the head of the sequence. -/// -/// Example: Here in conjunction with orderBy we choose to ignore the most successful heroes. -/// r.table('marvel').orderBy('successMetric').skip(10).run(conn, callback) -/// - public Skip Skip ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Skip (arguments ); - } - internal Skip skip ( Object exprA ) - { - return Skip ( exprA ); - } -/// -/// End the sequence after the given number of elements. -/// -/// Example: Only so many can fit in our Pantheon of heroes. -/// r.table('marvel').orderBy('belovedness').limit(10).run(conn, callback) -/// - public Limit Limit ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Limit (arguments ); - } - internal Limit limit ( Object exprA ) - { - return Limit ( exprA ); - } -/// -/// Get the indexes of an element in a sequence. If the argument is a predicate, get the indexes of all elements matching it. -/// -/// Example: Find the position of the letter 'c'. -/// r.expr(['a','b','c']).offsetsOf('c').run(conn, callback) -/// - public OffsetsOf OffsetsOf ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new OffsetsOf (arguments ); - } - internal OffsetsOf offsetsOf ( Javascript js ) - { - return OffsetsOf ( js ); - } -/// -/// Get the indexes of an element in a sequence. If the argument is a predicate, get the indexes of all elements matching it. -/// -/// Example: Find the position of the letter 'c'. -/// r.expr(['a','b','c']).offsetsOf('c').run(conn, callback) -/// - public OffsetsOf OffsetsOf ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new OffsetsOf (arguments ); - } - internal OffsetsOf offsetsOf ( Object exprA ) - { - return OffsetsOf ( exprA ); - } -/// -/// Get the indexes of an element in a sequence. If the argument is a predicate, get the indexes of all elements matching it. -/// -/// Example: Find the position of the letter 'c'. -/// r.expr(['a','b','c']).offsetsOf('c').run(conn, callback) -/// - public OffsetsOf OffsetsOf ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new OffsetsOf (arguments ); - } - internal OffsetsOf offsetsOf ( ReqlFunction1 func1 ) - { - return OffsetsOf ( func1 ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ) - { - Arguments arguments = new Arguments(this); - return new Contains (arguments ); - } - internal Contains contains ( ) - { - return Contains ( ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js ) - { - return Contains ( js ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Javascript jsA ) - { - return Contains ( js, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Javascript jsA, Javascript jsB ) - { - return Contains ( js, jsA, jsB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(jsC); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - return Contains ( js, jsA, jsB, jsC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - return Contains ( js, jsA, jsB, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Javascript jsA, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Javascript jsA, Object exprA ) - { - return Contains ( js, jsA, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsB); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - return Contains ( js, jsA, exprA, jsB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - return Contains ( js, jsA, exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Object exprA ) - { - return Contains ( js, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Object exprA, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Object exprA, Javascript jsA ) - { - return Contains ( js, exprA, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - return Contains ( js, exprA, jsA, jsB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - return Contains ( js, exprA, jsA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Object exprA, Object exprB ) - { - return Contains ( js, exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - return Contains ( js, exprA, exprB, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Javascript js, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments ); - } - internal Contains contains ( Javascript js, Object exprA, Object exprB, Object exprC ) - { - return Contains ( js, exprA, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA ) - { - return Contains ( exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Javascript js ) - { - return Contains ( exprA, js ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Javascript js, Javascript jsA ) - { - return Contains ( exprA, js, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - return Contains ( exprA, js, jsA, jsB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - return Contains ( exprA, js, jsA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Javascript js, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Javascript js, Object exprB ) - { - return Contains ( exprA, js, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - return Contains ( exprA, js, exprB, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Javascript js, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Javascript js, Object exprB, Object exprC ) - { - return Contains ( exprA, js, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB ) - { - return Contains ( exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, Javascript js ) - { - return Contains ( exprA, exprB, js ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - return Contains ( exprA, exprB, js, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, Javascript js, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, Javascript js, Object exprC ) - { - return Contains ( exprA, exprB, js, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, Object exprC ) - { - return Contains ( exprA, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(js); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - return Contains ( exprA, exprB, exprC, js ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, Object exprC, Object exprD ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(exprD); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, Object exprC, Object exprD ) - { - return Contains ( exprA, exprB, exprC, exprD ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(func1); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - return Contains ( exprA, exprB, exprC, func1 ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, ReqlFunction1 func1 ) - { - return Contains ( exprA, exprB, func1 ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - return Contains ( exprA, exprB, func1, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Contains ( exprA, exprB, func1, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, ReqlFunction1 func1 ) - { - return Contains ( exprA, func1 ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, ReqlFunction1 func1, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, ReqlFunction1 func1, Object exprB ) - { - return Contains ( exprA, func1, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - return Contains ( exprA, func1, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - return Contains ( exprA, func1, exprB, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Contains ( exprA, func1, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - return Contains ( exprA, func1, func1A, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Contains (arguments ); - } - internal Contains contains ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Contains ( exprA, func1, func1A, func1B ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1 ) - { - return Contains ( func1 ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, Object exprA ) - { - return Contains ( func1, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, Object exprA, Object exprB ) - { - return Contains ( func1, exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - return Contains ( func1, exprA, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - return Contains ( func1, exprA, exprB, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - return Contains ( func1, exprA, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - return Contains ( func1, exprA, func1A, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Contains ( func1, exprA, func1A, func1B ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Contains ( func1, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - return Contains ( func1, func1A, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - return Contains ( func1, func1A, exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1B); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - return Contains ( func1, func1A, exprA, func1B ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Contains ( func1, func1A, func1B ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - return Contains ( func1, func1A, func1B, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(func1C); - return new Contains (arguments ); - } - internal Contains contains ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - return Contains ( func1, func1A, func1B, func1C ); - } -/// -/// Get a single field from an object. If called on a sequence, gets that field from every -/// object in the sequence, skipping objects that lack it. -/// -/// Example: What was Iron Man's first appearance in a comic? -/// r.table('marvel').get('IronMan').getField('firstAppearance').run(conn, callback) -/// - public GetField GetField ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new GetField (arguments ); - } - internal GetField getField ( Object exprA ) - { - return GetField ( exprA ); - } -/// -/// Get a single field from an object. If called on a sequence, gets that field from every -/// object in the sequence, skipping objects that lack it. -/// -/// Example: What was Iron Man's first appearance in a comic? -/// r.table('marvel').get('IronMan').getField('firstAppearance').run(conn, callback) -/// - public GetField G ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new GetField (arguments ); - } - internal GetField g ( Object exprA ) - { - return G ( exprA ); - } -/// -/// Return an array containing all of an object's keys. Note that the keys will be sorted as described in ReQL data types (for strings, lexicographically). -/// -/// Example: Get all the keys from a table row. -/// // row: { id: 1, mail: "fred@example.com", name: "fred" } -/// -/// r.table('users').get(1).keys().run(conn, callback); -/// // Result passed to callback -/// [ "id", "mail", "name" ] -/// - public Keys Keys ( ) - { - Arguments arguments = new Arguments(this); - return new Keys (arguments ); - } - internal Keys keys ( ) - { - return Keys ( ); - } -/// -/// Test if an object has one or more fields. An object has a field if it has that key and the key has a non-null value. For instance, the object {'a': 1,'b': 2,'c': null} has the fields a and b. -/// -/// Example: Return the players who have won games. -/// r.table('players').hasFields('games_won').run(conn, callback) -/// - public HasFields HasFields ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new HasFields (arguments ); - } -/// -/// Test if an object has one or more fields. An object has a field if it has that key and the key has a non-null value. For instance, the object {'a': 1,'b': 2,'c': null} has the fields a and b. -/// -/// Example: Return the players who have won games. -/// r.table('players').hasFields('games_won').run(conn, callback) -/// - /// Same as calling params object[] overload, except the collection is applied as object[] params. - public HasFields HasFields ( ICollection args ) - { - var arguments = new Arguments(this); - arguments.CoerceAndAddAll(args); - return new HasFields (arguments); - } - internal HasFields hasFields ( params object[] exprs ) - { - return HasFields ( exprs ); - } -/// -/// Plucks one or more attributes from a sequence of objects, filtering out any objects in the sequence that do not have the specified fields. Functionally, this is identical to hasFields followed by pluck on a sequence. -/// -/// Example: Get a list of users and their posts, excluding any users who have not made any posts. -/// Existing table structure: -/// [ -/// { 'id': 1, 'user': 'bob', 'email': 'bob@foo.com', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 2, 'user': 'george', 'email': 'george@foo.com' }, -/// { 'id': 3, 'user': 'jane', 'email': 'jane@foo.com', 'posts': [ 2, 3, 6 ] } -/// ] -/// -/// Command and output: -/// > r.table('users').withFields('id', 'user', 'posts').run(conn, callback) -/// // Result passed to callback -/// [ -/// { 'id': 1, 'user': 'bob', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 3, 'user': 'jane', 'posts': [ 2, 3, 6 ] } -/// ] -/// - public WithFields WithFields ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new WithFields (arguments ); - } -/// -/// Plucks one or more attributes from a sequence of objects, filtering out any objects in the sequence that do not have the specified fields. Functionally, this is identical to hasFields followed by pluck on a sequence. -/// -/// Example: Get a list of users and their posts, excluding any users who have not made any posts. -/// Existing table structure: -/// [ -/// { 'id': 1, 'user': 'bob', 'email': 'bob@foo.com', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 2, 'user': 'george', 'email': 'george@foo.com' }, -/// { 'id': 3, 'user': 'jane', 'email': 'jane@foo.com', 'posts': [ 2, 3, 6 ] } -/// ] -/// -/// Command and output: -/// > r.table('users').withFields('id', 'user', 'posts').run(conn, callback) -/// // Result passed to callback -/// [ -/// { 'id': 1, 'user': 'bob', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 3, 'user': 'jane', 'posts': [ 2, 3, 6 ] } -/// ] -/// - /// Same as calling params object[] overload, except the collection is applied as object[] params. - public WithFields WithFields ( ICollection args ) - { - var arguments = new Arguments(this); - arguments.CoerceAndAddAll(args); - return new WithFields (arguments); - } - internal WithFields withFields ( params object[] exprs ) - { - return WithFields ( exprs ); - } -/// -/// Plucks out one or more attributes from either an object or a sequence of objects -/// (projection). -/// -/// Example: We just need information about IronMan's reactor and not the rest of the -/// document. -/// r.table('marvel').get('IronMan').pluck('reactorState', 'reactorPower').run(conn, callback) -/// - public Pluck Pluck ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new Pluck (arguments ); - } -/// -/// Plucks out one or more attributes from either an object or a sequence of objects -/// (projection). -/// -/// Example: We just need information about IronMan's reactor and not the rest of the -/// document. -/// r.table('marvel').get('IronMan').pluck('reactorState', 'reactorPower').run(conn, callback) -/// - /// Same as calling params object[] overload, except the collection is applied as object[] params. - public Pluck Pluck ( ICollection args ) - { - var arguments = new Arguments(this); - arguments.CoerceAndAddAll(args); - return new Pluck (arguments); - } - internal Pluck pluck ( params object[] exprs ) - { - return Pluck ( exprs ); - } -/// -/// The opposite of pluck; takes an object or a sequence of objects, and returns them with -/// the specified paths removed. -/// -/// Example: Since we don't need it for this computation we'll save bandwidth and leave -/// out the list of IronMan's romantic conquests. -/// r.table('marvel').get('IronMan').without('personalVictoriesList').run(conn, callback) -/// - public Without Without ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new Without (arguments ); - } -/// -/// The opposite of pluck; takes an object or a sequence of objects, and returns them with -/// the specified paths removed. -/// -/// Example: Since we don't need it for this computation we'll save bandwidth and leave -/// out the list of IronMan's romantic conquests. -/// r.table('marvel').get('IronMan').without('personalVictoriesList').run(conn, callback) -/// - /// Same as calling params object[] overload, except the collection is applied as object[] params. - public Without Without ( ICollection args ) - { - var arguments = new Arguments(this); - arguments.CoerceAndAddAll(args); - return new Without (arguments); - } - internal Without without ( params object[] exprs ) - { - return Without ( exprs ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ) - { - Arguments arguments = new Arguments(this); - return new Merge (arguments ); - } - internal Merge merge ( ) - { - return Merge ( ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js ) - { - return Merge ( js ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Javascript jsA ) - { - return Merge ( js, jsA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Javascript jsA, Javascript jsB ) - { - return Merge ( js, jsA, jsB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(jsC); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - return Merge ( js, jsA, jsB, jsC ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(exprA); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - return Merge ( js, jsA, jsB, exprA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Javascript jsA, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Javascript jsA, Object exprA ) - { - return Merge ( js, jsA, exprA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsB); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - return Merge ( js, jsA, exprA, jsB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - return Merge ( js, jsA, exprA, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Object exprA ) - { - return Merge ( js, exprA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Object exprA, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Object exprA, Javascript jsA ) - { - return Merge ( js, exprA, jsA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - return Merge ( js, exprA, jsA, jsB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - return Merge ( js, exprA, jsA, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Object exprA, Object exprB ) - { - return Merge ( js, exprA, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - return Merge ( js, exprA, exprB, jsA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Javascript js, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Merge (arguments ); - } - internal Merge merge ( Javascript js, Object exprA, Object exprB, Object exprC ) - { - return Merge ( js, exprA, exprB, exprC ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA ) - { - return Merge ( exprA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Javascript js ) - { - return Merge ( exprA, js ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Javascript js, Javascript jsA ) - { - return Merge ( exprA, js, jsA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - return Merge ( exprA, js, jsA, jsB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - return Merge ( exprA, js, jsA, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Javascript js, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Javascript js, Object exprB ) - { - return Merge ( exprA, js, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - return Merge ( exprA, js, exprB, jsA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Javascript js, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Javascript js, Object exprB, Object exprC ) - { - return Merge ( exprA, js, exprB, exprC ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB ) - { - return Merge ( exprA, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, Javascript js ) - { - return Merge ( exprA, exprB, js ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - return Merge ( exprA, exprB, js, jsA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, Javascript js, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprC); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, Javascript js, Object exprC ) - { - return Merge ( exprA, exprB, js, exprC ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, Object exprC ) - { - return Merge ( exprA, exprB, exprC ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(js); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - return Merge ( exprA, exprB, exprC, js ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, Object exprC, Object exprD ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(exprD); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, Object exprC, Object exprD ) - { - return Merge ( exprA, exprB, exprC, exprD ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(func1); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - return Merge ( exprA, exprB, exprC, func1 ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, ReqlFunction1 func1 ) - { - return Merge ( exprA, exprB, func1 ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprC); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - return Merge ( exprA, exprB, func1, exprC ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Merge ( exprA, exprB, func1, func1A ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, ReqlFunction1 func1 ) - { - return Merge ( exprA, func1 ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, ReqlFunction1 func1, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, ReqlFunction1 func1, Object exprB ) - { - return Merge ( exprA, func1, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - return Merge ( exprA, func1, exprB, exprC ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - return Merge ( exprA, func1, exprB, func1A ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Merge ( exprA, func1, func1A ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - return Merge ( exprA, func1, func1A, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Merge (arguments ); - } - internal Merge merge ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Merge ( exprA, func1, func1A, func1B ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1 ) - { - return Merge ( func1 ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, Object exprA ) - { - return Merge ( func1, exprA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, Object exprA, Object exprB ) - { - return Merge ( func1, exprA, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - return Merge ( func1, exprA, exprB, exprC ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - return Merge ( func1, exprA, exprB, func1A ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - return Merge ( func1, exprA, func1A ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - return Merge ( func1, exprA, func1A, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Merge ( func1, exprA, func1A, func1B ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Merge ( func1, func1A ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - return Merge ( func1, func1A, exprA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - return Merge ( func1, func1A, exprA, exprB ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1B); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - return Merge ( func1, func1A, exprA, func1B ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Merge ( func1, func1A, func1B ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(exprA); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - return Merge ( func1, func1A, func1B, exprA ); - } -/// -/// Merge two or more objects together to construct a new object with properties from all. When there is a conflict between field names, preference is given to fields in the rightmost object in the argument list. merge also accepts a subquery function that returns an object, which will be used similarly to a map function. -/// -/// Example: Equip Thor for battle. -/// r.table('marvel').get('thor').merge( -/// r.table('equipment').get('hammer'), -/// r.table('equipment').get('pimento_sandwich') -/// ).run(conn, callback) -/// - public Merge Merge ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(func1C); - return new Merge (arguments ); - } - internal Merge merge ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - return Merge ( func1, func1A, func1B, func1C ); - } -/// -/// Get all documents between two keys. Accepts three optional arguments: index, leftBound, and rightBound. If index is set to the name of a secondary index, between will return all documents where that index's value is in the specified range (it uses the primary key by default). leftBound or rightBound may be set to open or closed to indicate whether or not to include that endpoint of the range (by default, leftBound is closed and rightBound is open). -/// -/// Example: Find all users with primary key >= 10 and < 20 (a normal half-open interval). -/// r.table('marvel').between(10, 20).run(conn, callback); -/// - public Between Between ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Between (arguments ); - } - internal Between between ( Object exprA, Object exprB ) - { - return Between ( exprA, exprB ); - } -/// -/// Produce a single value from a sequence through repeated application of a reduction function. -/// -/// Example: Return the number of documents in the table posts. -/// r.table("posts").map(function(doc) { -/// return 1; -/// }).reduce(function(left, right) { -/// return left.add(right); -/// }).default(0).run(conn, callback); -/// -/// A shorter way to execute this query is to use count. - public Reduce Reduce ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Reduce (arguments ); - } - internal Reduce reduce ( Javascript js ) - { - return Reduce ( js ); - } -/// -/// Produce a single value from a sequence through repeated application of a reduction function. -/// -/// Example: Return the number of documents in the table posts. -/// r.table("posts").map(function(doc) { -/// return 1; -/// }).reduce(function(left, right) { -/// return left.add(right); -/// }).default(0).run(conn, callback); -/// -/// A shorter way to execute this query is to use count. - public Reduce Reduce ( ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func2); - return new Reduce (arguments ); - } - internal Reduce reduce ( ReqlFunction2 func2 ) - { - return Reduce ( func2 ); - } -/// -/// Apply a function to a sequence in order, maintaining state via an accumulator. The fold command returns either a single value or a new sequence. -/// -/// Example: Concatenate words from a list. -/// r.table('words').orderBy('id').fold('', function (acc, word) { -/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word); -/// }).run(conn, callback); -/// -/// (This example could be implemented with reduce, but fold will preserve the order when words is a RethinkDB table or other stream, which is not guaranteed with reduce.) - public Fold Fold ( Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Fold (arguments ); - } - internal Fold fold ( Object exprA, Javascript js ) - { - return Fold ( exprA, js ); - } -/// -/// Apply a function to a sequence in order, maintaining state via an accumulator. The fold command returns either a single value or a new sequence. -/// -/// Example: Concatenate words from a list. -/// r.table('words').orderBy('id').fold('', function (acc, word) { -/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word); -/// }).run(conn, callback); -/// -/// (This example could be implemented with reduce, but fold will preserve the order when words is a RethinkDB table or other stream, which is not guaranteed with reduce.) - public Fold Fold ( Object exprA, ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func2); - return new Fold (arguments ); - } - internal Fold fold ( Object exprA, ReqlFunction2 func2 ) - { - return Fold ( exprA, func2 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Map (arguments ); - } - internal Map map ( Javascript js ) - { - return Map ( js ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Map (arguments ); - } - internal Map map ( Object exprA, Javascript js ) - { - return Map ( exprA, js ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new Map (arguments ); - } - internal Map map ( Object exprA, Object exprB, Javascript js ) - { - return Map ( exprA, exprB, js ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(js); - return new Map (arguments ); - } - internal Map map ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - return Map ( exprA, exprB, exprC, js ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object exprA, Object exprB, Object exprC, ReqlFunction4 func4 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(func4); - return new Map (arguments ); - } - internal Map map ( Object exprA, Object exprB, Object exprC, ReqlFunction4 func4 ) - { - return Map ( exprA, exprB, exprC, func4 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object exprA, Object exprB, ReqlFunction3 func3 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func3); - return new Map (arguments ); - } - internal Map map ( Object exprA, Object exprB, ReqlFunction3 func3 ) - { - return Map ( exprA, exprB, func3 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object exprA, ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func2); - return new Map (arguments ); - } - internal Map map ( Object exprA, ReqlFunction2 func2 ) - { - return Map ( exprA, func2 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( ReqlFunction0 func0 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func0); - return new Map (arguments ); - } - internal Map map ( ReqlFunction0 func0 ) - { - return Map ( func0 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Map (arguments ); - } - internal Map map ( ReqlFunction1 func1 ) - { - return Map ( func1 ); - } -/// -/// Return all the elements in a sequence for which the given predicate is true. The return value of filter will be the same as the input (sequence, stream, or array). Documents can be filtered in a variety of ways—ranges, nested values, boolean conditions, and the results of anonymous functions. -/// -/// Example: Get all users who are 30 years old. -/// r.table('users').filter({age: 30}).run(conn, callback); -/// -/// The predicate {age: 30} selects documents in the users table with an age field whose value is 30. Documents with an age field set to any other value or with no age field present are skipped. - public Filter Filter ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Filter (arguments ); - } - internal Filter filter ( Javascript js ) - { - return Filter ( js ); - } -/// -/// Return all the elements in a sequence for which the given predicate is true. The return value of filter will be the same as the input (sequence, stream, or array). Documents can be filtered in a variety of ways—ranges, nested values, boolean conditions, and the results of anonymous functions. -/// -/// Example: Get all users who are 30 years old. -/// r.table('users').filter({age: 30}).run(conn, callback); -/// -/// The predicate {age: 30} selects documents in the users table with an age field whose value is 30. Documents with an age field set to any other value or with no age field present are skipped. - public Filter Filter ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Filter (arguments ); - } - internal Filter filter ( Object exprA ) - { - return Filter ( exprA ); - } -/// -/// Return all the elements in a sequence for which the given predicate is true. The return value of filter will be the same as the input (sequence, stream, or array). Documents can be filtered in a variety of ways—ranges, nested values, boolean conditions, and the results of anonymous functions. -/// -/// Example: Get all users who are 30 years old. -/// r.table('users').filter({age: 30}).run(conn, callback); -/// -/// The predicate {age: 30} selects documents in the users table with an age field whose value is 30. Documents with an age field set to any other value or with no age field present are skipped. - public Filter Filter ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Filter (arguments ); - } - internal Filter filter ( ReqlFunction1 func1 ) - { - return Filter ( func1 ); - } -/// -/// Concatenate one or more elements into a single sequence using a mapping function. -/// -/// Example: Construct a sequence of all monsters defeated by Marvel heroes. The field "defeatedMonsters" is an array of one or more monster names. -/// r.table('marvel').concatMap(function(hero) { -/// return hero('defeatedMonsters') -/// }).run(conn, callback) -/// - public ConcatMap ConcatMap ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new ConcatMap (arguments ); - } - internal ConcatMap concatMap ( Javascript js ) - { - return ConcatMap ( js ); - } -/// -/// Concatenate one or more elements into a single sequence using a mapping function. -/// -/// Example: Construct a sequence of all monsters defeated by Marvel heroes. The field "defeatedMonsters" is an array of one or more monster names. -/// r.table('marvel').concatMap(function(hero) { -/// return hero('defeatedMonsters') -/// }).run(conn, callback) -/// - public ConcatMap ConcatMap ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new ConcatMap (arguments ); - } - internal ConcatMap concatMap ( ReqlFunction1 func1 ) - { - return ConcatMap ( func1 ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ) - { - Arguments arguments = new Arguments(this); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ) - { - return OrderBy ( ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js ) - { - return OrderBy ( js ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Javascript jsA ) - { - return OrderBy ( js, jsA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Javascript jsA, Javascript jsB ) - { - return OrderBy ( js, jsA, jsB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(jsC); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - return OrderBy ( js, jsA, jsB, jsC ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(exprA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - return OrderBy ( js, jsA, jsB, exprA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Javascript jsA, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Javascript jsA, Object exprA ) - { - return OrderBy ( js, jsA, exprA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - return OrderBy ( js, jsA, exprA, jsB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - return OrderBy ( js, jsA, exprA, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Object exprA ) - { - return OrderBy ( js, exprA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Object exprA, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Object exprA, Javascript jsA ) - { - return OrderBy ( js, exprA, jsA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - return OrderBy ( js, exprA, jsA, jsB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - return OrderBy ( js, exprA, jsA, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Object exprA, Object exprB ) - { - return OrderBy ( js, exprA, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - return OrderBy ( js, exprA, exprB, jsA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Javascript js, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Javascript js, Object exprA, Object exprB, Object exprC ) - { - return OrderBy ( js, exprA, exprB, exprC ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA ) - { - return OrderBy ( exprA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Javascript js ) - { - return OrderBy ( exprA, js ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Javascript js, Javascript jsA ) - { - return OrderBy ( exprA, js, jsA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - return OrderBy ( exprA, js, jsA, jsB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - return OrderBy ( exprA, js, jsA, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Javascript js, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Javascript js, Object exprB ) - { - return OrderBy ( exprA, js, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - return OrderBy ( exprA, js, exprB, jsA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Javascript js, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Javascript js, Object exprB, Object exprC ) - { - return OrderBy ( exprA, js, exprB, exprC ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB ) - { - return OrderBy ( exprA, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, Javascript js ) - { - return OrderBy ( exprA, exprB, js ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - return OrderBy ( exprA, exprB, js, jsA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, Javascript js, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprC); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, Javascript js, Object exprC ) - { - return OrderBy ( exprA, exprB, js, exprC ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, Object exprC ) - { - return OrderBy ( exprA, exprB, exprC ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(js); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - return OrderBy ( exprA, exprB, exprC, js ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, Object exprC, Object exprD ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(exprD); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, Object exprC, Object exprD ) - { - return OrderBy ( exprA, exprB, exprC, exprD ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(func1); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - return OrderBy ( exprA, exprB, exprC, func1 ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, ReqlFunction1 func1 ) - { - return OrderBy ( exprA, exprB, func1 ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprC); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - return OrderBy ( exprA, exprB, func1, exprC ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return OrderBy ( exprA, exprB, func1, func1A ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, ReqlFunction1 func1 ) - { - return OrderBy ( exprA, func1 ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, ReqlFunction1 func1, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, ReqlFunction1 func1, Object exprB ) - { - return OrderBy ( exprA, func1, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - return OrderBy ( exprA, func1, exprB, exprC ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - return OrderBy ( exprA, func1, exprB, func1A ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return OrderBy ( exprA, func1, func1A ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - return OrderBy ( exprA, func1, func1A, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return OrderBy ( exprA, func1, func1A, func1B ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1 ) - { - return OrderBy ( func1 ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, Object exprA ) - { - return OrderBy ( func1, exprA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, Object exprA, Object exprB ) - { - return OrderBy ( func1, exprA, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - return OrderBy ( func1, exprA, exprB, exprC ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - return OrderBy ( func1, exprA, exprB, func1A ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - return OrderBy ( func1, exprA, func1A ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - return OrderBy ( func1, exprA, func1A, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return OrderBy ( func1, exprA, func1A, func1B ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return OrderBy ( func1, func1A ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - return OrderBy ( func1, func1A, exprA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - return OrderBy ( func1, func1A, exprA, exprB ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1B); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - return OrderBy ( func1, func1A, exprA, func1B ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return OrderBy ( func1, func1A, func1B ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(exprA); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - return OrderBy ( func1, func1A, func1B, exprA ); - } -/// -/// Sort the sequence by document values of the given key(s). To specify -/// the ordering, wrap the attribute with either r.asc or r.desc -/// (defaults to ascending). -/// -/// Example: Order all the posts using the index date. -/// r.table('posts').orderBy({index: 'date'}).run(conn, callback); -/// - public OrderBy OrderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(func1C); - return new OrderBy (arguments ); - } - internal OrderBy orderBy ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - return OrderBy ( func1, func1A, func1B, func1C ); - } -/// -/// Removes duplicates from elements in a sequence. -/// -/// Example: Which unique villains have been vanquished by Marvel heroes? -/// r.table('marvel').concatMap(function(hero) { -/// return hero('villainList') -/// }).distinct().run(conn, callback) -/// - public Distinct Distinct ( ) - { - Arguments arguments = new Arguments(this); - return new Distinct (arguments ); - } - internal Distinct distinct ( ) - { - return Distinct ( ); - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count Count ( ) - { - Arguments arguments = new Arguments(this); - return new Count (arguments ); - } - internal Count count ( ) - { - return Count ( ); - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count Count ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Count (arguments ); - } - internal Count count ( Javascript js ) - { - return Count ( js ); - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count Count ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Count (arguments ); - } - internal Count count ( Object exprA ) - { - return Count ( exprA ); - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count Count ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Count (arguments ); - } - internal Count count ( ReqlFunction1 func1 ) - { - return Count ( func1 ); - } -/// -/// Test if a sequence is empty. -/// -/// Example: Are there any documents in the marvel table? -/// r.table('marvel').isEmpty().run(conn, callback) -/// - public IsEmpty IsEmpty ( ) - { - Arguments arguments = new Arguments(this); - return new IsEmpty (arguments ); - } - internal IsEmpty isEmpty ( ) - { - return IsEmpty ( ); - } -/// -/// Merge two or more sequences. -/// -/// Example: Construct a stream of all heroes. -/// r.table('marvel').union(r.table('dc')).run(conn, callback); -/// - public Union Union ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new Union (arguments ); - } - internal Union union ( params object[] exprs ) - { - return Union ( exprs ); - } -/// -/// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. -/// -/// Example: Select the second element in the array. -/// r.expr([1,2,3]).nth(1).run(conn, callback) -/// r.expr([1,2,3])(1).run(conn, callback) -/// - public Nth Nth ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Nth (arguments ); - } - internal Nth nth ( Object exprA ) - { - return Nth ( exprA ); - } -/// -/// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. -/// -/// Example: What was Iron Man's first appearance in a comic? -/// r.table('marvel').get('IronMan')('firstAppearance').run(conn, callback) -/// - public Bracket Bracket ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Bracket (arguments ); - } - internal Bracket bracket ( Object exprA ) - { - return Bracket ( exprA ); - } -/// -/// Returns an inner join of two sequences. -/// -/// Example: Return a list of all matchups between Marvel and DC heroes in which the DC hero could beat the Marvel hero in a fight. -/// r.table('marvel').innerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).zip().run(conn, callback) -/// - public InnerJoin InnerJoin ( Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new InnerJoin (arguments ); - } - internal InnerJoin innerJoin ( Object exprA, Javascript js ) - { - return InnerJoin ( exprA, js ); - } -/// -/// Returns an inner join of two sequences. -/// -/// Example: Return a list of all matchups between Marvel and DC heroes in which the DC hero could beat the Marvel hero in a fight. -/// r.table('marvel').innerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).zip().run(conn, callback) -/// - public InnerJoin InnerJoin ( Object exprA, ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func2); - return new InnerJoin (arguments ); - } - internal InnerJoin innerJoin ( Object exprA, ReqlFunction2 func2 ) - { - return InnerJoin ( exprA, func2 ); - } -/// -/// Returns a left outer join of two sequences. The returned sequence represents a union of the left-hand sequence and the right-hand sequence: all documents in the left-hand sequence will be returned, each matched with a document in the right-hand sequence if one satisfies the predicate condition. In most cases, you will want to follow the join with zip to combine the left and right results. -/// -/// Example: Return a list of all Marvel heroes, paired with any DC heroes who could beat them in a fight. -/// r.table('marvel').outerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).run(conn, callback) -/// -/// (Compare this to an innerJoin with the same inputs and predicate, which would return a list only of the matchups in which the DC hero has the higher strength.) - public OuterJoin OuterJoin ( Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new OuterJoin (arguments ); - } - internal OuterJoin outerJoin ( Object exprA, Javascript js ) - { - return OuterJoin ( exprA, js ); - } -/// -/// Returns a left outer join of two sequences. The returned sequence represents a union of the left-hand sequence and the right-hand sequence: all documents in the left-hand sequence will be returned, each matched with a document in the right-hand sequence if one satisfies the predicate condition. In most cases, you will want to follow the join with zip to combine the left and right results. -/// -/// Example: Return a list of all Marvel heroes, paired with any DC heroes who could beat them in a fight. -/// r.table('marvel').outerJoin(r.table('dc'), function(marvelRow, dcRow) { -/// return marvelRow('strength').lt(dcRow('strength')) -/// }).run(conn, callback) -/// -/// (Compare this to an innerJoin with the same inputs and predicate, which would return a list only of the matchups in which the DC hero has the higher strength.) - public OuterJoin OuterJoin ( Object exprA, ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func2); - return new OuterJoin (arguments ); - } - internal OuterJoin outerJoin ( Object exprA, ReqlFunction2 func2 ) - { - return OuterJoin ( exprA, func2 ); - } -/// -/// Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. eqJoin is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field's value exists in the specified index on the right-hand side. -/// -/// - public EqJoin EqJoin ( Javascript js, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - return new EqJoin (arguments ); - } - internal EqJoin eqJoin ( Javascript js, Object exprA ) - { - return EqJoin ( js, exprA ); - } -/// -/// Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. eqJoin is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field's value exists in the specified index on the right-hand side. -/// -/// - public EqJoin EqJoin ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new EqJoin (arguments ); - } - internal EqJoin eqJoin ( Object exprA, Object exprB ) - { - return EqJoin ( exprA, exprB ); - } -/// -/// Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. eqJoin is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field's value exists in the specified index on the right-hand side. -/// -/// - public EqJoin EqJoin ( ReqlFunction1 func1, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - return new EqJoin (arguments ); - } - internal EqJoin eqJoin ( ReqlFunction1 func1, Object exprA ) - { - return EqJoin ( func1, exprA ); - } -/// -/// Used to 'zip' up the result of a join by merging the 'right' fields into 'left' fields of each member of the sequence. -/// -/// Example: 'zips up' the sequence by merging the left and right fields produced by a join. -/// r.table('marvel').eqJoin('main_dc_collaborator', r.table('dc')) -/// .zip().run(conn, callback) -/// - public Zip Zip ( ) - { - Arguments arguments = new Arguments(this); - return new Zip (arguments ); - } - internal Zip zip ( ) - { - return Zip ( ); - } -/// -/// Insert a value in to an array at a given index. Returns the modified array. -/// -/// Example: Hulk decides to join the avengers. -/// r.expr(["Iron Man", "Spider-Man"]).insertAt(1, "Hulk").run(conn, callback) -/// - public InsertAt InsertAt ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new InsertAt (arguments ); - } - internal InsertAt insertAt ( Object exprA, Object exprB ) - { - return InsertAt ( exprA, exprB ); - } -/// -/// Remove one or more elements from an array at a given index. Returns the modified array. (Note: deleteAt operates on arrays, not documents; to delete documents, see the delete command.) -/// -/// Example: Delete the second element of an array. -/// > r(['a','b','c','d','e','f']).deleteAt(1).run(conn, callback) -/// // result passed to callback -/// ['a', 'c', 'd', 'e', 'f'] -/// - public DeleteAt DeleteAt ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new DeleteAt (arguments ); - } - internal DeleteAt deleteAt ( Object exprA ) - { - return DeleteAt ( exprA ); - } -/// -/// Remove one or more elements from an array at a given index. Returns the modified array. (Note: deleteAt operates on arrays, not documents; to delete documents, see the delete command.) -/// -/// Example: Delete the second element of an array. -/// > r(['a','b','c','d','e','f']).deleteAt(1).run(conn, callback) -/// // result passed to callback -/// ['a', 'c', 'd', 'e', 'f'] -/// - public DeleteAt DeleteAt ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new DeleteAt (arguments ); - } - internal DeleteAt deleteAt ( Object exprA, Object exprB ) - { - return DeleteAt ( exprA, exprB ); - } -/// -/// Change a value in an array at a given index. Returns the modified array. -/// -/// Example: Bruce Banner hulks out. -/// r.expr(["Iron Man", "Bruce", "Spider-Man"]).changeAt(1, "Hulk").run(conn, callback) -/// - public ChangeAt ChangeAt ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new ChangeAt (arguments ); - } - internal ChangeAt changeAt ( Object exprA, Object exprB ) - { - return ChangeAt ( exprA, exprB ); - } -/// -/// Insert several values in to an array at a given index. Returns the modified array. -/// -/// Example: Hulk and Thor decide to join the avengers. -/// r.expr(["Iron Man", "Spider-Man"]).spliceAt(1, ["Hulk", "Thor"]).run(conn, callback) -/// - public SpliceAt SpliceAt ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new SpliceAt (arguments ); - } - internal SpliceAt spliceAt ( Object exprA, Object exprB ) - { - return SpliceAt ( exprA, exprB ); - } -/// -/// Convert a value of one type into another. -/// -/// Example: Coerce a stream to an array to store its output in a field. (A stream cannot be stored in a field directly.) -/// r.table('posts').map(function (post) { -/// return post.merge({ comments: r.table('comments').getAll(post('id'), {index: 'postId'}).coerceTo('array')}); -/// }).run(conn, callback) -/// - public CoerceTo CoerceTo ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new CoerceTo (arguments ); - } - internal CoerceTo coerceTo ( Object exprA ) - { - return CoerceTo ( exprA ); - } -/// -/// Gets the type of a ReQL query's return value. -/// -/// Example: Get the type of a string. -/// r.expr("foo").typeOf().run(conn, callback); -/// // Result passed to callback -/// "STRING" -/// - public TypeOf TypeOf ( ) - { - Arguments arguments = new Arguments(this); - return new TypeOf (arguments ); - } - internal TypeOf typeOf ( ) - { - return TypeOf ( ); - } -/// -/// Update JSON documents in a table. Accepts a JSON document, a ReQL expression, or a combination of the two. -/// -/// Example: Update the status of the post with id of 1 to published. -/// r.table("posts").get(1).update({status: "published"}).run(conn, callback) -/// - public Update Update ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Update (arguments ); - } - internal Update update ( Javascript js ) - { - return Update ( js ); - } -/// -/// Update JSON documents in a table. Accepts a JSON document, a ReQL expression, or a combination of the two. -/// -/// Example: Update the status of the post with id of 1 to published. -/// r.table("posts").get(1).update({status: "published"}).run(conn, callback) -/// - public Update Update ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Update (arguments ); - } - internal Update update ( Object exprA ) - { - return Update ( exprA ); - } -/// -/// Update JSON documents in a table. Accepts a JSON document, a ReQL expression, or a combination of the two. -/// -/// Example: Update the status of the post with id of 1 to published. -/// r.table("posts").get(1).update({status: "published"}).run(conn, callback) -/// - public Update Update ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Update (arguments ); - } - internal Update update ( ReqlFunction1 func1 ) - { - return Update ( func1 ); - } -/// -/// Delete one or more documents from a table. -/// -/// Example: Delete a single document from the table comments. -/// r.table("comments").get("7eab9e63-73f1-4f33-8ce4-95cbea626f59").delete().run(conn, callback) -/// - public Delete Delete ( ) - { - Arguments arguments = new Arguments(this); - return new Delete (arguments ); - } - internal Delete delete ( ) - { - return Delete ( ); - } -/// -/// Replace documents in a table. Accepts a JSON document or a ReQL expression, -/// and replaces the original document with the new one. The new document must -/// have the same primary key as the original document. -/// -/// Example: Replace the document with the primary key 1. -/// r.table("posts").get(1).replace({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Aleas jacta est", -/// status: "draft" -/// }).run(conn, callback) -/// - public Replace Replace ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Replace (arguments ); - } - internal Replace replace ( Javascript js ) - { - return Replace ( js ); - } -/// -/// Replace documents in a table. Accepts a JSON document or a ReQL expression, -/// and replaces the original document with the new one. The new document must -/// have the same primary key as the original document. -/// -/// Example: Replace the document with the primary key 1. -/// r.table("posts").get(1).replace({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Aleas jacta est", -/// status: "draft" -/// }).run(conn, callback) -/// - public Replace Replace ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Replace (arguments ); - } - internal Replace replace ( Object exprA ) - { - return Replace ( exprA ); - } -/// -/// Replace documents in a table. Accepts a JSON document or a ReQL expression, -/// and replaces the original document with the new one. The new document must -/// have the same primary key as the original document. -/// -/// Example: Replace the document with the primary key 1. -/// r.table("posts").get(1).replace({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Aleas jacta est", -/// status: "draft" -/// }).run(conn, callback) -/// - public Replace Replace ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Replace (arguments ); - } - internal Replace replace ( ReqlFunction1 func1 ) - { - return Replace ( func1 ); - } - public Funcall Do_ ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Funcall (arguments ); - } - internal Funcall do_ ( Javascript js ) - { - return Do_ ( js ); - } - public Funcall Do_ ( Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Funcall (arguments ); - } - internal Funcall do_ ( Object exprA, Javascript js ) - { - return Do_ ( exprA, js ); - } - public Funcall Do_ ( Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new Funcall (arguments ); - } - internal Funcall do_ ( Object exprA, Object exprB, Javascript js ) - { - return Do_ ( exprA, exprB, js ); - } - public Funcall Do_ ( Object exprA, Object exprB, ReqlFunction3 func3 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func3); - return new Funcall (arguments ); - } - internal Funcall do_ ( Object exprA, Object exprB, ReqlFunction3 func3 ) - { - return Do_ ( exprA, exprB, func3 ); - } - public Funcall Do_ ( Object exprA, ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func2); - return new Funcall (arguments ); - } - internal Funcall do_ ( Object exprA, ReqlFunction2 func2 ) - { - return Do_ ( exprA, func2 ); - } - public Funcall Do_ ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new Funcall (arguments ); - } - internal Funcall do_ ( params object[] exprs ) - { - return Do_ ( exprs ); - } - public Funcall Do_ ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Funcall (arguments ); - } - internal Funcall do_ ( ReqlFunction1 func1 ) - { - return Do_ ( func1 ); - } -/// -/// Compute the logical "or" of one or more values. -/// -/// Example: Return whether either a or b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).or(b).run(conn, callback); -/// // result passed to callback -/// true -/// - public Or Or ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new Or (arguments ); - } - internal Or or ( params object[] exprs ) - { - return Or ( exprs ); - } -/// -/// Compute the logical "and" of one or more values. -/// -/// Example: Return whether both a and b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).and(b).run(conn, callback); -/// // result passed to callback -/// false -/// - public And And ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new And (arguments ); - } - internal And and ( params object[] exprs ) - { - return And ( exprs ); - } -/// -/// Loop over a sequence, evaluating the given write query for each element. -/// -/// Example: Now that our heroes have defeated their villains, we can safely remove them from the villain table. -/// r.table('marvel').forEach(function(hero) { -/// return r.table('villains').get(hero('villainDefeated')).delete() -/// }).run(conn, callback) -/// - public ForEach ForEach ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new ForEach (arguments ); - } - internal ForEach forEach ( Javascript js ) - { - return ForEach ( js ); - } -/// -/// Loop over a sequence, evaluating the given write query for each element. -/// -/// Example: Now that our heroes have defeated their villains, we can safely remove them from the villain table. -/// r.table('marvel').forEach(function(hero) { -/// return r.table('villains').get(hero('villainDefeated')).delete() -/// }).run(conn, callback) -/// - public ForEach ForEach ( ReqlFunction0 func0 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func0); - return new ForEach (arguments ); - } - internal ForEach forEach ( ReqlFunction0 func0 ) - { - return ForEach ( func0 ); - } -/// -/// Loop over a sequence, evaluating the given write query for each element. -/// -/// Example: Now that our heroes have defeated their villains, we can safely remove them from the villain table. -/// r.table('marvel').forEach(function(hero) { -/// return r.table('villains').get(hero('villainDefeated')).delete() -/// }).run(conn, callback) -/// - public ForEach ForEach ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new ForEach (arguments ); - } - internal ForEach forEach ( ReqlFunction1 func1 ) - { - return ForEach ( func1 ); - } -/// -/// Get information about a ReQL value. -/// -/// Example: Get information about a table such as primary key, or cache size. -/// r.table('marvel').info().run(conn, callback) -/// - public Info Info ( ) - { - Arguments arguments = new Arguments(this); - return new Info (arguments ); - } - internal Info info ( ) - { - return Info ( ); - } -/// -/// Matches against a regular expression. If there is a match, returns an object with the fields: -///
    -///
  • str: The matched string
  • -///
  • start: The matched string's start
  • -///
  • end: The matched string's end
  • -///
  • groups: The capture groups defined with parentheses
  • -///
-/// If no match is found, returns null. -///
-/// Example: Get all users whose name starts with "A". Because null evaluates to false in -/// filter, you can just use the result of match for the predicate. -/// r.table('users').filter(function(doc){ -/// return doc('name').match("^A") -/// }).run(conn, callback) -/// - public Match Match ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Match (arguments ); - } - internal Match match ( Object exprA ) - { - return Match ( exprA ); - } -/// -/// Uppercases a string. -/// -/// Example: -/// r.expr("Sentence about LaTeX.").upcase().run(conn, callback) -/// -/// Result: -/// "SENTENCE ABOUT LATEX." -/// -/// Note: upcase and downcase only affect ASCII characters. - public Upcase Upcase ( ) - { - Arguments arguments = new Arguments(this); - return new Upcase (arguments ); - } - internal Upcase upcase ( ) - { - return Upcase ( ); - } -/// -/// Lowercases a string. -/// -/// Example: -/// r.expr("Sentence about LaTeX.").downcase().run(conn, callback) -/// -/// Result: -/// "sentence about latex." -/// -/// Note: upcase and downcase only affect ASCII characters. - public Downcase Downcase ( ) - { - Arguments arguments = new Arguments(this); - return new Downcase (arguments ); - } - internal Downcase downcase ( ) - { - return Downcase ( ); - } -/// -/// Select a given number of elements from a sequence with uniform random distribution. Selection is done without replacement. -/// -/// Example: Select 3 random heroes. -/// r.table('marvel').sample(3).run(conn, callback) -/// - public Sample Sample ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Sample (arguments ); - } - internal Sample sample ( Object exprA ) - { - return Sample ( exprA ); - } -/// -/// Provide a default value in case of non-existence errors. The default command evaluates its first argument (the value it's chained to). If that argument returns null or a non-existence error is thrown in evaluation, then default returns its second argument. The second argument is usually a default value, but it can be a function that returns a value. -/// -/// Example: Retrieve the titles and authors of the table posts. -/// In the case where the author field is missing or null, we want to retrieve the string -/// Anonymous. -/// r.table("posts").map(function (post) { -/// return { -/// title: post("title"), -/// author: post("author").default("Anonymous") -/// } -/// }).run(conn, callback); -/// - public Default Default_ ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Default (arguments ); - } - internal Default default_ ( Javascript js ) - { - return Default_ ( js ); - } -/// -/// Provide a default value in case of non-existence errors. The default command evaluates its first argument (the value it's chained to). If that argument returns null or a non-existence error is thrown in evaluation, then default returns its second argument. The second argument is usually a default value, but it can be a function that returns a value. -/// -/// Example: Retrieve the titles and authors of the table posts. -/// In the case where the author field is missing or null, we want to retrieve the string -/// Anonymous. -/// r.table("posts").map(function (post) { -/// return { -/// title: post("title"), -/// author: post("author").default("Anonymous") -/// } -/// }).run(conn, callback); -/// - public Default Default_ ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Default (arguments ); - } - internal Default default_ ( Object exprA ) - { - return Default_ ( exprA ); - } -/// -/// Provide a default value in case of non-existence errors. The default command evaluates its first argument (the value it's chained to). If that argument returns null or a non-existence error is thrown in evaluation, then default returns its second argument. The second argument is usually a default value, but it can be a function that returns a value. -/// -/// Example: Retrieve the titles and authors of the table posts. -/// In the case where the author field is missing or null, we want to retrieve the string -/// Anonymous. -/// r.table("posts").map(function (post) { -/// return { -/// title: post("title"), -/// author: post("author").default("Anonymous") -/// } -/// }).run(conn, callback); -/// - public Default Default_ ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Default (arguments ); - } - internal Default default_ ( ReqlFunction1 func1 ) - { - return Default_ ( func1 ); - } -/// -/// Convert a ReQL value or object to a JSON string. You may use either toJsonString or toJSON. -/// -/// Example: Get a ReQL document as a JSON string. -/// > r.table('hero').get(1).toJSON() -/// // result returned to callback -/// '{"id": 1, "name": "Batman", "city": "Gotham", "powers": ["martial arts", "cinematic entrances"]}' -/// - public ToJsonString ToJsonString ( ) - { - Arguments arguments = new Arguments(this); - return new ToJsonString (arguments ); - } - internal ToJsonString toJsonString ( ) - { - return ToJsonString ( ); - } -/// -/// Convert a ReQL value or object to a JSON string. You may use either toJsonString or toJSON. -/// -/// Example: Get a ReQL document as a JSON string. -/// > r.table('hero').get(1).toJSON() -/// // result returned to callback -/// '{"id": 1, "name": "Batman", "city": "Gotham", "powers": ["martial arts", "cinematic entrances"]}' -/// - public ToJsonString ToJson ( ) - { - Arguments arguments = new Arguments(this); - return new ToJsonString (arguments ); - } - internal ToJsonString toJson ( ) - { - return ToJson ( ); - } -/// -/// Convert a time object to a string in ISO 8601 format. -/// -/// Example: Return the current ISO 8601 time. -/// r.now().toISO8601().run(conn, callback) -/// // Result passed to callback -/// "2015-04-20T18:37:52.690+00:00" -/// - public ToIso8601 ToIso8601 ( ) - { - Arguments arguments = new Arguments(this); - return new ToIso8601 (arguments ); - } - internal ToIso8601 toIso8601 ( ) - { - return ToIso8601 ( ); - } -/// -/// Convert a time object to its epoch time. -/// -/// Example: Return the current time in seconds since the Unix Epoch with millisecond-precision. -/// r.now().toEpochTime() -/// - public ToEpochTime ToEpochTime ( ) - { - Arguments arguments = new Arguments(this); - return new ToEpochTime (arguments ); - } - internal ToEpochTime toEpochTime ( ) - { - return ToEpochTime ( ); - } -/// -/// Return a new time object with a different timezone. While the time stays the same, the results returned by methods such as hours() will change since they take the timezone into account. The timezone argument has to be of the ISO 8601 format. -/// -/// Example: Hour of the day in San Francisco (UTC/GMT -8, without daylight saving time). -/// r.now().inTimezone('-08:00').hours().run(conn, callback) -/// - public InTimezone InTimezone ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new InTimezone (arguments ); - } - internal InTimezone inTimezone ( Object exprA ) - { - return InTimezone ( exprA ); - } -/// -/// Return whether a time is between two other times. -/// -/// Example: Retrieve all the posts that were posted between December 1st, 2013 -/// (inclusive) and December 10th, 2013 (exclusive). -/// r.table("posts").filter( -/// r.row('date').during(r.time(2013, 12, 1, "Z"), r.time(2013, 12, 10, "Z")) -/// ).run(conn, callback) -/// - public During During ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new During (arguments ); - } - internal During during ( Object exprA, Object exprB ) - { - return During ( exprA, exprB ); - } -/// -/// Return a new time object only based on the day, month and year (ie. the same day at 00:00). -/// -/// Example: Retrieve all the users whose birthday is today. -/// r.table("users").filter(function(user) { -/// return user("birthdate").date().eq(r.now().date()) -/// }).run(conn, callback) -/// - public Date Date ( ) - { - Arguments arguments = new Arguments(this); - return new Date (arguments ); - } - internal Date date ( ) - { - return Date ( ); - } -/// -/// Return the number of seconds elapsed since the beginning of the day stored in the time object. -/// -/// Example: Retrieve posts that were submitted before noon. -/// r.table("posts").filter( -/// r.row("date").timeOfDay().le(12*60*60) -/// ).run(conn, callback) -/// - public TimeOfDay TimeOfDay ( ) - { - Arguments arguments = new Arguments(this); - return new TimeOfDay (arguments ); - } - internal TimeOfDay timeOfDay ( ) - { - return TimeOfDay ( ); - } -/// -/// Return the timezone of the time object. -/// -/// Example: Return all the users in the "-07:00" timezone. -/// r.table("users").filter( function(user) { -/// return user("subscriptionDate").timezone().eq("-07:00") -/// }) -/// - public Timezone Timezone ( ) - { - Arguments arguments = new Arguments(this); - return new Timezone (arguments ); - } - internal Timezone timezone ( ) - { - return Timezone ( ); - } -/// -/// Return the year of a time object. -/// -/// Example: Retrieve all the users born in 1986. -/// r.table("users").filter(function(user) { -/// return user("birthdate").year().eq(1986) -/// }).run(conn, callback) -/// - public Year Year ( ) - { - Arguments arguments = new Arguments(this); - return new Year (arguments ); - } - internal Year year ( ) - { - return Year ( ); - } -/// -/// Return the month of a time object as a number between 1 and 12. For your convenience, the terms r.january, r.february etc. are defined and map to the appropriate integer. -/// -/// Example: Retrieve all the users who were born in November. -/// r.table("users").filter( -/// r.row("birthdate").month().eq(11) -/// ) -/// - public Month Month ( ) - { - Arguments arguments = new Arguments(this); - return new Month (arguments ); - } - internal Month month ( ) - { - return Month ( ); - } -/// -/// Return the day of a time object as a number between 1 and 31. -/// -/// Example: Return the users born on the 24th of any month. -/// r.table("users").filter( -/// r.row("birthdate").day().eq(24) -/// ).run(conn, callback) -/// - public Day Day ( ) - { - Arguments arguments = new Arguments(this); - return new Day (arguments ); - } - internal Day day ( ) - { - return Day ( ); - } -/// -/// Return the day of week of a time object as a number between 1 and 7 (following ISO 8601 standard). For your convenience, the terms r.monday, r.tuesday etc. are defined and map to the appropriate integer. -/// -/// Example: Return today's day of week. -/// r.now().dayOfWeek().run(conn, callback) -/// - public DayOfWeek DayOfWeek ( ) - { - Arguments arguments = new Arguments(this); - return new DayOfWeek (arguments ); - } - internal DayOfWeek dayOfWeek ( ) - { - return DayOfWeek ( ); - } -/// -/// Return the day of the year of a time object as a number between 1 and 366 (following ISO 8601 standard). -/// -/// Example: Retrieve all the users who were born the first day of a year. -/// r.table("users").filter( -/// r.row("birthdate").dayOfYear().eq(1) -/// ) -/// - public DayOfYear DayOfYear ( ) - { - Arguments arguments = new Arguments(this); - return new DayOfYear (arguments ); - } - internal DayOfYear dayOfYear ( ) - { - return DayOfYear ( ); - } -/// -/// Return the hour in a time object as a number between 0 and 23. -/// -/// Example: Return all the posts submitted after midnight and before 4am. -/// r.table("posts").filter(function(post) { -/// return post("date").hours().lt(4) -/// }) -/// - public Hours Hours ( ) - { - Arguments arguments = new Arguments(this); - return new Hours (arguments ); - } - internal Hours hours ( ) - { - return Hours ( ); - } -/// -/// Return the minute in a time object as a number between 0 and 59. -/// -/// Example: Return all the posts submitted during the first 10 minutes of every hour. -/// r.table("posts").filter(function(post) { -/// return post("date").minutes().lt(10) -/// }) -/// - public Minutes Minutes ( ) - { - Arguments arguments = new Arguments(this); - return new Minutes (arguments ); - } - internal Minutes minutes ( ) - { - return Minutes ( ); - } -/// -/// Return the seconds in a time object as a number between 0 and 59.999 (double precision). -/// -/// Example: Return the post submitted during the first 30 seconds of every minute. -/// r.table("posts").filter(function(post) { -/// return post("date").seconds().lt(30) -/// }) -/// - public Seconds Seconds ( ) - { - Arguments arguments = new Arguments(this); - return new Seconds (arguments ); - } - internal Seconds seconds ( ) - { - return Seconds ( ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ) - { - Arguments arguments = new Arguments(this); - return new Group (arguments ); - } - internal Group group ( ) - { - return Group ( ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Group (arguments ); - } - internal Group group ( Javascript js ) - { - return Group ( js ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Group (arguments ); - } - internal Group group ( Javascript js, Javascript jsA ) - { - return Group ( js, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Group (arguments ); - } - internal Group group ( Javascript js, Javascript jsA, Javascript jsB ) - { - return Group ( js, jsA, jsB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(jsC); - return new Group (arguments ); - } - internal Group group ( Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - return Group ( js, jsA, jsB, jsC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(exprA); - return new Group (arguments ); - } - internal Group group ( Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - return Group ( js, jsA, jsB, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Javascript jsA, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - return new Group (arguments ); - } - internal Group group ( Javascript js, Javascript jsA, Object exprA ) - { - return Group ( js, jsA, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsB); - return new Group (arguments ); - } - internal Group group ( Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - return Group ( js, jsA, exprA, jsB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - return Group ( js, jsA, exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - return new Group (arguments ); - } - internal Group group ( Javascript js, Object exprA ) - { - return Group ( js, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Object exprA, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - return new Group (arguments ); - } - internal Group group ( Javascript js, Object exprA, Javascript jsA ) - { - return Group ( js, exprA, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Group (arguments ); - } - internal Group group ( Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - return Group ( js, exprA, jsA, jsB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - return Group ( js, exprA, jsA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( Javascript js, Object exprA, Object exprB ) - { - return Group ( js, exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Group (arguments ); - } - internal Group group ( Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - return Group ( js, exprA, exprB, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Javascript js, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments ); - } - internal Group group ( Javascript js, Object exprA, Object exprB, Object exprC ) - { - return Group ( js, exprA, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Group (arguments ); - } - internal Group group ( Object exprA ) - { - return Group ( exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Group (arguments ); - } - internal Group group ( Object exprA, Javascript js ) - { - return Group ( exprA, js ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Group (arguments ); - } - internal Group group ( Object exprA, Javascript js, Javascript jsA ) - { - return Group ( exprA, js, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Group (arguments ); - } - internal Group group ( Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - return Group ( exprA, js, jsA, jsB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - return Group ( exprA, js, jsA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Javascript js, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( Object exprA, Javascript js, Object exprB ) - { - return Group ( exprA, js, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Group (arguments ); - } - internal Group group ( Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - return Group ( exprA, js, exprB, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Javascript js, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments ); - } - internal Group group ( Object exprA, Javascript js, Object exprB, Object exprC ) - { - return Group ( exprA, js, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB ) - { - return Group ( exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, Javascript js ) - { - return Group ( exprA, exprB, js ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - return Group ( exprA, exprB, js, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, Javascript js, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprC); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, Javascript js, Object exprC ) - { - return Group ( exprA, exprB, js, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, Object exprC ) - { - return Group ( exprA, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(js); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, Object exprC, Javascript js ) - { - return Group ( exprA, exprB, exprC, js ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, Object exprC, Object exprD ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(exprD); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, Object exprC, Object exprD ) - { - return Group ( exprA, exprB, exprC, exprD ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(func1); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - return Group ( exprA, exprB, exprC, func1 ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, ReqlFunction1 func1 ) - { - return Group ( exprA, exprB, func1 ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprC); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - return Group ( exprA, exprB, func1, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Group (arguments ); - } - internal Group group ( Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Group ( exprA, exprB, func1, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - return new Group (arguments ); - } - internal Group group ( Object exprA, ReqlFunction1 func1 ) - { - return Group ( exprA, func1 ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, ReqlFunction1 func1, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( Object exprA, ReqlFunction1 func1, Object exprB ) - { - return Group ( exprA, func1, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments ); - } - internal Group group ( Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - return Group ( exprA, func1, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Group (arguments ); - } - internal Group group ( Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - return Group ( exprA, func1, exprB, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Group (arguments ); - } - internal Group group ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Group ( exprA, func1, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - return Group ( exprA, func1, func1A, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Group (arguments ); - } - internal Group group ( Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Group ( exprA, func1, func1A, func1B ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1 ) - { - return Group ( func1 ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, Object exprA ) - { - return Group ( func1, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, Object exprA, Object exprB ) - { - return Group ( func1, exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - return Group ( func1, exprA, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - return Group ( func1, exprA, exprB, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - return Group ( func1, exprA, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - return Group ( func1, exprA, func1A, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Group ( func1, exprA, func1A, func1B ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Group ( func1, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - return Group ( func1, func1A, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - return Group ( func1, func1A, exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1B); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - return Group ( func1, func1A, exprA, func1B ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Group ( func1, func1A, func1B ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(exprA); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - return Group ( func1, func1A, func1B, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(func1C); - return new Group (arguments ); - } - internal Group group ( ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - return Group ( func1, func1A, func1B, func1C ); - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum Sum ( ) - { - Arguments arguments = new Arguments(this); - return new Sum (arguments ); - } - internal Sum sum ( ) - { - return Sum ( ); - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum Sum ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Sum (arguments ); - } - internal Sum sum ( Javascript js ) - { - return Sum ( js ); - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum Sum ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Sum (arguments ); - } - internal Sum sum ( Object exprA ) - { - return Sum ( exprA ); - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum Sum ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Sum (arguments ); - } - internal Sum sum ( ReqlFunction1 func1 ) - { - return Sum ( func1 ); - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg Avg ( ) - { - Arguments arguments = new Arguments(this); - return new Avg (arguments ); - } - internal Avg avg ( ) - { - return Avg ( ); - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg Avg ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Avg (arguments ); - } - internal Avg avg ( Javascript js ) - { - return Avg ( js ); - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg Avg ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Avg (arguments ); - } - internal Avg avg ( Object exprA ) - { - return Avg ( exprA ); - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg Avg ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Avg (arguments ); - } - internal Avg avg ( ReqlFunction1 func1 ) - { - return Avg ( func1 ); - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min Min ( ) - { - Arguments arguments = new Arguments(this); - return new Min (arguments ); - } - internal Min min ( ) - { - return Min ( ); - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min Min ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Min (arguments ); - } - internal Min min ( Javascript js ) - { - return Min ( js ); - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min Min ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Min (arguments ); - } - internal Min min ( Object exprA ) - { - return Min ( exprA ); - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min Min ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Min (arguments ); - } - internal Min min ( ReqlFunction1 func1 ) - { - return Min ( func1 ); - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max Max ( ) - { - Arguments arguments = new Arguments(this); - return new Max (arguments ); - } - internal Max max ( ) - { - return Max ( ); - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max Max ( Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(js); - return new Max (arguments ); - } - internal Max max ( Javascript js ) - { - return Max ( js ); - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max Max ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Max (arguments ); - } - internal Max max ( Object exprA ) - { - return Max ( exprA ); - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max Max ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(func1); - return new Max (arguments ); - } - internal Max max ( ReqlFunction1 func1 ) - { - return Max ( func1 ); - } -/// -/// Splits a string into substrings. Splits on whitespace when called -/// with no arguments. When called with a separator, splits on that -/// separator. When called with a separator and a maximum number of -/// splits, splits on that separator at most max_splits times. (Can be -/// called with null as the separator if you want to split on whitespace -/// while still specifying max_splits.) -/// -/// Example: Split on whitespace. -/// r.expr("foo bar bax").split().run(conn, callback) -/// -/// Result: -/// ["foo", "bar", "bax"] -/// - public Split Split ( ) - { - Arguments arguments = new Arguments(this); - return new Split (arguments ); - } - internal Split split ( ) - { - return Split ( ); - } -/// -/// Splits a string into substrings. Splits on whitespace when called -/// with no arguments. When called with a separator, splits on that -/// separator. When called with a separator and a maximum number of -/// splits, splits on that separator at most max_splits times. (Can be -/// called with null as the separator if you want to split on whitespace -/// while still specifying max_splits.) -/// -/// Example: Split on whitespace. -/// r.expr("foo bar bax").split().run(conn, callback) -/// -/// Result: -/// ["foo", "bar", "bax"] -/// - public Split Split ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Split (arguments ); - } - internal Split split ( Object exprA ) - { - return Split ( exprA ); - } -/// -/// Splits a string into substrings. Splits on whitespace when called -/// with no arguments. When called with a separator, splits on that -/// separator. When called with a separator and a maximum number of -/// splits, splits on that separator at most max_splits times. (Can be -/// called with null as the separator if you want to split on whitespace -/// while still specifying max_splits.) -/// -/// Example: Split on whitespace. -/// r.expr("foo bar bax").split().run(conn, callback) -/// -/// Result: -/// ["foo", "bar", "bax"] -/// - public Split Split ( Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Split (arguments ); - } - internal Split split ( Object exprA, Object exprB ) - { - return Split ( exprA, exprB ); - } -/// -/// Takes a grouped stream or grouped data and turns it into an array of -/// objects representing the groups. Any commands chained after ungroup -/// will operate on this array, rather than operating on each group -/// individually. This is useful if you want to e.g. order the groups by -/// the value of their reduction. -/// -/// Example: What is the maximum number of points scored by each -/// player, with the highest scorers first? -/// r.table('games') -/// .group('player').max('points')('points') -/// .ungroup().orderBy(r.desc('reduction')).run(conn, callback) -/// - public Ungroup Ungroup ( ) - { - Arguments arguments = new Arguments(this); - return new Ungroup (arguments ); - } - internal Ungroup ungroup ( ) - { - return Ungroup ( ); - } -/// -/// Turn a query into a changefeed, an infinite stream of objects representing changes to the query's results as they occur. A changefeed may return changes to a table or an individual document (a "point" changefeed). Commands such as filter or map may be used before the changes command to transform or filter the output, and many commands that operate on sequences can be chained after changes. -/// -/// Example: Subscribe to the changes on a table. -/// Start monitoring the changefeed in one client: -/// r.table('games').changes().run(conn, function(err, cursor) { -/// cursor.each(console.log); -/// }); -/// -/// As these queries are performed in a second client, the first -/// client would receive and print the following objects: -/// > r.table('games').insert({id: 1}).run(conn, callback); -/// {old_val: null, new_val: {id: 1}} -/// -/// > r.table('games').get(1).update({player1: 'Bob'}).run(conn, callback); -/// {old_val: {id: 1}, new_val: {id: 1, player1: 'Bob'}} -/// -/// > r.table('games').get(1).replace({id: 1, player1: 'Bob', player2: 'Alice'}).run(conn, callback); -/// {old_val: {id: 1, player1: 'Bob'}, -/// new_val: {id: 1, player1: 'Bob', player2: 'Alice'}} -/// -/// > r.table('games').get(1).delete().run(conn, callback) -/// {old_val: {id: 1, player1: 'Bob', player2: 'Alice'}, new_val: null} -/// -/// > r.tableDrop('games').run(conn, callback); -/// ReqlRuntimeError: Changefeed aborted (table unavailable) -/// - public Changes Changes ( ) - { - Arguments arguments = new Arguments(this); - return new Changes (arguments ); - } - internal Changes changes ( ) - { - return Changes ( ); - } -/// -/// Convert a ReQL geometry object to a GeoJSON object. -/// -/// Example: Convert a ReQL geometry object to a GeoJSON object. -/// r.table('geo').get('sfo')('location').toGeojson.run(conn, callback); -/// // result passed to callback -/// { -/// 'type': 'Point', -/// 'coordinates': [ -122.423246, 37.779388 ] -/// } -/// - public ToGeojson ToGeojson ( ) - { - Arguments arguments = new Arguments(this); - return new ToGeojson (arguments ); - } - internal ToGeojson toGeojson ( ) - { - return ToGeojson ( ); - } -/// -/// Compute the distance between a point and another geometry object. At least one of the geometry objects specified must be a point. -/// -/// Example: Compute the distance between two points on the Earth in kilometers. -/// var point1 = r.point(-122.423246,37.779388); -/// var point2 = r.point(-117.220406,32.719464); -/// r.distance(point1, point2, {unit: 'km'}).run(conn, callback); -/// // result returned to callback -/// 734.1252496021841 -/// - public Distance Distance ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Distance (arguments ); - } - internal Distance distance ( Object exprA ) - { - return Distance ( exprA ); - } -/// -/// Tests whether two geometry objects intersect with one another. When applied to a sequence of geometry objects, intersects acts as a filter, returning a sequence of objects from the sequence that intersect with the argument. -/// -/// Example: Is point2 within a 2000-meter circle around point1? -/// var point1 = r.point(-117.220406,32.719464); -/// var point2 = r.point(-117.206201,32.725186); -/// r.circle(point1, 2000).intersects(point2).run(conn, callback); -/// // result returned to callback -/// true -/// - public Intersects Intersects ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Intersects (arguments ); - } - internal Intersects intersects ( Object exprA ) - { - return Intersects ( exprA ); - } -/// -/// Tests whether a geometry object is completely contained within another. When applied to a sequence of geometry objects, includes acts as a filter, returning a sequence of objects from the sequence that include the argument. -/// -/// Example: Is point2 included within a 2000-meter circle around point1? -/// var point1 = r.point(-117.220406,32.719464); -/// var point2 = r.point(-117.206201,32.725186); -/// r.circle(point1, 2000).includes(point2).run(conn, callback); -/// // result returned to callback -/// true -/// - public Includes Includes ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new Includes (arguments ); - } - internal Includes includes ( Object exprA ) - { - return Includes ( exprA ); - } -/// -/// Convert a Line object into a Polygon object. If the last point does not specify the same coordinates as the first point, polygon will close the polygon by connecting them. -/// -/// Example: Create a line object and then convert it to a polygon. -/// r.table('geo').insert({ -/// id: 201, -/// rectangle: r.line( -/// [-122.423246,37.779388], -/// [-122.423246,37.329898], -/// [-121.886420,37.329898], -/// [-121.886420,37.779388] -/// ) -/// }).run(conn, callback); -/// -/// r.table('geo').get(201).update({ -/// rectangle: r.row('rectangle').fill() -/// }, {nonAtomic: true}).run(conn, callback); -/// - public Fill Fill ( ) - { - Arguments arguments = new Arguments(this); - return new Fill (arguments ); - } - internal Fill fill ( ) - { - return Fill ( ); - } -/// -/// Use polygon2 to "punch out" a hole in polygon1. polygon2 must be completely contained within polygon1 and must have no holes itself (it must not be the output of polygonSub itself). -/// -/// Example: Define a polygon with a hole punched in it. -/// var outerPolygon = r.polygon( -/// [-122.4,37.7], -/// [-122.4,37.3], -/// [-121.8,37.3], -/// [-121.8,37.7] -/// ); -/// var innerPolygon = r.polygon( -/// [-122.3,37.4], -/// [-122.3,37.6], -/// [-122.0,37.6], -/// [-122.0,37.4] -/// ); -/// outerPolygon.polygonSub(innerPolygon).run(conn, callback); -/// - public PolygonSub PolygonSub ( Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(exprA); - return new PolygonSub (arguments ); - } - internal PolygonSub polygonSub ( Object exprA ) - { - return PolygonSub ( exprA ); - } -/// -/// Return an array containing all of an object's values. values() guarantees the values will come out in the same order as keys. -/// -/// Example: Get all of the values from a table row. -/// // row: { id: 1, mail: "fred@example.com", name: "fred" } -/// -/// r.table('users').get(1).values().run(conn, callback); -/// // Result passed to callback -/// [ 1, "fred@example.com", "fred" ] -/// - public Values Values ( ) - { - Arguments arguments = new Arguments(this); - return new Values (arguments ); - } - internal Values values ( ) - { - return Values ( ); - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlExpr.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlExpr.cs.meta deleted file mode 100644 index db634066c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlExpr.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b7f5f8e4bcd4fed44982e0ce547a45d7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlObject.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlObject.cs deleted file mode 100644 index 8321b164e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlObject.cs +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class ReqlObject : ReqlExpr { - - - - -/// -/// Creates an object from a list of key-value pairs, where the keys must -/// be strings. r.object(A, B, C, D) is equivalent to -/// r.expr([[A, B], [C, D]]).coerce_to('OBJECT'). -/// -/// Example: Create a simple object. -/// r.object('id', 5, 'data', ['foo', 'bar']).run(conn, callback) -/// -/// Result: -/// {data: ["foo", "bar"], id: 5} -/// - public ReqlObject (object arg) : this(new Arguments(arg), null) { - } -/// -/// Creates an object from a list of key-value pairs, where the keys must -/// be strings. r.object(A, B, C, D) is equivalent to -/// r.expr([[A, B], [C, D]]).coerce_to('OBJECT'). -/// -/// Example: Create a simple object. -/// r.object('id', 5, 'data', ['foo', 'bar']).run(conn, callback) -/// -/// Result: -/// {data: ["foo", "bar"], id: 5} -/// - public ReqlObject (Arguments args) : this(args, null) { - } -/// -/// Creates an object from a list of key-value pairs, where the keys must -/// be strings. r.object(A, B, C, D) is equivalent to -/// r.expr([[A, B], [C, D]]).coerce_to('OBJECT'). -/// -/// Example: Create a simple object. -/// r.object('id', 5, 'data', ['foo', 'bar']).run(conn, callback) -/// -/// Result: -/// {data: ["foo", "bar"], id: 5} -/// - public ReqlObject (Arguments args, OptArgs optargs) - : base(TermType.OBJECT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlObject.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlObject.cs.meta deleted file mode 100644 index a38061fb7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ReqlObject.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: da058ad79684d854abb299535cf753aa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Round.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Round.cs deleted file mode 100644 index ecfe436b1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Round.cs +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Round : ReqlExpr { - - - - -/// -/// Rounds the given value to the nearest whole integer. -/// -/// Example: Round 12.345 to the nearest integer. -/// r.round(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The round command can also be chained after an expression. - public Round (object arg) : this(new Arguments(arg), null) { - } -/// -/// Rounds the given value to the nearest whole integer. -/// -/// Example: Round 12.345 to the nearest integer. -/// r.round(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The round command can also be chained after an expression. - public Round (Arguments args) : this(args, null) { - } -/// -/// Rounds the given value to the nearest whole integer. -/// -/// Example: Round 12.345 to the nearest integer. -/// r.round(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The round command can also be chained after an expression. - public Round (Arguments args, OptArgs optargs) - : base(TermType.ROUND, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Round.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Round.cs.meta deleted file mode 100644 index 019b03d98..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Round.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 773834debc24f1147a7a6c73d0d00505 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sample.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sample.cs deleted file mode 100644 index 6613bf9dd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sample.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Sample : ReqlExpr { - - - - -/// -/// Select a given number of elements from a sequence with uniform random distribution. Selection is done without replacement. -/// -/// Example: Select 3 random heroes. -/// r.table('marvel').sample(3).run(conn, callback) -/// - public Sample (object arg) : this(new Arguments(arg), null) { - } -/// -/// Select a given number of elements from a sequence with uniform random distribution. Selection is done without replacement. -/// -/// Example: Select 3 random heroes. -/// r.table('marvel').sample(3).run(conn, callback) -/// - public Sample (Arguments args) : this(args, null) { - } -/// -/// Select a given number of elements from a sequence with uniform random distribution. Selection is done without replacement. -/// -/// Example: Select 3 random heroes. -/// r.table('marvel').sample(3).run(conn, callback) -/// - public Sample (Arguments args, OptArgs optargs) - : base(TermType.SAMPLE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sample.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sample.cs.meta deleted file mode 100644 index 03554f382..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sample.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9682308924fc125438128c05420304c3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Saturday.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Saturday.cs deleted file mode 100644 index 3ba690dbd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Saturday.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Saturday : ReqlExpr { - - - - - public Saturday (object arg) : this(new Arguments(arg), null) { - } - public Saturday (Arguments args) : this(args, null) { - } - public Saturday (Arguments args, OptArgs optargs) - : base(TermType.SATURDAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Saturday.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Saturday.cs.meta deleted file mode 100644 index 5aead4d5d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Saturday.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 39a0b01f4af4ae84ab278aed02954d59 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Seconds.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Seconds.cs deleted file mode 100644 index 86918548b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Seconds.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Seconds : ReqlExpr { - - - - -/// -/// Return the seconds in a time object as a number between 0 and 59.999 (double precision). -/// -/// Example: Return the post submitted during the first 30 seconds of every minute. -/// r.table("posts").filter(function(post) { -/// return post("date").seconds().lt(30) -/// }) -/// - public Seconds (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the seconds in a time object as a number between 0 and 59.999 (double precision). -/// -/// Example: Return the post submitted during the first 30 seconds of every minute. -/// r.table("posts").filter(function(post) { -/// return post("date").seconds().lt(30) -/// }) -/// - public Seconds (Arguments args) : this(args, null) { - } -/// -/// Return the seconds in a time object as a number between 0 and 59.999 (double precision). -/// -/// Example: Return the post submitted during the first 30 seconds of every minute. -/// r.table("posts").filter(function(post) { -/// return post("date").seconds().lt(30) -/// }) -/// - public Seconds (Arguments args, OptArgs optargs) - : base(TermType.SECONDS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Seconds.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Seconds.cs.meta deleted file mode 100644 index 67ba40a1d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Seconds.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e85a5608ea58a504c96c5951b2ca3ddf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/September.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/September.cs deleted file mode 100644 index 31e04fb83..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/September.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class September : ReqlExpr { - - - - - public September (object arg) : this(new Arguments(arg), null) { - } - public September (Arguments args) : this(args, null) { - } - public September (Arguments args, OptArgs optargs) - : base(TermType.SEPTEMBER, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/September.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/September.cs.meta deleted file mode 100644 index 099f24017..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/September.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3fba4ebb22068654fac418d69d09c13a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetDifference.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetDifference.cs deleted file mode 100644 index ae6ed5d2f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetDifference.cs +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class SetDifference : ReqlExpr { - - - - -/// -/// Remove the elements of one array from another and return them as a set (an array with -/// distinct values). -/// -/// Example: Check which pieces of equipment Iron Man has, excluding a fixed list. -/// r.table('marvel').get('IronMan')('equipment').setDifference(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetDifference (object arg) : this(new Arguments(arg), null) { - } -/// -/// Remove the elements of one array from another and return them as a set (an array with -/// distinct values). -/// -/// Example: Check which pieces of equipment Iron Man has, excluding a fixed list. -/// r.table('marvel').get('IronMan')('equipment').setDifference(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetDifference (Arguments args) : this(args, null) { - } -/// -/// Remove the elements of one array from another and return them as a set (an array with -/// distinct values). -/// -/// Example: Check which pieces of equipment Iron Man has, excluding a fixed list. -/// r.table('marvel').get('IronMan')('equipment').setDifference(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetDifference (Arguments args, OptArgs optargs) - : base(TermType.SET_DIFFERENCE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetDifference.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetDifference.cs.meta deleted file mode 100644 index 56162c7ab..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetDifference.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 686eb734e7b8dd04093a736e73473e7c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetInsert.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetInsert.cs deleted file mode 100644 index 826596c3b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetInsert.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class SetInsert : ReqlExpr { - - - - -/// -/// Add a value to an array and return it as a set (an array with distinct values). -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').setInsert('newBoots').run(conn, callback) -/// - public SetInsert (object arg) : this(new Arguments(arg), null) { - } -/// -/// Add a value to an array and return it as a set (an array with distinct values). -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').setInsert('newBoots').run(conn, callback) -/// - public SetInsert (Arguments args) : this(args, null) { - } -/// -/// Add a value to an array and return it as a set (an array with distinct values). -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots. -/// r.table('marvel').get('IronMan')('equipment').setInsert('newBoots').run(conn, callback) -/// - public SetInsert (Arguments args, OptArgs optargs) - : base(TermType.SET_INSERT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetInsert.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetInsert.cs.meta deleted file mode 100644 index dad725ea4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetInsert.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fe0b14d2dd2056345bee0aa492896433 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetIntersection.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetIntersection.cs deleted file mode 100644 index d06af3dd8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetIntersection.cs +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class SetIntersection : ReqlExpr { - - - - -/// -/// Intersect two arrays returning values that occur in both of them as a set (an array with -/// distinct values). -/// -/// Example: Check which pieces of equipment Iron Man has from a fixed list. -/// r.table('marvel').get('IronMan')('equipment').setIntersection(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetIntersection (object arg) : this(new Arguments(arg), null) { - } -/// -/// Intersect two arrays returning values that occur in both of them as a set (an array with -/// distinct values). -/// -/// Example: Check which pieces of equipment Iron Man has from a fixed list. -/// r.table('marvel').get('IronMan')('equipment').setIntersection(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetIntersection (Arguments args) : this(args, null) { - } -/// -/// Intersect two arrays returning values that occur in both of them as a set (an array with -/// distinct values). -/// -/// Example: Check which pieces of equipment Iron Man has from a fixed list. -/// r.table('marvel').get('IronMan')('equipment').setIntersection(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetIntersection (Arguments args, OptArgs optargs) - : base(TermType.SET_INTERSECTION, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetIntersection.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetIntersection.cs.meta deleted file mode 100644 index 8c7e4f497..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetIntersection.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 96a4477171fd63444ac69ccf0c320302 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetUnion.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetUnion.cs deleted file mode 100644 index 32ffac5bb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetUnion.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class SetUnion : ReqlExpr { - - - - -/// -/// Add a several values to an array and return it as a set (an array with distinct values). -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots and an arc reactor. -/// r.table('marvel').get('IronMan')('equipment').setUnion(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetUnion (object arg) : this(new Arguments(arg), null) { - } -/// -/// Add a several values to an array and return it as a set (an array with distinct values). -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots and an arc reactor. -/// r.table('marvel').get('IronMan')('equipment').setUnion(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetUnion (Arguments args) : this(args, null) { - } -/// -/// Add a several values to an array and return it as a set (an array with distinct values). -/// -/// Example: Retrieve Iron Man's equipment list with the addition of some new boots and an arc reactor. -/// r.table('marvel').get('IronMan')('equipment').setUnion(['newBoots', 'arc_reactor']).run(conn, callback) -/// - public SetUnion (Arguments args, OptArgs optargs) - : base(TermType.SET_UNION, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetUnion.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetUnion.cs.meta deleted file mode 100644 index 30a09d60b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SetUnion.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d64d7a9249eb11540a4437cd112d2942 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Skip.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Skip.cs deleted file mode 100644 index 3b5016b47..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Skip.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Skip : ReqlExpr { - - - - -/// -/// Skip a number of elements from the head of the sequence. -/// -/// Example: Here in conjunction with orderBy we choose to ignore the most successful heroes. -/// r.table('marvel').orderBy('successMetric').skip(10).run(conn, callback) -/// - public Skip (object arg) : this(new Arguments(arg), null) { - } -/// -/// Skip a number of elements from the head of the sequence. -/// -/// Example: Here in conjunction with orderBy we choose to ignore the most successful heroes. -/// r.table('marvel').orderBy('successMetric').skip(10).run(conn, callback) -/// - public Skip (Arguments args) : this(args, null) { - } -/// -/// Skip a number of elements from the head of the sequence. -/// -/// Example: Here in conjunction with orderBy we choose to ignore the most successful heroes. -/// r.table('marvel').orderBy('successMetric').skip(10).run(conn, callback) -/// - public Skip (Arguments args, OptArgs optargs) - : base(TermType.SKIP, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Skip.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Skip.cs.meta deleted file mode 100644 index 0fb35abd6..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Skip.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3a6010e213070fc48bcec0afb7362502 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Slice.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Slice.cs deleted file mode 100644 index cc7efb662..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Slice.cs +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Slice : ReqlExpr { - - - - -/// -/// Return the elements of a sequence within the specified range. -/// -/// Example: Return the fourth, fifth and sixth youngest players. (The youngest player is at index 0, so those are elements 3-5.) -/// r.table('players').orderBy({index: 'age'}).slice(3,6).run(conn, callback); -/// - public Slice (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the elements of a sequence within the specified range. -/// -/// Example: Return the fourth, fifth and sixth youngest players. (The youngest player is at index 0, so those are elements 3-5.) -/// r.table('players').orderBy({index: 'age'}).slice(3,6).run(conn, callback); -/// - public Slice (Arguments args) : this(args, null) { - } -/// -/// Return the elements of a sequence within the specified range. -/// -/// Example: Return the fourth, fifth and sixth youngest players. (The youngest player is at index 0, so those are elements 3-5.) -/// r.table('players').orderBy({index: 'age'}).slice(3,6).run(conn, callback); -/// - public Slice (Arguments args, OptArgs optargs) - : base(TermType.SLICE, args, optargs) { - } - - - - - - - -/// -/// "left_bound": "E_BOUND", -/// "right_bound": "E_BOUND" -/// - public Slice this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Slice (this.Args, newOptArgs); - } - } - -/// -/// "left_bound": "E_BOUND", -/// "right_bound": "E_BOUND" -/// - public Slice this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Slice (this.Args, newOptArgs); - } - } - -/// -/// "left_bound": "E_BOUND", -/// "right_bound": "E_BOUND" -/// - public Slice OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Slice (this.Args, newOptArgs); - } - internal Slice optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Slice.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Slice.cs.meta deleted file mode 100644 index 77d3a2e7f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Slice.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cd843f0298468f54fbe8aa839d512008 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SpliceAt.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SpliceAt.cs deleted file mode 100644 index fd5c78a29..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SpliceAt.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class SpliceAt : ReqlExpr { - - - - -/// -/// Insert several values in to an array at a given index. Returns the modified array. -/// -/// Example: Hulk and Thor decide to join the avengers. -/// r.expr(["Iron Man", "Spider-Man"]).spliceAt(1, ["Hulk", "Thor"]).run(conn, callback) -/// - public SpliceAt (object arg) : this(new Arguments(arg), null) { - } -/// -/// Insert several values in to an array at a given index. Returns the modified array. -/// -/// Example: Hulk and Thor decide to join the avengers. -/// r.expr(["Iron Man", "Spider-Man"]).spliceAt(1, ["Hulk", "Thor"]).run(conn, callback) -/// - public SpliceAt (Arguments args) : this(args, null) { - } -/// -/// Insert several values in to an array at a given index. Returns the modified array. -/// -/// Example: Hulk and Thor decide to join the avengers. -/// r.expr(["Iron Man", "Spider-Man"]).spliceAt(1, ["Hulk", "Thor"]).run(conn, callback) -/// - public SpliceAt (Arguments args, OptArgs optargs) - : base(TermType.SPLICE_AT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SpliceAt.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SpliceAt.cs.meta deleted file mode 100644 index 853076748..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/SpliceAt.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a8a0ede67bf3db14f81d1fd20fd1012d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Split.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Split.cs deleted file mode 100644 index b14e36b64..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Split.cs +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Split : ReqlExpr { - - - - -/// -/// Splits a string into substrings. Splits on whitespace when called -/// with no arguments. When called with a separator, splits on that -/// separator. When called with a separator and a maximum number of -/// splits, splits on that separator at most max_splits times. (Can be -/// called with null as the separator if you want to split on whitespace -/// while still specifying max_splits.) -/// -/// Example: Split on whitespace. -/// r.expr("foo bar bax").split().run(conn, callback) -/// -/// Result: -/// ["foo", "bar", "bax"] -/// - public Split (object arg) : this(new Arguments(arg), null) { - } -/// -/// Splits a string into substrings. Splits on whitespace when called -/// with no arguments. When called with a separator, splits on that -/// separator. When called with a separator and a maximum number of -/// splits, splits on that separator at most max_splits times. (Can be -/// called with null as the separator if you want to split on whitespace -/// while still specifying max_splits.) -/// -/// Example: Split on whitespace. -/// r.expr("foo bar bax").split().run(conn, callback) -/// -/// Result: -/// ["foo", "bar", "bax"] -/// - public Split (Arguments args) : this(args, null) { - } -/// -/// Splits a string into substrings. Splits on whitespace when called -/// with no arguments. When called with a separator, splits on that -/// separator. When called with a separator and a maximum number of -/// splits, splits on that separator at most max_splits times. (Can be -/// called with null as the separator if you want to split on whitespace -/// while still specifying max_splits.) -/// -/// Example: Split on whitespace. -/// r.expr("foo bar bax").split().run(conn, callback) -/// -/// Result: -/// ["foo", "bar", "bax"] -/// - public Split (Arguments args, OptArgs optargs) - : base(TermType.SPLIT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Split.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Split.cs.meta deleted file mode 100644 index eea6987d9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Split.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b3515ba7cbb4efb429fe0f210a96eb49 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Status.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Status.cs deleted file mode 100644 index 59f94a89d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Status.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Status : ReqlExpr { - - - - -/// -/// Return the status of a table. -/// -/// Example: Get a table's status. -/// > r.table('superheroes').status().run(conn, callback); -/// - public Status (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the status of a table. -/// -/// Example: Get a table's status. -/// > r.table('superheroes').status().run(conn, callback); -/// - public Status (Arguments args) : this(args, null) { - } -/// -/// Return the status of a table. -/// -/// Example: Get a table's status. -/// > r.table('superheroes').status().run(conn, callback); -/// - public Status (Arguments args, OptArgs optargs) - : base(TermType.STATUS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Status.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Status.cs.meta deleted file mode 100644 index 1fdadc5db..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Status.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0716b013d15071041a0bbc3da441552b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sub.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sub.cs deleted file mode 100644 index 8e627bdeb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sub.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Sub : ReqlExpr { - - - - -/// -/// Subtract two numbers. -/// -/// Example: It's as easy as 2 - 2 = 0. -/// r.expr(2).sub(2).run(conn, callback) -/// - public Sub (object arg) : this(new Arguments(arg), null) { - } -/// -/// Subtract two numbers. -/// -/// Example: It's as easy as 2 - 2 = 0. -/// r.expr(2).sub(2).run(conn, callback) -/// - public Sub (Arguments args) : this(args, null) { - } -/// -/// Subtract two numbers. -/// -/// Example: It's as easy as 2 - 2 = 0. -/// r.expr(2).sub(2).run(conn, callback) -/// - public Sub (Arguments args, OptArgs optargs) - : base(TermType.SUB, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sub.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sub.cs.meta deleted file mode 100644 index 2964ae5cb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sub.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 28f6e5eaf91085a4fa474f45cb7adb4b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sum.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sum.cs deleted file mode 100644 index 71b47bc3e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sum.cs +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Sum : ReqlExpr { - - - - -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum (object arg) : this(new Arguments(arg), null) { - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum (Arguments args) : this(args, null) { - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum (Arguments args, OptArgs optargs) - : base(TermType.SUM, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sum.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sum.cs.meta deleted file mode 100644 index 5b6a5cd7f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sum.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 29ffd15633bf0f842b0a2028d15d067a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sunday.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sunday.cs deleted file mode 100644 index 2a0b575a0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sunday.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Sunday : ReqlExpr { - - - - - public Sunday (object arg) : this(new Arguments(arg), null) { - } - public Sunday (Arguments args) : this(args, null) { - } - public Sunday (Arguments args, OptArgs optargs) - : base(TermType.SUNDAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sunday.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sunday.cs.meta deleted file mode 100644 index 2a9e0aa8b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sunday.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf8c03e110a6b8b4dab397dce8aa3703 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sync.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sync.cs deleted file mode 100644 index 8f839ee7b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sync.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Sync : ReqlExpr { - - - - -/// -/// sync ensures that writes on a given table are written to permanent storage. Queries -/// that specify soft durability ({durability: 'soft'}) do not give such guarantees, so -/// sync can be used to ensure the state of these queries. A call to sync does not return -/// until all previous writes to the table are persisted. -/// -/// Example: After having updated multiple heroes with soft durability, we now want to wait -/// until these changes are persisted. -/// r.table('marvel').sync().run(conn, callback) -/// - public Sync (object arg) : this(new Arguments(arg), null) { - } -/// -/// sync ensures that writes on a given table are written to permanent storage. Queries -/// that specify soft durability ({durability: 'soft'}) do not give such guarantees, so -/// sync can be used to ensure the state of these queries. A call to sync does not return -/// until all previous writes to the table are persisted. -/// -/// Example: After having updated multiple heroes with soft durability, we now want to wait -/// until these changes are persisted. -/// r.table('marvel').sync().run(conn, callback) -/// - public Sync (Arguments args) : this(args, null) { - } -/// -/// sync ensures that writes on a given table are written to permanent storage. Queries -/// that specify soft durability ({durability: 'soft'}) do not give such guarantees, so -/// sync can be used to ensure the state of these queries. A call to sync does not return -/// until all previous writes to the table are persisted. -/// -/// Example: After having updated multiple heroes with soft durability, we now want to wait -/// until these changes are persisted. -/// r.table('marvel').sync().run(conn, callback) -/// - public Sync (Arguments args, OptArgs optargs) - : base(TermType.SYNC, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sync.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sync.cs.meta deleted file mode 100644 index 85c4f1d89..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Sync.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4672caa1c687a3c4db69017380219f1d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Table.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Table.cs deleted file mode 100644 index 441c54419..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Table.cs +++ /dev/null @@ -1,567 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Table : ReqlExpr { - - - - -/// -/// Return all documents in a table. Other commands may be chained after table to return a subset of documents (such as get and filter) or perform further processing. -/// -/// Example: Return all documents in the table 'marvel' of the default database. -/// r.table('marvel').run(conn, callback) -/// - public Table (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return all documents in a table. Other commands may be chained after table to return a subset of documents (such as get and filter) or perform further processing. -/// -/// Example: Return all documents in the table 'marvel' of the default database. -/// r.table('marvel').run(conn, callback) -/// - public Table (Arguments args) : this(args, null) { - } -/// -/// Return all documents in a table. Other commands may be chained after table to return a subset of documents (such as get and filter) or perform further processing. -/// -/// Example: Return all documents in the table 'marvel' of the default database. -/// r.table('marvel').run(conn, callback) -/// - public Table (Arguments args, OptArgs optargs) - : base(TermType.TABLE, args, optargs) { - } - - - - - - - -/// -/// "read_mode": "E_READ_MODE", -/// "identifier_format": "E_IDENTIFIER_FORMAT" -/// - public Table this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Table (this.Args, newOptArgs); - } - } - -/// -/// "read_mode": "E_READ_MODE", -/// "identifier_format": "E_IDENTIFIER_FORMAT" -/// - public Table this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Table (this.Args, newOptArgs); - } - } - -/// -/// "read_mode": "E_READ_MODE", -/// "identifier_format": "E_IDENTIFIER_FORMAT" -/// - public Table OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Table (this.Args, newOptArgs); - } - internal Table optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - -/// -/// Get a document by primary key. -/// -/// Example: Find a document by UUID. -/// r.table('posts').get('a9849eef-7176-4411-935b-79a6e3c56a74').run(conn, callback); -/// - public Get Get ( Object expr ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - return new Get (arguments ); - } - internal Get get ( Object expr ) - { - return Get ( expr ); - } -/// -/// Get all documents where the given value matches the value of the requested index. -/// -/// Example: Secondary index keys are not guaranteed to be unique so we cannot query via get when using a secondary index. -/// r.table('marvel').getAll('man_of_steel', {index:'code_name'}).run(conn, callback) -/// - public GetAll GetAll ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new GetAll (arguments ); - } -/// -/// Get all documents where the given value matches the value of the requested index. -/// -/// Example: Secondary index keys are not guaranteed to be unique so we cannot query via get when using a secondary index. -/// r.table('marvel').getAll('man_of_steel', {index:'code_name'}).run(conn, callback) -/// - /// Same as calling params object[] overload, except the collection is applied as object[] params. - public GetAll GetAll ( ICollection args ) - { - var arguments = new Arguments(this); - arguments.CoerceAndAddAll(args); - return new GetAll (arguments); - } -/// -/// Get all documents where the given value matches the value of the requested index. -/// -/// Example: Secondary index keys are not guaranteed to be unique so we cannot query via get when using a secondary index. -/// r.table('marvel').getAll('man_of_steel', {index:'code_name'}).run(conn, callback) -/// - /// Same as calling params object[] overload, except the collection is applied as object[] params. - public GetAll GetAll ( ICollection args ) - { - var arguments = new Arguments(this); - arguments.CoerceAndAddAll(args); - return new GetAll (arguments); - } - internal GetAll getAll ( params object[] exprs ) - { - return GetAll ( exprs ); - } -/// -/// Insert documents into a table. Accepts a single document or an array of -/// documents. -/// -/// Example: Insert a document into the table posts. -/// r.table("posts").insert({ -/// id: 1, -/// title: "Lorem ipsum", -/// content: "Dolor sit amet" -/// }).run(conn, callback) -/// - public Insert Insert ( Object expr ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - return new Insert (arguments ); - } - internal Insert insert ( Object expr ) - { - return Insert ( expr ); - } -/// -/// Query (read and/or update) the configurations for individual tables or databases. -/// -/// Example: Get the configuration for the users table. -/// > r.table('users').config().run(conn, callback); -/// - public Config Config ( ) - { - Arguments arguments = new Arguments(this); - return new Config (arguments ); - } - internal Config config ( ) - { - return Config ( ); - } -/// -/// Return the status of a table. -/// -/// Example: Get a table's status. -/// > r.table('superheroes').status().run(conn, callback); -/// - public Status Status ( ) - { - Arguments arguments = new Arguments(this); - return new Status (arguments ); - } - internal Status status ( ) - { - return Status ( ); - } -/// -/// Wait for a table or all the tables in a database to be ready. A table may be temporarily unavailable after creation, rebalancing or reconfiguring. The wait command blocks until the given table (or database) is fully up to date. -/// -/// Example: Wait on a table to be ready. -/// > r.table('superheroes').wait().run(conn, callback); -/// // Result passed to callback -/// { "ready": 1 } -/// - public Wait Wait_ ( ) - { - Arguments arguments = new Arguments(this); - return new Wait (arguments ); - } - internal Wait wait_ ( ) - { - return Wait_ ( ); - } -/// -/// Reconfigure a table's sharding and replication. -/// -/// Example: Reconfigure a table. -/// > r.table('superheroes').reconfigure({shards: 2, replicas: 1}).run(conn, callback); -/// - public Reconfigure Reconfigure ( ) - { - Arguments arguments = new Arguments(this); - return new Reconfigure (arguments ); - } - internal Reconfigure reconfigure ( ) - { - return Reconfigure ( ); - } -/// -/// Rebalances the shards of a table. When called on a database, all the tables in that database will be rebalanced. -/// -/// Example: Rebalance a table. -/// > r.table('superheroes').rebalance().run(conn, callback); -/// - public Rebalance Rebalance ( ) - { - Arguments arguments = new Arguments(this); - return new Rebalance (arguments ); - } - internal Rebalance rebalance ( ) - { - return Rebalance ( ); - } -/// -/// sync ensures that writes on a given table are written to permanent storage. Queries -/// that specify soft durability ({durability: 'soft'}) do not give such guarantees, so -/// sync can be used to ensure the state of these queries. A call to sync does not return -/// until all previous writes to the table are persisted. -/// -/// Example: After having updated multiple heroes with soft durability, we now want to wait -/// until these changes are persisted. -/// r.table('marvel').sync().run(conn, callback) -/// - public Sync Sync ( ) - { - Arguments arguments = new Arguments(this); - return new Sync (arguments ); - } - internal Sync sync ( ) - { - return Sync ( ); - } -/// -/// Grant or deny access permissions for a user account, globally or on a per-database or per-table basis. -/// -/// Example: Grant the chatapp user account read and write permissions on the users database. -/// r.db('users').grant('chatapp', {read: true, write: true}).run(conn, callback); -/// -/// // Result passed to callback -/// { -/// "granted": 1, -/// "permissions_changes": [ -/// { -/// "new_val": { "read": true, "write": true }, -/// "old_val": { null } -/// } -/// ] -/// - public Grant Grant ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Grant (arguments ); - } - internal Grant grant ( Object expr, Object exprA ) - { - return Grant ( expr, exprA ); - } -/// -/// Create a new secondary index on a table. Secondary indexes improve the speed of many read queries at the slight cost of increased storage space and decreased write performance. For more information about secondary indexes, read the article "Using secondary indexes in RethinkDB." -/// -/// Example: Create a simple index based on the field postId. -/// r.table('comments').indexCreate('postId').run(conn, callback) -/// - public IndexCreate IndexCreate ( Object expr ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - return new IndexCreate (arguments ); - } - internal IndexCreate indexCreate ( Object expr ) - { - return IndexCreate ( expr ); - } -/// -/// Create a new secondary index on a table. Secondary indexes improve the speed of many read queries at the slight cost of increased storage space and decreased write performance. For more information about secondary indexes, read the article "Using secondary indexes in RethinkDB." -/// -/// Example: Create a simple index based on the field postId. -/// r.table('comments').indexCreate('postId').run(conn, callback) -/// - public IndexCreate IndexCreate ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new IndexCreate (arguments ); - } - internal IndexCreate indexCreate ( Object expr, Javascript js ) - { - return IndexCreate ( expr, js ); - } -/// -/// Create a new secondary index on a table. Secondary indexes improve the speed of many read queries at the slight cost of increased storage space and decreased write performance. For more information about secondary indexes, read the article "Using secondary indexes in RethinkDB." -/// -/// Example: Create a simple index based on the field postId. -/// r.table('comments').indexCreate('postId').run(conn, callback) -/// - public IndexCreate IndexCreate ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new IndexCreate (arguments ); - } - internal IndexCreate indexCreate ( Object expr, Object exprA ) - { - return IndexCreate ( expr, exprA ); - } -/// -/// Create a new secondary index on a table. Secondary indexes improve the speed of many read queries at the slight cost of increased storage space and decreased write performance. For more information about secondary indexes, read the article "Using secondary indexes in RethinkDB." -/// -/// Example: Create a simple index based on the field postId. -/// r.table('comments').indexCreate('postId').run(conn, callback) -/// - public IndexCreate IndexCreate ( Object expr, ReqlFunction0 func0 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func0); - return new IndexCreate (arguments ); - } - internal IndexCreate indexCreate ( Object expr, ReqlFunction0 func0 ) - { - return IndexCreate ( expr, func0 ); - } -/// -/// Create a new secondary index on a table. Secondary indexes improve the speed of many read queries at the slight cost of increased storage space and decreased write performance. For more information about secondary indexes, read the article "Using secondary indexes in RethinkDB." -/// -/// Example: Create a simple index based on the field postId. -/// r.table('comments').indexCreate('postId').run(conn, callback) -/// - public IndexCreate IndexCreate ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new IndexCreate (arguments ); - } - internal IndexCreate indexCreate ( Object expr, ReqlFunction1 func1 ) - { - return IndexCreate ( expr, func1 ); - } -/// -/// Delete a previously created secondary index of this table. -/// -/// Example: Drop a secondary index named 'code_name'. -/// r.table('dc').indexDrop('code_name').run(conn, callback) -/// - public IndexDrop IndexDrop ( Object expr ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - return new IndexDrop (arguments ); - } - internal IndexDrop indexDrop ( Object expr ) - { - return IndexDrop ( expr ); - } -/// -/// List all the secondary indexes of this table. -/// -/// Example: List the available secondary indexes for this table. -/// r.table('marvel').indexList().run(conn, callback) -/// - public IndexList IndexList ( ) - { - Arguments arguments = new Arguments(this); - return new IndexList (arguments ); - } - internal IndexList indexList ( ) - { - return IndexList ( ); - } -/// -/// Get the status of the specified indexes on this table, or the status -/// of all indexes on this table if no indexes are specified. -/// -/// Example: Get the status of all the indexes on test: -/// r.table('test').indexStatus().run(conn, callback) -/// - public IndexStatus IndexStatus ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new IndexStatus (arguments ); - } -/// -/// Get the status of the specified indexes on this table, or the status -/// of all indexes on this table if no indexes are specified. -/// -/// Example: Get the status of all the indexes on test: -/// r.table('test').indexStatus().run(conn, callback) -/// - /// Same as calling params object[] overload, except the collection is applied as object[] params. - public IndexStatus IndexStatus ( ICollection args ) - { - var arguments = new Arguments(this); - arguments.CoerceAndAddAll(args); - return new IndexStatus (arguments); - } - internal IndexStatus indexStatus ( params object[] exprs ) - { - return IndexStatus ( exprs ); - } -/// -/// Wait for the specified indexes on this table to be ready, or for all -/// indexes on this table to be ready if no indexes are specified. -/// -/// Example: Wait for all indexes on the table test to be ready: -/// r.table('test').indexWait().run(conn, callback) -/// - public IndexWait IndexWait ( params object[] exprs ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAddAll(exprs); - return new IndexWait (arguments ); - } -/// -/// Wait for the specified indexes on this table to be ready, or for all -/// indexes on this table to be ready if no indexes are specified. -/// -/// Example: Wait for all indexes on the table test to be ready: -/// r.table('test').indexWait().run(conn, callback) -/// - /// Same as calling params object[] overload, except the collection is applied as object[] params. - public IndexWait IndexWait ( ICollection args ) - { - var arguments = new Arguments(this); - arguments.CoerceAndAddAll(args); - return new IndexWait (arguments); - } - internal IndexWait indexWait ( params object[] exprs ) - { - return IndexWait ( exprs ); - } -/// -/// Rename an existing secondary index on a table. If the optional argument overwrite is specified as true, a previously existing index with the new name will be deleted and the index will be renamed. If overwrite is false (the default) an error will be raised if the new index name already exists. -/// -/// Example: Rename an index on the comments table. -/// r.table('comments').indexRename('postId', 'messageId').run(conn, callback) -/// - public IndexRename IndexRename ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new IndexRename (arguments ); - } - internal IndexRename indexRename ( Object expr, Object exprA ) - { - return IndexRename ( expr, exprA ); - } -/// -/// Get all documents where the given geometry object intersects the geometry object of the requested geospatial index. -/// -/// Example: Which of the locations in a list of parks intersect circle1? -/// var circle1 = r.circle([-117.220406,32.719464], 10, {unit: 'mi'}); -/// r.table('parks').getIntersecting(circle1, {index: 'area'}).run(conn, callback); -/// - public GetIntersecting GetIntersecting ( Object expr ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - return new GetIntersecting (arguments ); - } - internal GetIntersecting getIntersecting ( Object expr ) - { - return GetIntersecting ( expr ); - } -/// -/// Get all documents where the specified geospatial index is within a certain distance of the specified point (default 100 kilometers). -/// -/// Example: Return a list of enemy hideouts within 5000 meters of the secret base. -/// var secretBase = r.point(-122.422876,37.777128); -/// r.table('hideouts').getNearest(secretBase, -/// {index: 'location', maxDist: 5000} -/// ).run(conn, callback) -/// - public GetNearest GetNearest ( Object expr ) - { - Arguments arguments = new Arguments(this); - arguments.CoerceAndAdd(expr); - return new GetNearest (arguments ); - } - internal GetNearest getNearest ( Object expr ) - { - return GetNearest ( expr ); - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Table.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Table.cs.meta deleted file mode 100644 index 4e1b05e8b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Table.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5412c9519016c184785b6327c48602f0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableCreate.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableCreate.cs deleted file mode 100644 index f6531c7dd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableCreate.cs +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class TableCreate : ReqlExpr { - - - - -/// -/// Create a table. A RethinkDB table is a collection of JSON documents. -/// -/// Example: Create a table named 'dc_universe' with the default settings. -/// > r.db('heroes').tableCreate('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "new_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "old_val": null -/// } -/// ], -/// "tables_created": 1 -/// } -/// - public TableCreate (object arg) : this(new Arguments(arg), null) { - } -/// -/// Create a table. A RethinkDB table is a collection of JSON documents. -/// -/// Example: Create a table named 'dc_universe' with the default settings. -/// > r.db('heroes').tableCreate('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "new_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "old_val": null -/// } -/// ], -/// "tables_created": 1 -/// } -/// - public TableCreate (Arguments args) : this(args, null) { - } -/// -/// Create a table. A RethinkDB table is a collection of JSON documents. -/// -/// Example: Create a table named 'dc_universe' with the default settings. -/// > r.db('heroes').tableCreate('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "new_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "old_val": null -/// } -/// ], -/// "tables_created": 1 -/// } -/// - public TableCreate (Arguments args, OptArgs optargs) - : base(TermType.TABLE_CREATE, args, optargs) { - } - - - - - - - -/// -/// "primary_key": "T_STR", -/// "durability": "E_DURABILITY", -/// "shards": "T_NUM", -/// "replicas": [ -/// "T_NUM", -/// "T_OBJECT" -/// ], -/// "primary_replica_tag": "T_STR" -/// - public TableCreate this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new TableCreate (this.Args, newOptArgs); - } - } - -/// -/// "primary_key": "T_STR", -/// "durability": "E_DURABILITY", -/// "shards": "T_NUM", -/// "replicas": [ -/// "T_NUM", -/// "T_OBJECT" -/// ], -/// "primary_replica_tag": "T_STR" -/// - public TableCreate this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new TableCreate (this.Args, newOptArgs); - } - } - -/// -/// "primary_key": "T_STR", -/// "durability": "E_DURABILITY", -/// "shards": "T_NUM", -/// "replicas": [ -/// "T_NUM", -/// "T_OBJECT" -/// ], -/// "primary_replica_tag": "T_STR" -/// - public TableCreate OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new TableCreate (this.Args, newOptArgs); - } - internal TableCreate optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableCreate.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableCreate.cs.meta deleted file mode 100644 index 86aedece9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableCreate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 548a5cade0754a94f86a31f5ea931155 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableDrop.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableDrop.cs deleted file mode 100644 index 76d489567..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableDrop.cs +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class TableDrop : ReqlExpr { - - - - -/// -/// Drop a table from a database. The table and all its data will be deleted. -/// -/// Example: Drop a table named 'dc_universe'. -/// > r.db('test').tableDrop('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "old_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "new_val": null -/// } -/// ], -/// "tables_dropped": 1 -/// } -/// - public TableDrop (object arg) : this(new Arguments(arg), null) { - } -/// -/// Drop a table from a database. The table and all its data will be deleted. -/// -/// Example: Drop a table named 'dc_universe'. -/// > r.db('test').tableDrop('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "old_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "new_val": null -/// } -/// ], -/// "tables_dropped": 1 -/// } -/// - public TableDrop (Arguments args) : this(args, null) { - } -/// -/// Drop a table from a database. The table and all its data will be deleted. -/// -/// Example: Drop a table named 'dc_universe'. -/// > r.db('test').tableDrop('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "old_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "new_val": null -/// } -/// ], -/// "tables_dropped": 1 -/// } -/// - public TableDrop (Arguments args, OptArgs optargs) - : base(TermType.TABLE_DROP, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableDrop.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableDrop.cs.meta deleted file mode 100644 index e55d96cd1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableDrop.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c8cb37409c0ace549bec757fcfa12518 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableList.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableList.cs deleted file mode 100644 index 66f0cfb33..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableList.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class TableList : ReqlExpr { - - - - -/// -/// List all table names in a database. The result is a list of strings. -/// -/// Example: List all tables of the 'test' database. -/// r.db('test').tableList().run(conn, callback) -/// - public TableList (object arg) : this(new Arguments(arg), null) { - } -/// -/// List all table names in a database. The result is a list of strings. -/// -/// Example: List all tables of the 'test' database. -/// r.db('test').tableList().run(conn, callback) -/// - public TableList (Arguments args) : this(args, null) { - } -/// -/// List all table names in a database. The result is a list of strings. -/// -/// Example: List all tables of the 'test' database. -/// r.db('test').tableList().run(conn, callback) -/// - public TableList (Arguments args, OptArgs optargs) - : base(TermType.TABLE_LIST, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableList.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableList.cs.meta deleted file mode 100644 index 5e2876fed..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TableList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8418ddfd047871a4ab88e7b53775cb72 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Thursday.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Thursday.cs deleted file mode 100644 index 8702e1c45..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Thursday.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Thursday : ReqlExpr { - - - - - public Thursday (object arg) : this(new Arguments(arg), null) { - } - public Thursday (Arguments args) : this(args, null) { - } - public Thursday (Arguments args, OptArgs optargs) - : base(TermType.THURSDAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Thursday.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Thursday.cs.meta deleted file mode 100644 index eb5919f2d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Thursday.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1e5380b457618b648b28722467bb98ae -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Time.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Time.cs deleted file mode 100644 index be62496fb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Time.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Time : ReqlExpr { - - - - -/// -/// Create a time object for a specific time. -/// -/// Example: Update the birthdate of the user "John" to November 3rd, 1986 UTC. -/// r.table("user").get("John").update({birthdate: r.time(1986, 11, 3, 'Z')}).run(conn, callback) -/// - public Time (object arg) : this(new Arguments(arg), null) { - } -/// -/// Create a time object for a specific time. -/// -/// Example: Update the birthdate of the user "John" to November 3rd, 1986 UTC. -/// r.table("user").get("John").update({birthdate: r.time(1986, 11, 3, 'Z')}).run(conn, callback) -/// - public Time (Arguments args) : this(args, null) { - } -/// -/// Create a time object for a specific time. -/// -/// Example: Update the birthdate of the user "John" to November 3rd, 1986 UTC. -/// r.table("user").get("John").update({birthdate: r.time(1986, 11, 3, 'Z')}).run(conn, callback) -/// - public Time (Arguments args, OptArgs optargs) - : base(TermType.TIME, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Time.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Time.cs.meta deleted file mode 100644 index e8287f87b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Time.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 57768b57977b55d49a8e6c2a60e95eac -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TimeOfDay.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TimeOfDay.cs deleted file mode 100644 index ffff56178..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TimeOfDay.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class TimeOfDay : ReqlExpr { - - - - -/// -/// Return the number of seconds elapsed since the beginning of the day stored in the time object. -/// -/// Example: Retrieve posts that were submitted before noon. -/// r.table("posts").filter( -/// r.row("date").timeOfDay().le(12*60*60) -/// ).run(conn, callback) -/// - public TimeOfDay (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the number of seconds elapsed since the beginning of the day stored in the time object. -/// -/// Example: Retrieve posts that were submitted before noon. -/// r.table("posts").filter( -/// r.row("date").timeOfDay().le(12*60*60) -/// ).run(conn, callback) -/// - public TimeOfDay (Arguments args) : this(args, null) { - } -/// -/// Return the number of seconds elapsed since the beginning of the day stored in the time object. -/// -/// Example: Retrieve posts that were submitted before noon. -/// r.table("posts").filter( -/// r.row("date").timeOfDay().le(12*60*60) -/// ).run(conn, callback) -/// - public TimeOfDay (Arguments args, OptArgs optargs) - : base(TermType.TIME_OF_DAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TimeOfDay.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TimeOfDay.cs.meta deleted file mode 100644 index 379905b7f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TimeOfDay.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e7b715a95ba6f854387b003cb457cbab -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Timezone.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Timezone.cs deleted file mode 100644 index 1bd4191f4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Timezone.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Timezone : ReqlExpr { - - - - -/// -/// Return the timezone of the time object. -/// -/// Example: Return all the users in the "-07:00" timezone. -/// r.table("users").filter( function(user) { -/// return user("subscriptionDate").timezone().eq("-07:00") -/// }) -/// - public Timezone (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the timezone of the time object. -/// -/// Example: Return all the users in the "-07:00" timezone. -/// r.table("users").filter( function(user) { -/// return user("subscriptionDate").timezone().eq("-07:00") -/// }) -/// - public Timezone (Arguments args) : this(args, null) { - } -/// -/// Return the timezone of the time object. -/// -/// Example: Return all the users in the "-07:00" timezone. -/// r.table("users").filter( function(user) { -/// return user("subscriptionDate").timezone().eq("-07:00") -/// }) -/// - public Timezone (Arguments args, OptArgs optargs) - : base(TermType.TIMEZONE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Timezone.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Timezone.cs.meta deleted file mode 100644 index 452f199d4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Timezone.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5f8ebe7c27936f94f9bb08d02fbea429 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToEpochTime.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToEpochTime.cs deleted file mode 100644 index 5bdf270ab..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToEpochTime.cs +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class ToEpochTime : ReqlExpr { - - - - -/// -/// Convert a time object to its epoch time. -/// -/// Example: Return the current time in seconds since the Unix Epoch with millisecond-precision. -/// r.now().toEpochTime() -/// - public ToEpochTime (object arg) : this(new Arguments(arg), null) { - } -/// -/// Convert a time object to its epoch time. -/// -/// Example: Return the current time in seconds since the Unix Epoch with millisecond-precision. -/// r.now().toEpochTime() -/// - public ToEpochTime (Arguments args) : this(args, null) { - } -/// -/// Convert a time object to its epoch time. -/// -/// Example: Return the current time in seconds since the Unix Epoch with millisecond-precision. -/// r.now().toEpochTime() -/// - public ToEpochTime (Arguments args, OptArgs optargs) - : base(TermType.TO_EPOCH_TIME, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToEpochTime.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToEpochTime.cs.meta deleted file mode 100644 index b992dc464..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToEpochTime.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cbae5760f1ce5d3458465b71ed8a889a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToGeojson.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToGeojson.cs deleted file mode 100644 index ef54c6425..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToGeojson.cs +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class ToGeojson : ReqlExpr { - - - - -/// -/// Convert a ReQL geometry object to a GeoJSON object. -/// -/// Example: Convert a ReQL geometry object to a GeoJSON object. -/// r.table('geo').get('sfo')('location').toGeojson.run(conn, callback); -/// // result passed to callback -/// { -/// 'type': 'Point', -/// 'coordinates': [ -122.423246, 37.779388 ] -/// } -/// - public ToGeojson (object arg) : this(new Arguments(arg), null) { - } -/// -/// Convert a ReQL geometry object to a GeoJSON object. -/// -/// Example: Convert a ReQL geometry object to a GeoJSON object. -/// r.table('geo').get('sfo')('location').toGeojson.run(conn, callback); -/// // result passed to callback -/// { -/// 'type': 'Point', -/// 'coordinates': [ -122.423246, 37.779388 ] -/// } -/// - public ToGeojson (Arguments args) : this(args, null) { - } -/// -/// Convert a ReQL geometry object to a GeoJSON object. -/// -/// Example: Convert a ReQL geometry object to a GeoJSON object. -/// r.table('geo').get('sfo')('location').toGeojson.run(conn, callback); -/// // result passed to callback -/// { -/// 'type': 'Point', -/// 'coordinates': [ -122.423246, 37.779388 ] -/// } -/// - public ToGeojson (Arguments args, OptArgs optargs) - : base(TermType.TO_GEOJSON, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToGeojson.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToGeojson.cs.meta deleted file mode 100644 index 208bdee60..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToGeojson.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: af5c881e8435efe4aa9c8eecc0f23d31 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToIso8601.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToIso8601.cs deleted file mode 100644 index 6e3eac7d1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToIso8601.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class ToIso8601 : ReqlExpr { - - - - -/// -/// Convert a time object to a string in ISO 8601 format. -/// -/// Example: Return the current ISO 8601 time. -/// r.now().toISO8601().run(conn, callback) -/// // Result passed to callback -/// "2015-04-20T18:37:52.690+00:00" -/// - public ToIso8601 (object arg) : this(new Arguments(arg), null) { - } -/// -/// Convert a time object to a string in ISO 8601 format. -/// -/// Example: Return the current ISO 8601 time. -/// r.now().toISO8601().run(conn, callback) -/// // Result passed to callback -/// "2015-04-20T18:37:52.690+00:00" -/// - public ToIso8601 (Arguments args) : this(args, null) { - } -/// -/// Convert a time object to a string in ISO 8601 format. -/// -/// Example: Return the current ISO 8601 time. -/// r.now().toISO8601().run(conn, callback) -/// // Result passed to callback -/// "2015-04-20T18:37:52.690+00:00" -/// - public ToIso8601 (Arguments args, OptArgs optargs) - : base(TermType.TO_ISO8601, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToIso8601.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToIso8601.cs.meta deleted file mode 100644 index c0dbfd3c8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToIso8601.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9c7c45644588e3d408e004d6a2e5984e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToJsonString.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToJsonString.cs deleted file mode 100644 index 78637171f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToJsonString.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class ToJsonString : ReqlExpr { - - - - -/// -/// Convert a ReQL value or object to a JSON string. You may use either toJsonString or toJSON. -/// -/// Example: Get a ReQL document as a JSON string. -/// > r.table('hero').get(1).toJSON() -/// // result returned to callback -/// '{"id": 1, "name": "Batman", "city": "Gotham", "powers": ["martial arts", "cinematic entrances"]}' -/// - public ToJsonString (object arg) : this(new Arguments(arg), null) { - } -/// -/// Convert a ReQL value or object to a JSON string. You may use either toJsonString or toJSON. -/// -/// Example: Get a ReQL document as a JSON string. -/// > r.table('hero').get(1).toJSON() -/// // result returned to callback -/// '{"id": 1, "name": "Batman", "city": "Gotham", "powers": ["martial arts", "cinematic entrances"]}' -/// - public ToJsonString (Arguments args) : this(args, null) { - } -/// -/// Convert a ReQL value or object to a JSON string. You may use either toJsonString or toJSON. -/// -/// Example: Get a ReQL document as a JSON string. -/// > r.table('hero').get(1).toJSON() -/// // result returned to callback -/// '{"id": 1, "name": "Batman", "city": "Gotham", "powers": ["martial arts", "cinematic entrances"]}' -/// - public ToJsonString (Arguments args, OptArgs optargs) - : base(TermType.TO_JSON_STRING, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToJsonString.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToJsonString.cs.meta deleted file mode 100644 index a26adc429..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/ToJsonString.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b39329fb66ceee04c89421d09b8957e5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Tuesday.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Tuesday.cs deleted file mode 100644 index 83fa99bab..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Tuesday.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Tuesday : ReqlExpr { - - - - - public Tuesday (object arg) : this(new Arguments(arg), null) { - } - public Tuesday (Arguments args) : this(args, null) { - } - public Tuesday (Arguments args, OptArgs optargs) - : base(TermType.TUESDAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Tuesday.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Tuesday.cs.meta deleted file mode 100644 index 930516a8b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Tuesday.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b1c541ac7dd95b84aa70f08028653572 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TypeOf.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TypeOf.cs deleted file mode 100644 index cd0f69053..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TypeOf.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class TypeOf : ReqlExpr { - - - - -/// -/// Gets the type of a ReQL query's return value. -/// -/// Example: Get the type of a string. -/// r.expr("foo").typeOf().run(conn, callback); -/// // Result passed to callback -/// "STRING" -/// - public TypeOf (object arg) : this(new Arguments(arg), null) { - } -/// -/// Gets the type of a ReQL query's return value. -/// -/// Example: Get the type of a string. -/// r.expr("foo").typeOf().run(conn, callback); -/// // Result passed to callback -/// "STRING" -/// - public TypeOf (Arguments args) : this(args, null) { - } -/// -/// Gets the type of a ReQL query's return value. -/// -/// Example: Get the type of a string. -/// r.expr("foo").typeOf().run(conn, callback); -/// // Result passed to callback -/// "STRING" -/// - public TypeOf (Arguments args, OptArgs optargs) - : base(TermType.TYPE_OF, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TypeOf.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TypeOf.cs.meta deleted file mode 100644 index c08b1436e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/TypeOf.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 91f146662b300c14e94bfdd21f3450d8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ungroup.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ungroup.cs deleted file mode 100644 index 20e430e98..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ungroup.cs +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Ungroup : ReqlExpr { - - - - -/// -/// Takes a grouped stream or grouped data and turns it into an array of -/// objects representing the groups. Any commands chained after ungroup -/// will operate on this array, rather than operating on each group -/// individually. This is useful if you want to e.g. order the groups by -/// the value of their reduction. -/// -/// Example: What is the maximum number of points scored by each -/// player, with the highest scorers first? -/// r.table('games') -/// .group('player').max('points')('points') -/// .ungroup().orderBy(r.desc('reduction')).run(conn, callback) -/// - public Ungroup (object arg) : this(new Arguments(arg), null) { - } -/// -/// Takes a grouped stream or grouped data and turns it into an array of -/// objects representing the groups. Any commands chained after ungroup -/// will operate on this array, rather than operating on each group -/// individually. This is useful if you want to e.g. order the groups by -/// the value of their reduction. -/// -/// Example: What is the maximum number of points scored by each -/// player, with the highest scorers first? -/// r.table('games') -/// .group('player').max('points')('points') -/// .ungroup().orderBy(r.desc('reduction')).run(conn, callback) -/// - public Ungroup (Arguments args) : this(args, null) { - } -/// -/// Takes a grouped stream or grouped data and turns it into an array of -/// objects representing the groups. Any commands chained after ungroup -/// will operate on this array, rather than operating on each group -/// individually. This is useful if you want to e.g. order the groups by -/// the value of their reduction. -/// -/// Example: What is the maximum number of points scored by each -/// player, with the highest scorers first? -/// r.table('games') -/// .group('player').max('points')('points') -/// .ungroup().orderBy(r.desc('reduction')).run(conn, callback) -/// - public Ungroup (Arguments args, OptArgs optargs) - : base(TermType.UNGROUP, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ungroup.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ungroup.cs.meta deleted file mode 100644 index e91b90ed8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Ungroup.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0a4b087e44b166044bacc6e0b88d7854 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Union.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Union.cs deleted file mode 100644 index b2609b024..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Union.cs +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Union : ReqlExpr { - - - - -/// -/// Merge two or more sequences. -/// -/// Example: Construct a stream of all heroes. -/// r.table('marvel').union(r.table('dc')).run(conn, callback); -/// - public Union (object arg) : this(new Arguments(arg), null) { - } -/// -/// Merge two or more sequences. -/// -/// Example: Construct a stream of all heroes. -/// r.table('marvel').union(r.table('dc')).run(conn, callback); -/// - public Union (Arguments args) : this(args, null) { - } -/// -/// Merge two or more sequences. -/// -/// Example: Construct a stream of all heroes. -/// r.table('marvel').union(r.table('dc')).run(conn, callback); -/// - public Union (Arguments args, OptArgs optargs) - : base(TermType.UNION, args, optargs) { - } - - - - - - - -/// -/// "interleave": "T_EXPR" -/// - public Union this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Union (this.Args, newOptArgs); - } - } - -/// -/// "interleave": "T_EXPR" -/// - public Union this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Union (this.Args, newOptArgs); - } - } - -/// -/// "interleave": "T_EXPR" -/// - public Union OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Union (this.Args, newOptArgs); - } - internal Union optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Union.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Union.cs.meta deleted file mode 100644 index 6275acaab..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Union.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 237725b8c0e9f3a4ca4c3ad1fdcfeff5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Upcase.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Upcase.cs deleted file mode 100644 index 5de467e58..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Upcase.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Upcase : ReqlExpr { - - - - -/// -/// Uppercases a string. -/// -/// Example: -/// r.expr("Sentence about LaTeX.").upcase().run(conn, callback) -/// -/// Result: -/// "SENTENCE ABOUT LATEX." -/// -/// Note: upcase and downcase only affect ASCII characters. - public Upcase (object arg) : this(new Arguments(arg), null) { - } -/// -/// Uppercases a string. -/// -/// Example: -/// r.expr("Sentence about LaTeX.").upcase().run(conn, callback) -/// -/// Result: -/// "SENTENCE ABOUT LATEX." -/// -/// Note: upcase and downcase only affect ASCII characters. - public Upcase (Arguments args) : this(args, null) { - } -/// -/// Uppercases a string. -/// -/// Example: -/// r.expr("Sentence about LaTeX.").upcase().run(conn, callback) -/// -/// Result: -/// "SENTENCE ABOUT LATEX." -/// -/// Note: upcase and downcase only affect ASCII characters. - public Upcase (Arguments args, OptArgs optargs) - : base(TermType.UPCASE, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Upcase.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Upcase.cs.meta deleted file mode 100644 index 6b0644593..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Upcase.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 54b2958d32fa7bc4b942120fc5a7c94c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Update.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Update.cs deleted file mode 100644 index 16d3db50e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Update.cs +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Update : ReqlExpr { - - - - -/// -/// Update JSON documents in a table. Accepts a JSON document, a ReQL expression, or a combination of the two. -/// -/// Example: Update the status of the post with id of 1 to published. -/// r.table("posts").get(1).update({status: "published"}).run(conn, callback) -/// - public Update (object arg) : this(new Arguments(arg), null) { - } -/// -/// Update JSON documents in a table. Accepts a JSON document, a ReQL expression, or a combination of the two. -/// -/// Example: Update the status of the post with id of 1 to published. -/// r.table("posts").get(1).update({status: "published"}).run(conn, callback) -/// - public Update (Arguments args) : this(args, null) { - } -/// -/// Update JSON documents in a table. Accepts a JSON document, a ReQL expression, or a combination of the two. -/// -/// Example: Update the status of the post with id of 1 to published. -/// r.table("posts").get(1).update({status: "published"}).run(conn, callback) -/// - public Update (Arguments args, OptArgs optargs) - : base(TermType.UPDATE, args, optargs) { - } - - - - - - - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ], -/// "non_atomic": "T_BOOL" -/// - public Update this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Update (this.Args, newOptArgs); - } - } - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ], -/// "non_atomic": "T_BOOL" -/// - public Update this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Update (this.Args, newOptArgs); - } - } - -/// -/// "durability": "E_DURABILITY", -/// "return_changes": [ -/// "T_BOOL", -/// "always" -/// ], -/// "non_atomic": "T_BOOL" -/// - public Update OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Update (this.Args, newOptArgs); - } - internal Update optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Update.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Update.cs.meta deleted file mode 100644 index f296bb586..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Update.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 100e97024133ae649b3e75690e49b99d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Uuid.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Uuid.cs deleted file mode 100644 index dd8867eff..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Uuid.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Uuid : ReqlExpr { - - - - -/// -/// Return a UUID (universally unique identifier), a string that can be used as a unique ID. If a string is passed to uuid as an argument, the UUID will be deterministic, derived from the string's SHA-1 hash. -/// -/// Example: Generate a UUID. -/// > r.uuid().run(conn, callback) -/// // result returned to callback -/// "27961a0e-f4e8-4eb3-bf95-c5203e1d87b9" -/// - public Uuid (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return a UUID (universally unique identifier), a string that can be used as a unique ID. If a string is passed to uuid as an argument, the UUID will be deterministic, derived from the string's SHA-1 hash. -/// -/// Example: Generate a UUID. -/// > r.uuid().run(conn, callback) -/// // result returned to callback -/// "27961a0e-f4e8-4eb3-bf95-c5203e1d87b9" -/// - public Uuid (Arguments args) : this(args, null) { - } -/// -/// Return a UUID (universally unique identifier), a string that can be used as a unique ID. If a string is passed to uuid as an argument, the UUID will be deterministic, derived from the string's SHA-1 hash. -/// -/// Example: Generate a UUID. -/// > r.uuid().run(conn, callback) -/// // result returned to callback -/// "27961a0e-f4e8-4eb3-bf95-c5203e1d87b9" -/// - public Uuid (Arguments args, OptArgs optargs) - : base(TermType.UUID, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Uuid.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Uuid.cs.meta deleted file mode 100644 index f61401f18..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Uuid.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8a4189395dac0404d95840086077be1e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Values.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Values.cs deleted file mode 100644 index 180082bb6..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Values.cs +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Values : ReqlExpr { - - - - -/// -/// Return an array containing all of an object's values. values() guarantees the values will come out in the same order as keys. -/// -/// Example: Get all of the values from a table row. -/// // row: { id: 1, mail: "fred@example.com", name: "fred" } -/// -/// r.table('users').get(1).values().run(conn, callback); -/// // Result passed to callback -/// [ 1, "fred@example.com", "fred" ] -/// - public Values (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return an array containing all of an object's values. values() guarantees the values will come out in the same order as keys. -/// -/// Example: Get all of the values from a table row. -/// // row: { id: 1, mail: "fred@example.com", name: "fred" } -/// -/// r.table('users').get(1).values().run(conn, callback); -/// // Result passed to callback -/// [ 1, "fred@example.com", "fred" ] -/// - public Values (Arguments args) : this(args, null) { - } -/// -/// Return an array containing all of an object's values. values() guarantees the values will come out in the same order as keys. -/// -/// Example: Get all of the values from a table row. -/// // row: { id: 1, mail: "fred@example.com", name: "fred" } -/// -/// r.table('users').get(1).values().run(conn, callback); -/// // Result passed to callback -/// [ 1, "fred@example.com", "fred" ] -/// - public Values (Arguments args, OptArgs optargs) - : base(TermType.VALUES, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Values.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Values.cs.meta deleted file mode 100644 index bcf54b121..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Values.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d70a684680ae2bb4ab383fa31bbfe4e8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Var.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Var.cs deleted file mode 100644 index 2a444f5ec..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Var.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Var : ReqlExpr { - - - - - public Var (object arg) : this(new Arguments(arg), null) { - } - public Var (Arguments args) : this(args, null) { - } - public Var (Arguments args, OptArgs optargs) - : base(TermType.VAR, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Var.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Var.cs.meta deleted file mode 100644 index 922e2287a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Var.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6fe6156a4c49c264280d8257832a48c8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wait.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wait.cs deleted file mode 100644 index 0b2f1bf41..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wait.cs +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Wait : ReqlExpr { - - - - -/// -/// Wait for a table or all the tables in a database to be ready. A table may be temporarily unavailable after creation, rebalancing or reconfiguring. The wait command blocks until the given table (or database) is fully up to date. -/// -/// Example: Wait on a table to be ready. -/// > r.table('superheroes').wait().run(conn, callback); -/// // Result passed to callback -/// { "ready": 1 } -/// - public Wait (object arg) : this(new Arguments(arg), null) { - } -/// -/// Wait for a table or all the tables in a database to be ready. A table may be temporarily unavailable after creation, rebalancing or reconfiguring. The wait command blocks until the given table (or database) is fully up to date. -/// -/// Example: Wait on a table to be ready. -/// > r.table('superheroes').wait().run(conn, callback); -/// // Result passed to callback -/// { "ready": 1 } -/// - public Wait (Arguments args) : this(args, null) { - } -/// -/// Wait for a table or all the tables in a database to be ready. A table may be temporarily unavailable after creation, rebalancing or reconfiguring. The wait command blocks until the given table (or database) is fully up to date. -/// -/// Example: Wait on a table to be ready. -/// > r.table('superheroes').wait().run(conn, callback); -/// // Result passed to callback -/// { "ready": 1 } -/// - public Wait (Arguments args, OptArgs optargs) - : base(TermType.WAIT, args, optargs) { - } - - - - - - - -/// -/// "wait_for": "E_STATUS", -/// "timeout": "T_NUM" -/// - public Wait this[object optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Wait (this.Args, newOptArgs); - } - } - -/// -/// "wait_for": "E_STATUS", -/// "timeout": "T_NUM" -/// - public Wait this[OptArgs optArgs] { - get - { - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(optArgs); - - return new Wait (this.Args, newOptArgs); - } - } - -/// -/// "wait_for": "E_STATUS", -/// "timeout": "T_NUM" -/// - public Wait OptArg(string key, object val){ - - var newOptArgs = OptArgs.FromMap(this.OptArgs).With(key, val); - - return new Wait (this.Args, newOptArgs); - } - internal Wait optArg(string key, object val){ - - return this.OptArg(key, val); - } - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wait.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wait.cs.meta deleted file mode 100644 index 0de64c8dd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wait.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cbf8d0def5d96924b81e0330eddbd645 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wednesday.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wednesday.cs deleted file mode 100644 index 7a53d58cf..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wednesday.cs +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Wednesday : ReqlExpr { - - - - - public Wednesday (object arg) : this(new Arguments(arg), null) { - } - public Wednesday (Arguments args) : this(args, null) { - } - public Wednesday (Arguments args, OptArgs optargs) - : base(TermType.WEDNESDAY, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wednesday.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wednesday.cs.meta deleted file mode 100644 index 793db751c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Wednesday.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a5dfb1c55ca42c4479def39ece61eb22 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/WithFields.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/WithFields.cs deleted file mode 100644 index e01cb99aa..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/WithFields.cs +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class WithFields : ReqlExpr { - - - - -/// -/// Plucks one or more attributes from a sequence of objects, filtering out any objects in the sequence that do not have the specified fields. Functionally, this is identical to hasFields followed by pluck on a sequence. -/// -/// Example: Get a list of users and their posts, excluding any users who have not made any posts. -/// Existing table structure: -/// [ -/// { 'id': 1, 'user': 'bob', 'email': 'bob@foo.com', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 2, 'user': 'george', 'email': 'george@foo.com' }, -/// { 'id': 3, 'user': 'jane', 'email': 'jane@foo.com', 'posts': [ 2, 3, 6 ] } -/// ] -/// -/// Command and output: -/// > r.table('users').withFields('id', 'user', 'posts').run(conn, callback) -/// // Result passed to callback -/// [ -/// { 'id': 1, 'user': 'bob', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 3, 'user': 'jane', 'posts': [ 2, 3, 6 ] } -/// ] -/// - public WithFields (object arg) : this(new Arguments(arg), null) { - } -/// -/// Plucks one or more attributes from a sequence of objects, filtering out any objects in the sequence that do not have the specified fields. Functionally, this is identical to hasFields followed by pluck on a sequence. -/// -/// Example: Get a list of users and their posts, excluding any users who have not made any posts. -/// Existing table structure: -/// [ -/// { 'id': 1, 'user': 'bob', 'email': 'bob@foo.com', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 2, 'user': 'george', 'email': 'george@foo.com' }, -/// { 'id': 3, 'user': 'jane', 'email': 'jane@foo.com', 'posts': [ 2, 3, 6 ] } -/// ] -/// -/// Command and output: -/// > r.table('users').withFields('id', 'user', 'posts').run(conn, callback) -/// // Result passed to callback -/// [ -/// { 'id': 1, 'user': 'bob', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 3, 'user': 'jane', 'posts': [ 2, 3, 6 ] } -/// ] -/// - public WithFields (Arguments args) : this(args, null) { - } -/// -/// Plucks one or more attributes from a sequence of objects, filtering out any objects in the sequence that do not have the specified fields. Functionally, this is identical to hasFields followed by pluck on a sequence. -/// -/// Example: Get a list of users and their posts, excluding any users who have not made any posts. -/// Existing table structure: -/// [ -/// { 'id': 1, 'user': 'bob', 'email': 'bob@foo.com', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 2, 'user': 'george', 'email': 'george@foo.com' }, -/// { 'id': 3, 'user': 'jane', 'email': 'jane@foo.com', 'posts': [ 2, 3, 6 ] } -/// ] -/// -/// Command and output: -/// > r.table('users').withFields('id', 'user', 'posts').run(conn, callback) -/// // Result passed to callback -/// [ -/// { 'id': 1, 'user': 'bob', 'posts': [ 1, 4, 5 ] }, -/// { 'id': 3, 'user': 'jane', 'posts': [ 2, 3, 6 ] } -/// ] -/// - public WithFields (Arguments args, OptArgs optargs) - : base(TermType.WITH_FIELDS, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/WithFields.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/WithFields.cs.meta deleted file mode 100644 index 173827349..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/WithFields.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 27d06a991d01b1247b2beb24e743bb2b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Without.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Without.cs deleted file mode 100644 index 54e61d440..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Without.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Without : ReqlExpr { - - - - -/// -/// The opposite of pluck; takes an object or a sequence of objects, and returns them with -/// the specified paths removed. -/// -/// Example: Since we don't need it for this computation we'll save bandwidth and leave -/// out the list of IronMan's romantic conquests. -/// r.table('marvel').get('IronMan').without('personalVictoriesList').run(conn, callback) -/// - public Without (object arg) : this(new Arguments(arg), null) { - } -/// -/// The opposite of pluck; takes an object or a sequence of objects, and returns them with -/// the specified paths removed. -/// -/// Example: Since we don't need it for this computation we'll save bandwidth and leave -/// out the list of IronMan's romantic conquests. -/// r.table('marvel').get('IronMan').without('personalVictoriesList').run(conn, callback) -/// - public Without (Arguments args) : this(args, null) { - } -/// -/// The opposite of pluck; takes an object or a sequence of objects, and returns them with -/// the specified paths removed. -/// -/// Example: Since we don't need it for this computation we'll save bandwidth and leave -/// out the list of IronMan's romantic conquests. -/// r.table('marvel').get('IronMan').without('personalVictoriesList').run(conn, callback) -/// - public Without (Arguments args, OptArgs optargs) - : base(TermType.WITHOUT, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Without.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Without.cs.meta deleted file mode 100644 index 6704e3fcb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Without.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ee199140220a9f2429eb2b2b6b99c22b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Year.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Year.cs deleted file mode 100644 index c9b431744..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Year.cs +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Year : ReqlExpr { - - - - -/// -/// Return the year of a time object. -/// -/// Example: Retrieve all the users born in 1986. -/// r.table("users").filter(function(user) { -/// return user("birthdate").year().eq(1986) -/// }).run(conn, callback) -/// - public Year (object arg) : this(new Arguments(arg), null) { - } -/// -/// Return the year of a time object. -/// -/// Example: Retrieve all the users born in 1986. -/// r.table("users").filter(function(user) { -/// return user("birthdate").year().eq(1986) -/// }).run(conn, callback) -/// - public Year (Arguments args) : this(args, null) { - } -/// -/// Return the year of a time object. -/// -/// Example: Retrieve all the users born in 1986. -/// r.table("users").filter(function(user) { -/// return user("birthdate").year().eq(1986) -/// }).run(conn, callback) -/// - public Year (Arguments args, OptArgs optargs) - : base(TermType.YEAR, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Year.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Year.cs.meta deleted file mode 100644 index 4459798c5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Year.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fe31f3f4d2e2b9c4b8abcf91d146618e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Zip.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Zip.cs deleted file mode 100644 index 48e86088d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Zip.cs +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using System.Collections; -using System.Collections.Generic; - - -namespace RethinkDb.Driver.Ast { - - public partial class Zip : ReqlExpr { - - - - -/// -/// Used to 'zip' up the result of a join by merging the 'right' fields into 'left' fields of each member of the sequence. -/// -/// Example: 'zips up' the sequence by merging the left and right fields produced by a join. -/// r.table('marvel').eqJoin('main_dc_collaborator', r.table('dc')) -/// .zip().run(conn, callback) -/// - public Zip (object arg) : this(new Arguments(arg), null) { - } -/// -/// Used to 'zip' up the result of a join by merging the 'right' fields into 'left' fields of each member of the sequence. -/// -/// Example: 'zips up' the sequence by merging the left and right fields produced by a join. -/// r.table('marvel').eqJoin('main_dc_collaborator', r.table('dc')) -/// .zip().run(conn, callback) -/// - public Zip (Arguments args) : this(args, null) { - } -/// -/// Used to 'zip' up the result of a join by merging the 'right' fields into 'left' fields of each member of the sequence. -/// -/// Example: 'zips up' the sequence by merging the left and right fields produced by a join. -/// r.table('marvel').eqJoin('main_dc_collaborator', r.table('dc')) -/// .zip().run(conn, callback) -/// - public Zip (Arguments args, OptArgs optargs) - : base(TermType.ZIP, args, optargs) { - } - - - - - - - - - - - - - /// - /// Get a single field from an object. If called on a sequence, gets that field from every object in the sequence, skipping objects that lack it. - /// - /// - public new Bracket this[string bracket] => base[bracket]; - - /// - /// Get the nth element of a sequence, counting from zero. If the argument is negative, count from the last element. - /// - /// - /// - public new Bracket this[int bracket] => base[bracket]; - - - - - - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Zip.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Zip.cs.meta deleted file mode 100644 index 2834acf04..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Ast/Zip.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 009287b2e71edcc47bc7a4a3c349dd53 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model.meta deleted file mode 100644 index 7d23143c8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5f68541073a1be34cbbbb6e415e7a8d6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/AuthType.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/AuthType.cs deleted file mode 100644 index 8e4064b15..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/AuthType.cs +++ /dev/null @@ -1,21 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class AuthType { - public const string Basic = "basic"; - public const string Digest = "digest"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/AuthType.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/AuthType.cs.meta deleted file mode 100644 index 436ae5d2a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/AuthType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1cb2cfb8d6716cb4bb9490aa7074b096 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Bound.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Bound.cs deleted file mode 100644 index 2de8b9903..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Bound.cs +++ /dev/null @@ -1,21 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class Bound { - public const string Open = "open"; - public const string Closed = "closed"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Bound.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Bound.cs.meta deleted file mode 100644 index fde3b8d84..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Bound.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6c02a319eb8355741b589b1220aeda7f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Conflict.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Conflict.cs deleted file mode 100644 index 052b37ee3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Conflict.cs +++ /dev/null @@ -1,22 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class Conflict { - public const string Error = "error"; - public const string Replace = "replace"; - public const string Update = "update"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Conflict.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Conflict.cs.meta deleted file mode 100644 index d664b3848..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Conflict.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d7e93e001feed81469486cd008e40a40 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Durability.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Durability.cs deleted file mode 100644 index 9bf6fc35a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Durability.cs +++ /dev/null @@ -1,21 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class Durability { - public const string Hard = "hard"; - public const string Soft = "soft"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Durability.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Durability.cs.meta deleted file mode 100644 index 76928b3d6..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Durability.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b95b7a9a50becf843be3c787e3852311 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/EmergencyRepair.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/EmergencyRepair.cs deleted file mode 100644 index 671d875f4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/EmergencyRepair.cs +++ /dev/null @@ -1,21 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class EmergencyRepair { - public const string UnsafeRollback = "unsafe_rollback"; - public const string UnsafeRollbackOrErase = "unsafe_rollback_or_erase"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/EmergencyRepair.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/EmergencyRepair.cs.meta deleted file mode 100644 index 0dcc5c5de..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/EmergencyRepair.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 30dc86498f9a80c44bdf4ca055f27812 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Format.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Format.cs deleted file mode 100644 index ff59be179..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Format.cs +++ /dev/null @@ -1,21 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class Format { - public const string Raw = "raw"; - public const string Native = "native"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Format.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Format.cs.meta deleted file mode 100644 index c2c44501d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Format.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf7213c306c4fb8468b34cc4e193f692 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/GeoSystem.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/GeoSystem.cs deleted file mode 100644 index cf75e4651..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/GeoSystem.cs +++ /dev/null @@ -1,21 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class GeoSystem { - public const string WGS84 = "WGS84"; - public const string UnitSphere = "unit_sphere"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/GeoSystem.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/GeoSystem.cs.meta deleted file mode 100644 index 8528ecc98..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/GeoSystem.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c0c94b4e55a90e04a889175b20c0425b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/HttpMethod.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/HttpMethod.cs deleted file mode 100644 index a9759a51b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/HttpMethod.cs +++ /dev/null @@ -1,25 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class HttpMethod { - public const string GET = "GET"; - public const string POST = "POST"; - public const string PUT = "PUT"; - public const string PATCH = "PATCH"; - public const string DELETE = "DELETE"; - public const string HEAD = "HEAD"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/HttpMethod.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/HttpMethod.cs.meta deleted file mode 100644 index 8947a0039..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/HttpMethod.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 359efe1c840fefa4c9eafdaa52424cd0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/IdentifierFormat.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/IdentifierFormat.cs deleted file mode 100644 index a1ed05672..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/IdentifierFormat.cs +++ /dev/null @@ -1,21 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class IdentifierFormat { - public const string Name = "name"; - public const string Uuid = "uuid"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/IdentifierFormat.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/IdentifierFormat.cs.meta deleted file mode 100644 index 02179e8e6..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/IdentifierFormat.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 69cd42f4fe261fe4b904dfd3b6dde1ed -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReadMode.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReadMode.cs deleted file mode 100644 index a4ee623c2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReadMode.cs +++ /dev/null @@ -1,22 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class ReadMode { - public const string Single = "single"; - public const string Majority = "majority"; - public const string Outdated = "outdated"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReadMode.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReadMode.cs.meta deleted file mode 100644 index 37893b7db..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReadMode.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 44a43bc52fc74d84e9e67591023cdb01 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction0.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction0.cs deleted file mode 100644 index 87fe6458b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction0.cs +++ /dev/null @@ -1,19 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Ast { - public delegate object ReqlFunction0 ( ); - //marker interface for marking some terms (like javascript) as lambdas. - //public interface IReqlFunction0Expr : ReqlLambda { } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction0.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction0.cs.meta deleted file mode 100644 index 1f54d7659..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction0.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 176f39b7bbd2aa04993fec0045d51cd8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction1.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction1.cs deleted file mode 100644 index 72276445f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction1.cs +++ /dev/null @@ -1,19 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Ast { - public delegate object ReqlFunction1 ( ReqlExpr arg1 ); - //marker interface for marking some terms (like javascript) as lambdas. - //public interface IReqlFunction1Expr : ReqlLambda { } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction1.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction1.cs.meta deleted file mode 100644 index b97df02e4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction1.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0ba964f19ce6fd045b3f315b2a98d2fa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction2.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction2.cs deleted file mode 100644 index d40566f14..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction2.cs +++ /dev/null @@ -1,19 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Ast { - public delegate object ReqlFunction2 ( ReqlExpr arg1, ReqlExpr arg2 ); - //marker interface for marking some terms (like javascript) as lambdas. - //public interface IReqlFunction2Expr : ReqlLambda { } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction2.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction2.cs.meta deleted file mode 100644 index da6558d9d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction2.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f4433a235e4733349a80111792b58c5b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction3.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction3.cs deleted file mode 100644 index afc2c67cf..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction3.cs +++ /dev/null @@ -1,19 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Ast { - public delegate object ReqlFunction3 ( ReqlExpr arg1, ReqlExpr arg2, ReqlExpr arg3 ); - //marker interface for marking some terms (like javascript) as lambdas. - //public interface IReqlFunction3Expr : ReqlLambda { } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction3.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction3.cs.meta deleted file mode 100644 index 087eef171..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction3.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7903ba429aa941a419ce8bf930b2d550 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction4.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction4.cs deleted file mode 100644 index 24e4f5650..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction4.cs +++ /dev/null @@ -1,19 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Ast { - public delegate object ReqlFunction4 ( ReqlExpr arg1, ReqlExpr arg2, ReqlExpr arg3, ReqlExpr arg4 ); - //marker interface for marking some terms (like javascript) as lambdas. - //public interface IReqlFunction4Expr : ReqlLambda { } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction4.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction4.cs.meta deleted file mode 100644 index eb809d308..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ReqlFunction4.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a5c51d137f2a7594aa4906b503e68380 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ResultFormat.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ResultFormat.cs deleted file mode 100644 index 92061138f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ResultFormat.cs +++ /dev/null @@ -1,24 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class ResultFormat { - public const string Text = "text"; - public const string Json = "json"; - public const string Jsonp = "jsonp"; - public const string Binary = "binary"; - public const string Auto = "auto"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ResultFormat.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ResultFormat.cs.meta deleted file mode 100644 index 620ae2a07..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/ResultFormat.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a02838e2422f28547ba8f46b0cdfd614 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Status.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Status.cs deleted file mode 100644 index 5471e462b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Status.cs +++ /dev/null @@ -1,23 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class Status { - public const string ReadyForOutdatedReads = "ready_for_outdated_reads"; - public const string ReadyForReads = "ready_for_reads"; - public const string ReadyForWrites = "ready_for_writes"; - public const string AllReplicasReady = "all_replicas_ready"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Status.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Status.cs.meta deleted file mode 100644 index cd7449a40..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Status.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f389494f6ac95df4385e50b028d9b989 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/TopLevel.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/TopLevel.cs deleted file mode 100644 index 6cf2db190..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/TopLevel.cs +++ /dev/null @@ -1,5804 +0,0 @@ - - - - - - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member -// ReSharper disable CheckNamespace - -using System; -using System.Linq; -using System.Collections; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Ast { - public partial class TopLevel { - - public ReqlExpr Expr(Object value){ - return Util.ToReqlExpr(value); - - } - internal ReqlExpr expr(Object value){ - return Expr(value); - } - - - public ReqlExpr Row(params object[] values) { - throw new ReqlDriverError("r.row is not implemented in the C# driver. Use lambda syntax instead."); - } - internal ReqlExpr row(params object[] values) { - return Row(values); - } - - public MapObject HashMap(object key, object val) { - return new MapObject().With(key, val); - } - internal MapObject hashMap(object key, object val) { - return new MapObject().With(key, val); - } - - public MapObject HashMap() - { - return new MapObject(); - } - internal MapObject hashMap() - { - return HashMap(); - } - - - public IList Array(params object[] values){ - return values.ToList(); - } - internal IList array(params object[] values){ - return Array(values); - } - - public Javascript Js ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Javascript (arguments); - } - internal Javascript js ( Object expr ) - { - return Js ( expr ); - } -/// -/// Return a UUID (universally unique identifier), a string that can be used as a unique ID. If a string is passed to uuid as an argument, the UUID will be deterministic, derived from the string's SHA-1 hash. -/// -/// Example: Generate a UUID. -/// > r.uuid().run(conn, callback) -/// // result returned to callback -/// "27961a0e-f4e8-4eb3-bf95-c5203e1d87b9" -/// - public Uuid Uuid ( ) - { - Arguments arguments = new Arguments(); - return new Uuid (arguments); - } - internal Uuid uuid ( ) - { - return Uuid ( ); - } -/// -/// Return a UUID (universally unique identifier), a string that can be used as a unique ID. If a string is passed to uuid as an argument, the UUID will be deterministic, derived from the string's SHA-1 hash. -/// -/// Example: Generate a UUID. -/// > r.uuid().run(conn, callback) -/// // result returned to callback -/// "27961a0e-f4e8-4eb3-bf95-c5203e1d87b9" -/// - public Uuid Uuid ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Uuid (arguments); - } - internal Uuid uuid ( Object expr ) - { - return Uuid ( expr ); - } -/// -/// Retrieve data from the specified URL over HTTP. The return type depends on the resultFormat option, which checks the Content-Type of the response by default. -/// -/// Example: Perform an HTTP GET and store the result in a table. -/// r.table('posts').insert(r.http('http://httpbin.org/get')).run(conn, callback) -/// - public Http Http ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Http (arguments); - } - internal Http http ( Object expr ) - { - return Http ( expr ); - } -/// -/// Throw a runtime error. If called with no arguments inside the second argument to default, re-throw the current error. -/// -/// Example: Iron Man can't possibly have lost a battle: -/// r.table('marvel').get('IronMan').do(function(ironman) { -/// return r.branch(ironman('victories').lt(ironman('battles')), -/// r.error('impossible code path'), -/// ironman) -/// }).run(conn, callback) -/// - public Error Error ( ) - { - Arguments arguments = new Arguments(); - return new Error (arguments); - } - internal Error error ( ) - { - return Error ( ); - } -/// -/// Throw a runtime error. If called with no arguments inside the second argument to default, re-throw the current error. -/// -/// Example: Iron Man can't possibly have lost a battle: -/// r.table('marvel').get('IronMan').do(function(ironman) { -/// return r.branch(ironman('victories').lt(ironman('battles')), -/// r.error('impossible code path'), -/// ironman) -/// }).run(conn, callback) -/// - public Error Error ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Error (arguments); - } - internal Error error ( Object expr ) - { - return Error ( expr ); - } -/// -/// Reference a database. -/// -/// Example: Explicitly specify a database for a query. -/// r.db('heroes').table('marvel').run(conn, callback) -/// - public Db Db ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Db (arguments); - } - internal Db db ( Object expr ) - { - return Db ( expr ); - } -/// -/// Return all documents in a table. Other commands may be chained after table to return a subset of documents (such as get and filter) or perform further processing. -/// -/// Example: Return all documents in the table 'marvel' of the default database. -/// r.table('marvel').run(conn, callback) -/// - public Table Table ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Table (arguments); - } - internal Table table ( Object expr ) - { - return Table ( expr ); - } -/// -/// Test if two or more values are equal. -/// -/// Example: See if a user's role field is set to administrator. -/// r.table('users').get(1)('role').eq('administrator').run(conn, callback); -/// - public Eq Eq ( Object expr, Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Eq (arguments); - } - internal Eq eq ( Object expr, Object exprA, params object[] exprs ) - { - return Eq ( expr, exprA, exprs ); - } -/// -/// Test if two or more values are not equal. -/// -/// Example: See if a user's role field is not set to administrator. -/// r.table('users').get(1)('role').ne('administrator').run(conn, callback); -/// - public Ne Ne ( Object expr, Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Ne (arguments); - } - internal Ne ne ( Object expr, Object exprA, params object[] exprs ) - { - return Ne ( expr, exprA, exprs ); - } -/// -/// Compare values, testing if the left-hand value is less than the right-hand. -/// -/// Example: Test if a player has scored less than 10 points. -/// r.table('players').get(1)('score').lt(10).run(conn, callback); -/// - public Lt Lt ( Object expr, Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Lt (arguments); - } - internal Lt lt ( Object expr, Object exprA, params object[] exprs ) - { - return Lt ( expr, exprA, exprs ); - } -/// -/// Compare values, testing if the left-hand value is less than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or less. -/// r.table('players').get(1)('score').le(10).run(conn, callback); -/// - public Le Le ( Object expr, Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Le (arguments); - } - internal Le le ( Object expr, Object exprA, params object[] exprs ) - { - return Le ( expr, exprA, exprs ); - } -/// -/// Compare values, testing if the left-hand value is greater than the right-hand. -/// -/// Example: Test if a player has scored more than 10 points. -/// r.table('players').get(1)('score').gt(10).run(conn, callback); -/// - public Gt Gt ( Object expr, Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Gt (arguments); - } - internal Gt gt ( Object expr, Object exprA, params object[] exprs ) - { - return Gt ( expr, exprA, exprs ); - } -/// -/// Compare values, testing if the left-hand value is greater than or equal to the right-hand. -/// -/// Example: Test if a player has scored 10 points or more. -/// r.table('players').get(1)('score').ge(10).run(conn, callback); -/// - public Ge Ge ( Object expr, Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Ge (arguments); - } - internal Ge ge ( Object expr, Object exprA, params object[] exprs ) - { - return Ge ( expr, exprA, exprs ); - } -/// -/// Compute the logical inverse (not) of an expression. -/// -/// Example: Not true is false. -/// r(true).not().run(conn, callback) -/// r.not(true).run(conn, callback) -/// -/// These evaluate to false. - public Not Not ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Not (arguments); - } - internal Not not ( Object expr ) - { - return Not ( expr ); - } -/// -/// Sum two or more numbers, or concatenate two or more strings or arrays. -/// -/// Example: It's as easy as 2 + 2 = 4. -/// > r.expr(2).add(2).run(conn, callback) -/// // result passed to callback -/// 4 -/// - public Add Add ( Object expr, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAddAll(exprs); - return new Add (arguments); - } - internal Add add ( Object expr, params object[] exprs ) - { - return Add ( expr, exprs ); - } -/// -/// Subtract two numbers. -/// -/// Example: It's as easy as 2 - 2 = 0. -/// r.expr(2).sub(2).run(conn, callback) -/// - public Sub Sub ( Object expr, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAddAll(exprs); - return new Sub (arguments); - } - internal Sub sub ( Object expr, params object[] exprs ) - { - return Sub ( expr, exprs ); - } -/// -/// Multiply two numbers, or make a periodic array. -/// -/// Example: It's as easy as 2 * 2 = 4. -/// r.expr(2).mul(2).run(conn, callback) -/// - public Mul Mul ( Object expr, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAddAll(exprs); - return new Mul (arguments); - } - internal Mul mul ( Object expr, params object[] exprs ) - { - return Mul ( expr, exprs ); - } -/// -/// Divide two numbers. -/// -/// Example: It's as easy as 2 / 2 = 1. -/// r.expr(2).div(2).run(conn, callback) -/// - public Div Div ( Object expr, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAddAll(exprs); - return new Div (arguments); - } - internal Div div ( Object expr, params object[] exprs ) - { - return Div ( expr, exprs ); - } -/// -/// -/// -/// Example: It's as easy as 2 % 2 = 0. -/// r.expr(2).mod(2).run(conn, callback) -/// - public Mod Mod ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Mod (arguments); - } - internal Mod mod ( Object expr, Object exprA ) - { - return Mod ( expr, exprA ); - } -/// -/// Rounds the given value down, returning the largest integer value less than or equal to the given value (the value's floor). -/// -/// Example: Return the floor of 12.345. -/// r.floor(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The floor command can also be chained after an expression. - public Floor Floor ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Floor (arguments); - } - internal Floor floor ( Object expr ) - { - return Floor ( expr ); - } -/// -/// Rounds the given value up, returning the smallest integer value greater than or equal to the given value (the value's ceiling). -/// -/// Example: Return the ceiling of 12.345. -/// r.ceil(12.345).run(conn, callback); -/// // Result passed to callback -/// 13.0 -/// -/// The ceil command can also be chained after an expression. - public Ceil Ceil ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Ceil (arguments); - } - internal Ceil ceil ( Object expr ) - { - return Ceil ( expr ); - } -/// -/// Rounds the given value to the nearest whole integer. -/// -/// Example: Round 12.345 to the nearest integer. -/// r.round(12.345).run(conn, callback); -/// // Result passed to callback -/// 12.0 -/// -/// The round command can also be chained after an expression. - public Round Round ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Round (arguments); - } - internal Round round ( Object expr ) - { - return Round ( expr ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Contains (arguments); - } - internal Contains contains ( Object expr ) - { - return Contains ( expr ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js ) - { - return Contains ( expr, js ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Javascript jsA ) - { - return Contains ( expr, js, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Javascript jsA, Javascript jsB ) - { - return Contains ( expr, js, jsA, jsB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(jsC); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - return Contains ( expr, js, jsA, jsB, jsC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - return Contains ( expr, js, jsA, jsB, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Javascript jsA, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Javascript jsA, Object exprA ) - { - return Contains ( expr, js, jsA, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - return Contains ( expr, js, jsA, exprA, jsB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - return Contains ( expr, js, jsA, exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Object exprA ) - { - return Contains ( expr, js, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Object exprA, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Object exprA, Javascript jsA ) - { - return Contains ( expr, js, exprA, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - return Contains ( expr, js, exprA, jsA, jsB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - return Contains ( expr, js, exprA, jsA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Object exprA, Object exprB ) - { - return Contains ( expr, js, exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - return Contains ( expr, js, exprA, exprB, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Javascript js, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Javascript js, Object exprA, Object exprB, Object exprC ) - { - return Contains ( expr, js, exprA, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA ) - { - return Contains ( expr, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Javascript js ) - { - return Contains ( expr, exprA, js ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Javascript js, Javascript jsA ) - { - return Contains ( expr, exprA, js, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - return Contains ( expr, exprA, js, jsA, jsB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - return Contains ( expr, exprA, js, jsA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Javascript js, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Javascript js, Object exprB ) - { - return Contains ( expr, exprA, js, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - return Contains ( expr, exprA, js, exprB, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Javascript js, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Javascript js, Object exprB, Object exprC ) - { - return Contains ( expr, exprA, js, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB ) - { - return Contains ( expr, exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, Javascript js ) - { - return Contains ( expr, exprA, exprB, js ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - return Contains ( expr, exprA, exprB, js, jsA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, Javascript js, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, Javascript js, Object exprC ) - { - return Contains ( expr, exprA, exprB, js, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, Object exprC ) - { - return Contains ( expr, exprA, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, Object exprC, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(js); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, Object exprC, Javascript js ) - { - return Contains ( expr, exprA, exprB, exprC, js ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, Object exprC, Object exprD ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(exprD); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, Object exprC, Object exprD ) - { - return Contains ( expr, exprA, exprB, exprC, exprD ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(func1); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - return Contains ( expr, exprA, exprB, exprC, func1 ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1 ) - { - return Contains ( expr, exprA, exprB, func1 ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - return Contains ( expr, exprA, exprB, func1, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Contains ( expr, exprA, exprB, func1, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, ReqlFunction1 func1 ) - { - return Contains ( expr, exprA, func1 ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB ) - { - return Contains ( expr, exprA, func1, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - return Contains ( expr, exprA, func1, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - return Contains ( expr, exprA, func1, exprB, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Contains ( expr, exprA, func1, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - return Contains ( expr, exprA, func1, func1A, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Contains (arguments); - } - internal Contains contains ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Contains ( expr, exprA, func1, func1A, func1B ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1 ) - { - return Contains ( expr, func1 ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, Object exprA ) - { - return Contains ( expr, func1, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB ) - { - return Contains ( expr, func1, exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - return Contains ( expr, func1, exprA, exprB, exprC ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - return Contains ( expr, func1, exprA, exprB, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - return Contains ( expr, func1, exprA, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - return Contains ( expr, func1, exprA, func1A, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Contains ( expr, func1, exprA, func1A, func1B ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Contains ( expr, func1, func1A ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - return Contains ( expr, func1, func1A, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - return Contains ( expr, func1, func1A, exprA, exprB ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1B); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - return Contains ( expr, func1, func1A, exprA, func1B ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Contains ( expr, func1, func1A, func1B ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(exprA); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - return Contains ( expr, func1, func1A, func1B, exprA ); - } -/// -/// When called with values, returns true if a sequence contains all the -/// specified values. When called with predicate functions, returns true -/// if for each predicate there exists at least one element of the stream -/// where that predicate returns true. -/// -/// Example: Has Iron Man ever fought Superman? -/// r.table('marvel').get('ironman')('opponents').contains('superman').run(conn, callback) -/// - public Contains Contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(func1C); - return new Contains (arguments); - } - internal Contains contains ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - return Contains ( expr, func1, func1A, func1B, func1C ); - } -/// -/// Creates an object from a list of key-value pairs, where the keys must -/// be strings. r.object(A, B, C, D) is equivalent to -/// r.expr([[A, B], [C, D]]).coerce_to('OBJECT'). -/// -/// Example: Create a simple object. -/// r.object('id', 5, 'data', ['foo', 'bar']).run(conn, callback) -/// -/// Result: -/// {data: ["foo", "bar"], id: 5} -/// - public ReqlObject Object_ ( params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAddAll(exprs); - return new ReqlObject (arguments); - } - internal ReqlObject object_ ( params object[] exprs ) - { - return Object_ ( exprs ); - } -/// -/// Produce a single value from a sequence through repeated application of a reduction function. -/// -/// Example: Return the number of documents in the table posts. -/// r.table("posts").map(function(doc) { -/// return 1; -/// }).reduce(function(left, right) { -/// return left.add(right); -/// }).default(0).run(conn, callback); -/// -/// A shorter way to execute this query is to use count. - public Reduce Reduce ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Reduce (arguments); - } - internal Reduce reduce ( Object expr, Javascript js ) - { - return Reduce ( expr, js ); - } -/// -/// Produce a single value from a sequence through repeated application of a reduction function. -/// -/// Example: Return the number of documents in the table posts. -/// r.table("posts").map(function(doc) { -/// return 1; -/// }).reduce(function(left, right) { -/// return left.add(right); -/// }).default(0).run(conn, callback); -/// -/// A shorter way to execute this query is to use count. - public Reduce Reduce ( Object expr, ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func2); - return new Reduce (arguments); - } - internal Reduce reduce ( Object expr, ReqlFunction2 func2 ) - { - return Reduce ( expr, func2 ); - } -/// -/// Apply a function to a sequence in order, maintaining state via an accumulator. The fold command returns either a single value or a new sequence. -/// -/// Example: Concatenate words from a list. -/// r.table('words').orderBy('id').fold('', function (acc, word) { -/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word); -/// }).run(conn, callback); -/// -/// (This example could be implemented with reduce, but fold will preserve the order when words is a RethinkDB table or other stream, which is not guaranteed with reduce.) - public Fold Fold ( Object expr, Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Fold (arguments); - } - internal Fold fold ( Object expr, Object exprA, Javascript js ) - { - return Fold ( expr, exprA, js ); - } -/// -/// Apply a function to a sequence in order, maintaining state via an accumulator. The fold command returns either a single value or a new sequence. -/// -/// Example: Concatenate words from a list. -/// r.table('words').orderBy('id').fold('', function (acc, word) { -/// return acc.add(r.branch(acc.eq(''), '', ', ')).add(word); -/// }).run(conn, callback); -/// -/// (This example could be implemented with reduce, but fold will preserve the order when words is a RethinkDB table or other stream, which is not guaranteed with reduce.) - public Fold Fold ( Object expr, Object exprA, ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func2); - return new Fold (arguments); - } - internal Fold fold ( Object expr, Object exprA, ReqlFunction2 func2 ) - { - return Fold ( expr, exprA, func2 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Map (arguments); - } - internal Map map ( Object expr, Javascript js ) - { - return Map ( expr, js ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object expr, Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Map (arguments); - } - internal Map map ( Object expr, Object exprA, Javascript js ) - { - return Map ( expr, exprA, js ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object expr, Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new Map (arguments); - } - internal Map map ( Object expr, Object exprA, Object exprB, Javascript js ) - { - return Map ( expr, exprA, exprB, js ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object expr, Object exprA, Object exprB, Object exprC, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(js); - return new Map (arguments); - } - internal Map map ( Object expr, Object exprA, Object exprB, Object exprC, Javascript js ) - { - return Map ( expr, exprA, exprB, exprC, js ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object expr, Object exprA, Object exprB, Object exprC, ReqlFunction4 func4 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(func4); - return new Map (arguments); - } - internal Map map ( Object expr, Object exprA, Object exprB, Object exprC, ReqlFunction4 func4 ) - { - return Map ( expr, exprA, exprB, exprC, func4 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object expr, Object exprA, Object exprB, ReqlFunction3 func3 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func3); - return new Map (arguments); - } - internal Map map ( Object expr, Object exprA, Object exprB, ReqlFunction3 func3 ) - { - return Map ( expr, exprA, exprB, func3 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object expr, Object exprA, ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func2); - return new Map (arguments); - } - internal Map map ( Object expr, Object exprA, ReqlFunction2 func2 ) - { - return Map ( expr, exprA, func2 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object expr, ReqlFunction0 func0 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func0); - return new Map (arguments); - } - internal Map map ( Object expr, ReqlFunction0 func0 ) - { - return Map ( expr, func0 ); - } -/// -/// Transform each element of one or more sequences by applying a mapping function to them. If map is run with two or more sequences, it will iterate for as many items as there are in the shortest sequence. -/// -/// Example: Return the first five squares. -/// r.expr([1, 2, 3, 4, 5]).map(function (val) { -/// return val.mul(val); -/// }).run(conn, callback); -/// // Result passed to callback -/// [1, 4, 9, 16, 25] -/// - public Map Map ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new Map (arguments); - } - internal Map map ( Object expr, ReqlFunction1 func1 ) - { - return Map ( expr, func1 ); - } -/// -/// Removes duplicates from elements in a sequence. -/// -/// Example: Which unique villains have been vanquished by Marvel heroes? -/// r.table('marvel').concatMap(function(hero) { -/// return hero('villainList') -/// }).distinct().run(conn, callback) -/// - public Distinct Distinct ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Distinct (arguments); - } - internal Distinct distinct ( Object expr ) - { - return Distinct ( expr ); - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count Count ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Count (arguments); - } - internal Count count ( Object expr ) - { - return Count ( expr ); - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count Count ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Count (arguments); - } - internal Count count ( Object expr, Javascript js ) - { - return Count ( expr, js ); - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count Count ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Count (arguments); - } - internal Count count ( Object expr, Object exprA ) - { - return Count ( expr, exprA ); - } -/// -/// Counts the number of elements in a sequence or key/value pairs in an object, or returns the size of a string or binary object. -/// -/// Example: Count the number of users. -/// r.table('users').count().run(conn, callback); -/// - public Count Count ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new Count (arguments); - } - internal Count count ( Object expr, ReqlFunction1 func1 ) - { - return Count ( expr, func1 ); - } -/// -/// Merge two or more sequences. -/// -/// Example: Construct a stream of all heroes. -/// r.table('marvel').union(r.table('dc')).run(conn, callback); -/// - public Union Union ( Object expr, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAddAll(exprs); - return new Union (arguments); - } - internal Union union ( Object expr, params object[] exprs ) - { - return Union ( expr, exprs ); - } -/// -/// Generate a stream of sequential integers in a specified range. -/// -/// Example: Return a four-element range of [0, 1, 2, 3]. -/// > r.range(4).run(conn, callback) -/// // result returned to callback -/// [0, 1, 2, 3] -/// - public Range Range ( ) - { - Arguments arguments = new Arguments(); - return new Range (arguments); - } - internal Range range ( ) - { - return Range ( ); - } -/// -/// Generate a stream of sequential integers in a specified range. -/// -/// Example: Return a four-element range of [0, 1, 2, 3]. -/// > r.range(4).run(conn, callback) -/// // result returned to callback -/// [0, 1, 2, 3] -/// - public Range Range ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Range (arguments); - } - internal Range range ( Object expr ) - { - return Range ( expr ); - } -/// -/// Generate a stream of sequential integers in a specified range. -/// -/// Example: Return a four-element range of [0, 1, 2, 3]. -/// > r.range(4).run(conn, callback) -/// // result returned to callback -/// [0, 1, 2, 3] -/// - public Range Range ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Range (arguments); - } - internal Range range ( Object expr, Object exprA ) - { - return Range ( expr, exprA ); - } -/// -/// Gets the type of a ReQL query's return value. -/// -/// Example: Get the type of a string. -/// r.expr("foo").typeOf().run(conn, callback); -/// // Result passed to callback -/// "STRING" -/// - public TypeOf TypeOf ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new TypeOf (arguments); - } - internal TypeOf typeOf ( Object expr ) - { - return TypeOf ( expr ); - } -/// -/// Create a database. A RethinkDB database is a collection of tables, similar to -/// relational databases. -/// -/// Example: Create a database named 'superheroes'. -/// > r.dbCreate('superheroes').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "new_val": { -/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07", -/// "name": "superheroes" -/// }, -/// "old_val": null -/// } -/// ], -/// "dbs_created": 1 -/// } -/// - public DbCreate DbCreate ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new DbCreate (arguments); - } - internal DbCreate dbCreate ( Object expr ) - { - return DbCreate ( expr ); - } -/// -/// Drop a database. The database, all its tables, and corresponding data will be deleted. -/// -/// Example: Drop a database named 'superheroes'. -/// > r.dbDrop('superheroes').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "old_val": { -/// "id": "e4689cfc-e903-4532-a0e6-2d6797a43f07", -/// "name": "superheroes" -/// }, -/// "new_val": null -/// } -/// ], -/// "tables_dropped": 3, -/// "dbs_dropped": 1 -/// } -/// - public DbDrop DbDrop ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new DbDrop (arguments); - } - internal DbDrop dbDrop ( Object expr ) - { - return DbDrop ( expr ); - } -/// -/// List all database names in the system. The result is a list of strings. -/// -/// Example: List all databases. -/// r.dbList().run(conn, callback) -/// - public DbList DbList ( ) - { - Arguments arguments = new Arguments(); - return new DbList (arguments); - } - internal DbList dbList ( ) - { - return DbList ( ); - } -/// -/// Create a table. A RethinkDB table is a collection of JSON documents. -/// -/// Example: Create a table named 'dc_universe' with the default settings. -/// > r.db('heroes').tableCreate('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "new_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "old_val": null -/// } -/// ], -/// "tables_created": 1 -/// } -/// - public TableCreate TableCreate ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new TableCreate (arguments); - } - internal TableCreate tableCreate ( Object expr ) - { - return TableCreate ( expr ); - } -/// -/// Drop a table from a database. The table and all its data will be deleted. -/// -/// Example: Drop a table named 'dc_universe'. -/// > r.db('test').tableDrop('dc_universe').run(conn, callback); -/// // Result passed to callback -/// { -/// "config_changes": [ -/// { -/// "old_val": { -/// "db": "test", -/// "durability": "hard", -/// "id": "20ea60d4-3b76-4817-8828-98a236df0297", -/// "name": "dc_universe", -/// "primary_key": "id", -/// "shards": [ -/// { -/// "primary_replica": "rethinkdb_srv1", -/// "replicas": [ -/// "rethinkdb_srv1", -/// "rethinkdb_srv2" -/// ] -/// } -/// ], -/// "write_acks": "majority" -/// }, -/// "new_val": null -/// } -/// ], -/// "tables_dropped": 1 -/// } -/// - public TableDrop TableDrop ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new TableDrop (arguments); - } - internal TableDrop tableDrop ( Object expr ) - { - return TableDrop ( expr ); - } -/// -/// List all table names in a database. The result is a list of strings. -/// -/// Example: List all tables of the 'test' database. -/// r.db('test').tableList().run(conn, callback) -/// - public TableList TableList ( ) - { - Arguments arguments = new Arguments(); - return new TableList (arguments); - } - internal TableList tableList ( ) - { - return TableList ( ); - } -/// -/// Grant or deny access permissions for a user account, globally or on a per-database or per-table basis. -/// -/// Example: Grant the chatapp user account read and write permissions on the users database. -/// r.db('users').grant('chatapp', {read: true, write: true}).run(conn, callback); -/// -/// // Result passed to callback -/// { -/// "granted": 1, -/// "permissions_changes": [ -/// { -/// "new_val": { "read": true, "write": true }, -/// "old_val": { null } -/// } -/// ] -/// - public Grant Grant ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Grant (arguments); - } - internal Grant grant ( Object expr, Object exprA ) - { - return Grant ( expr, exprA ); - } - public Funcall Do_ ( Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(js); - return new Funcall (arguments); - } - internal Funcall do_ ( Javascript js ) - { - return Do_ ( js ); - } - public Funcall Do_ ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Funcall (arguments); - } - internal Funcall do_ ( Object expr, Javascript js ) - { - return Do_ ( expr, js ); - } - public Funcall Do_ ( Object expr, Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Funcall (arguments); - } - internal Funcall do_ ( Object expr, Object exprA, Javascript js ) - { - return Do_ ( expr, exprA, js ); - } - public Funcall Do_ ( Object expr, Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new Funcall (arguments); - } - internal Funcall do_ ( Object expr, Object exprA, Object exprB, Javascript js ) - { - return Do_ ( expr, exprA, exprB, js ); - } - public Funcall Do_ ( Object expr, Object exprA, Object exprB, ReqlFunction3 func3 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func3); - return new Funcall (arguments); - } - internal Funcall do_ ( Object expr, Object exprA, Object exprB, ReqlFunction3 func3 ) - { - return Do_ ( expr, exprA, exprB, func3 ); - } - public Funcall Do_ ( Object expr, Object exprA, ReqlFunction2 func2 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func2); - return new Funcall (arguments); - } - internal Funcall do_ ( Object expr, Object exprA, ReqlFunction2 func2 ) - { - return Do_ ( expr, exprA, func2 ); - } - public Funcall Do_ ( Object expr, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAddAll(exprs); - return new Funcall (arguments); - } - internal Funcall do_ ( Object expr, params object[] exprs ) - { - return Do_ ( expr, exprs ); - } - public Funcall Do_ ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new Funcall (arguments); - } - internal Funcall do_ ( Object expr, ReqlFunction1 func1 ) - { - return Do_ ( expr, func1 ); - } - public Funcall Do_ ( ReqlFunction0 func0 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(func0); - return new Funcall (arguments); - } - internal Funcall do_ ( ReqlFunction0 func0 ) - { - return Do_ ( func0 ); - } -/// -/// Perform a branching conditional equivalent to if-then-else. -/// The branch command takes 2n+1 arguments: pairs of conditional expressions and commands to be executed if the conditionals return any value but false or null (i.e., "truthy" values), with a final "else" command to be evaluated if all of the conditionals are false or null. -/// -/// Example: Test the value of x. -/// var x = 10; -/// r.branch(r.expr(x).gt(5), 'big', 'small').run(conn, callback); -/// // Result passed to callback -/// "big" -/// - public Branch Branch ( Object expr, Object exprA, Object exprB, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAddAll(exprs); - return new Branch (arguments); - } - internal Branch branch ( Object expr, Object exprA, Object exprB, params object[] exprs ) - { - return Branch ( expr, exprA, exprB, exprs ); - } -/// -/// Compute the logical "or" of one or more values. -/// -/// Example: Return whether either a or b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).or(b).run(conn, callback); -/// // result passed to callback -/// true -/// - public Or Or ( params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAddAll(exprs); - return new Or (arguments); - } - internal Or or ( params object[] exprs ) - { - return Or ( exprs ); - } -/// -/// Compute the logical "and" of one or more values. -/// -/// Example: Return whether both a and b evaluate to true. -/// var a = true, b = false; -/// r.expr(a).and(b).run(conn, callback); -/// // result passed to callback -/// false -/// - public And And ( params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAddAll(exprs); - return new And (arguments); - } - internal And and ( params object[] exprs ) - { - return And ( exprs ); - } - public Asc Asc ( Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(js); - return new Asc (arguments); - } - internal Asc asc ( Javascript js ) - { - return Asc ( js ); - } - public Asc Asc ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Asc (arguments); - } - internal Asc asc ( Object expr ) - { - return Asc ( expr ); - } - public Asc Asc ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(func1); - return new Asc (arguments); - } - internal Asc asc ( ReqlFunction1 func1 ) - { - return Asc ( func1 ); - } - public Desc Desc ( Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(js); - return new Desc (arguments); - } - internal Desc desc ( Javascript js ) - { - return Desc ( js ); - } - public Desc Desc ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Desc (arguments); - } - internal Desc desc ( Object expr ) - { - return Desc ( expr ); - } - public Desc Desc ( ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(func1); - return new Desc (arguments); - } - internal Desc desc ( ReqlFunction1 func1 ) - { - return Desc ( func1 ); - } -/// -/// Get information about a ReQL value. -/// -/// Example: Get information about a table such as primary key, or cache size. -/// r.table('marvel').info().run(conn, callback) -/// - public Info Info ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Info (arguments); - } - internal Info info ( Object expr ) - { - return Info ( expr ); - } -/// -/// Parse a JSON string on the server. -/// -/// Example: Send an array to the server. -/// r.json("[1,2,3]").run(conn, callback) -/// - public Json Json ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Json (arguments); - } - internal Json json ( Object expr ) - { - return Json ( expr ); - } -/// -/// Create a time object based on an ISO 8601 date-time string (e.g. '2013-01-01T01:01:01+00:00'). RethinkDB supports all valid ISO 8601 formats except for week dates. Read more about the ISO 8601 format at Wikipedia. -/// -/// Example: Update the time of John's birth. -/// r.table("user").get("John").update({birth: r.ISO8601('1986-11-03T08:30:00-07:00')}).run(conn, callback) -/// - public Iso8601 Iso8601 ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Iso8601 (arguments); - } - internal Iso8601 iso8601 ( Object expr ) - { - return Iso8601 ( expr ); - } -/// -/// Create a time object based on seconds since epoch. The first argument is a double and -/// will be rounded to three decimal places (millisecond-precision). -/// -/// Example: Update the birthdate of the user "John" to November 3rd, 1986. -/// r.table("user").get("John").update({birthdate: r.epochTime(531360000)}).run(conn, callback) -/// - public EpochTime EpochTime ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new EpochTime (arguments); - } - internal EpochTime epochTime ( Object expr ) - { - return EpochTime ( expr ); - } -/// -/// Return a time object representing the current time in UTC. The command now() is computed once when the server receives the query, so multiple instances of r.now() will always return the same time inside a query. -/// -/// Example: Add a new user with the time at which he subscribed. -/// r.table("users").insert({ -/// name: "John", -/// subscription_date: r.now() -/// }).run(conn, callback) -/// - public Now Now ( ) - { - Arguments arguments = new Arguments(); - return new Now (arguments); - } - internal Now now ( ) - { - return Now ( ); - } -/// -/// Create a time object for a specific time. -/// -/// Example: Update the birthdate of the user "John" to November 3rd, 1986 UTC. -/// r.table("user").get("John").update({birthdate: r.time(1986, 11, 3, 'Z')}).run(conn, callback) -/// - public Time Time ( Object expr, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Time (arguments); - } - internal Time time ( Object expr, Object exprA, Object exprB, Object exprC ) - { - return Time ( expr, exprA, exprB, exprC ); - } -/// -/// Create a time object for a specific time. -/// -/// Example: Update the birthdate of the user "John" to November 3rd, 1986 UTC. -/// r.table("user").get("John").update({birthdate: r.time(1986, 11, 3, 'Z')}).run(conn, callback) -/// - public Time Time ( Object expr, Object exprA, Object exprB, Object exprC, Object exprD, Object exprE, Object exprF ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(exprD); - arguments.CoerceAndAdd(exprE); - arguments.CoerceAndAdd(exprF); - return new Time (arguments); - } - internal Time time ( Object expr, Object exprA, Object exprB, Object exprC, Object exprD, Object exprE, Object exprF ) - { - return Time ( expr, exprA, exprB, exprC, exprD, exprE, exprF ); - } - public Monday Monday ( ) - { - Arguments arguments = new Arguments(); - return new Monday (arguments); - } - internal Monday monday ( ) - { - return Monday ( ); - } - public Tuesday Tuesday ( ) - { - Arguments arguments = new Arguments(); - return new Tuesday (arguments); - } - internal Tuesday tuesday ( ) - { - return Tuesday ( ); - } - public Wednesday Wednesday ( ) - { - Arguments arguments = new Arguments(); - return new Wednesday (arguments); - } - internal Wednesday wednesday ( ) - { - return Wednesday ( ); - } - public Thursday Thursday ( ) - { - Arguments arguments = new Arguments(); - return new Thursday (arguments); - } - internal Thursday thursday ( ) - { - return Thursday ( ); - } - public Friday Friday ( ) - { - Arguments arguments = new Arguments(); - return new Friday (arguments); - } - internal Friday friday ( ) - { - return Friday ( ); - } - public Saturday Saturday ( ) - { - Arguments arguments = new Arguments(); - return new Saturday (arguments); - } - internal Saturday saturday ( ) - { - return Saturday ( ); - } - public Sunday Sunday ( ) - { - Arguments arguments = new Arguments(); - return new Sunday (arguments); - } - internal Sunday sunday ( ) - { - return Sunday ( ); - } - public January January ( ) - { - Arguments arguments = new Arguments(); - return new January (arguments); - } - internal January january ( ) - { - return January ( ); - } - public February February ( ) - { - Arguments arguments = new Arguments(); - return new February (arguments); - } - internal February february ( ) - { - return February ( ); - } - public March March ( ) - { - Arguments arguments = new Arguments(); - return new March (arguments); - } - internal March march ( ) - { - return March ( ); - } - public April April ( ) - { - Arguments arguments = new Arguments(); - return new April (arguments); - } - internal April april ( ) - { - return April ( ); - } - public May May ( ) - { - Arguments arguments = new Arguments(); - return new May (arguments); - } - internal May may ( ) - { - return May ( ); - } - public June June ( ) - { - Arguments arguments = new Arguments(); - return new June (arguments); - } - internal June june ( ) - { - return June ( ); - } - public July July ( ) - { - Arguments arguments = new Arguments(); - return new July (arguments); - } - internal July july ( ) - { - return July ( ); - } - public August August ( ) - { - Arguments arguments = new Arguments(); - return new August (arguments); - } - internal August august ( ) - { - return August ( ); - } - public September September ( ) - { - Arguments arguments = new Arguments(); - return new September (arguments); - } - internal September september ( ) - { - return September ( ); - } - public October October ( ) - { - Arguments arguments = new Arguments(); - return new October (arguments); - } - internal October october ( ) - { - return October ( ); - } - public November November ( ) - { - Arguments arguments = new Arguments(); - return new November (arguments); - } - internal November november ( ) - { - return November ( ); - } - public December December ( ) - { - Arguments arguments = new Arguments(); - return new December (arguments); - } - internal December december ( ) - { - return December ( ); - } -/// -/// Replace an object in a field instead of merging it with an existing object in a merge or update operation. Using literal with no arguments in a merge or update operation will remove the corresponding field. -/// -/// Example: Replace one nested document with another rather than merging the fields. -/// r.table('users').get(1).update({ data: r.literal({ age: 19, job: 'Engineer' }) }).run(conn, callback) -/// -/// // Result passed to callback -/// { -/// "id": 1, -/// "name": "Alice", -/// "data": { -/// "age": 19, -/// "job": "Engineer" -/// } -/// } -/// - public Literal Literal ( ) - { - Arguments arguments = new Arguments(); - return new Literal (arguments); - } - internal Literal literal ( ) - { - return Literal ( ); - } -/// -/// Replace an object in a field instead of merging it with an existing object in a merge or update operation. Using literal with no arguments in a merge or update operation will remove the corresponding field. -/// -/// Example: Replace one nested document with another rather than merging the fields. -/// r.table('users').get(1).update({ data: r.literal({ age: 19, job: 'Engineer' }) }).run(conn, callback) -/// -/// // Result passed to callback -/// { -/// "id": 1, -/// "name": "Alice", -/// "data": { -/// "age": 19, -/// "job": "Engineer" -/// } -/// } -/// - public Literal Literal ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Literal (arguments); - } - internal Literal literal ( Object expr ) - { - return Literal ( expr ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Group (arguments); - } - internal Group group ( Object expr ) - { - return Group ( expr ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js ) - { - return Group ( expr, js ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Javascript jsA ) - { - return Group ( expr, js, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Javascript jsA, Javascript jsB ) - { - return Group ( expr, js, jsA, jsB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(jsC); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Javascript jsA, Javascript jsB, Javascript jsC ) - { - return Group ( expr, js, jsA, jsB, jsC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - arguments.CoerceAndAdd(exprA); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Javascript jsA, Javascript jsB, Object exprA ) - { - return Group ( expr, js, jsA, jsB, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Javascript jsA, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Javascript jsA, Object exprA ) - { - return Group ( expr, js, jsA, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsB); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Javascript jsA, Object exprA, Javascript jsB ) - { - return Group ( expr, js, jsA, exprA, jsB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Javascript jsA, Object exprA, Object exprB ) - { - return Group ( expr, js, jsA, exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Object exprA ) - { - return Group ( expr, js, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Object exprA, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Object exprA, Javascript jsA ) - { - return Group ( expr, js, exprA, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Object exprA, Javascript jsA, Javascript jsB ) - { - return Group ( expr, js, exprA, jsA, jsB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Object exprA, Javascript jsA, Object exprB ) - { - return Group ( expr, js, exprA, jsA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Object exprA, Object exprB ) - { - return Group ( expr, js, exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Object exprA, Object exprB, Javascript jsA ) - { - return Group ( expr, js, exprA, exprB, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Javascript js, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments); - } - internal Group group ( Object expr, Javascript js, Object exprA, Object exprB, Object exprC ) - { - return Group ( expr, js, exprA, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA ) - { - return Group ( expr, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Javascript js ) - { - return Group ( expr, exprA, js ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Javascript js, Javascript jsA ) - { - return Group ( expr, exprA, js, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(jsB); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Javascript js, Javascript jsA, Javascript jsB ) - { - return Group ( expr, exprA, js, jsA, jsB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Javascript js, Javascript jsA, Object exprB ) - { - return Group ( expr, exprA, js, jsA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Javascript js, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Javascript js, Object exprB ) - { - return Group ( expr, exprA, js, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(jsA); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Javascript js, Object exprB, Javascript jsA ) - { - return Group ( expr, exprA, js, exprB, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Javascript js, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Javascript js, Object exprB, Object exprC ) - { - return Group ( expr, exprA, js, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB ) - { - return Group ( expr, exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, Javascript js ) - { - return Group ( expr, exprA, exprB, js ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(jsA); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, Javascript js, Javascript jsA ) - { - return Group ( expr, exprA, exprB, js, jsA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, Javascript js, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(js); - arguments.CoerceAndAdd(exprC); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, Javascript js, Object exprC ) - { - return Group ( expr, exprA, exprB, js, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, Object exprC ) - { - return Group ( expr, exprA, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, Object exprC, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(js); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, Object exprC, Javascript js ) - { - return Group ( expr, exprA, exprB, exprC, js ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, Object exprC, Object exprD ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(exprD); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, Object exprC, Object exprD ) - { - return Group ( expr, exprA, exprB, exprC, exprD ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - arguments.CoerceAndAdd(func1); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, Object exprC, ReqlFunction1 func1 ) - { - return Group ( expr, exprA, exprB, exprC, func1 ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1 ) - { - return Group ( expr, exprA, exprB, func1 ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprC); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1, Object exprC ) - { - return Group ( expr, exprA, exprB, func1, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, Object exprB, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Group ( expr, exprA, exprB, func1, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, ReqlFunction1 func1 ) - { - return Group ( expr, exprA, func1 ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB ) - { - return Group ( expr, exprA, func1, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB, Object exprC ) - { - return Group ( expr, exprA, func1, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, ReqlFunction1 func1, Object exprB, ReqlFunction1 func1A ) - { - return Group ( expr, exprA, func1, exprB, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Group ( expr, exprA, func1, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprB ) - { - return Group ( expr, exprA, func1, func1A, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Group (arguments); - } - internal Group group ( Object expr, Object exprA, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Group ( expr, exprA, func1, func1A, func1B ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1 ) - { - return Group ( expr, func1 ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, Object exprA ) - { - return Group ( expr, func1, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB ) - { - return Group ( expr, func1, exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(exprC); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB, Object exprC ) - { - return Group ( expr, func1, exprA, exprB, exprC ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAdd(func1A); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, Object exprA, Object exprB, ReqlFunction1 func1A ) - { - return Group ( expr, func1, exprA, exprB, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A ) - { - return Group ( expr, func1, exprA, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, Object exprB ) - { - return Group ( expr, func1, exprA, func1A, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, Object exprA, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Group ( expr, func1, exprA, func1A, func1B ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A ) - { - return Group ( expr, func1, func1A ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA ) - { - return Group ( expr, func1, func1A, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, Object exprB ) - { - return Group ( expr, func1, func1A, exprA, exprB ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(func1B); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, Object exprA, ReqlFunction1 func1B ) - { - return Group ( expr, func1, func1A, exprA, func1B ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B ) - { - return Group ( expr, func1, func1A, func1B ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(exprA); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, Object exprA ) - { - return Group ( expr, func1, func1A, func1B, exprA ); - } -/// -/// Takes a stream and partitions it into multiple groups based on the -/// fields or functions provided. -/// -/// Example: Group games by player. -/// > r.table('games').group('player').run(conn, callback) -/// -/// // Result passed to callback -/// [ -/// { -/// group: "Alice", -/// reduction: [ -/// {id: 5, player: "Alice", points: 7, type: "free"}, -/// {id: 12, player: "Alice", points: 2, type: "free"} -/// ] -/// }, -/// { -/// group: "Bob", -/// reduction: [ -/// {id: 2, player: "Bob", points: 15, type: "ranked"}, -/// {id: 11, player: "Bob", points: 10, type: "free"} -/// ] -/// } -/// ] -/// - public Group Group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - arguments.CoerceAndAdd(func1A); - arguments.CoerceAndAdd(func1B); - arguments.CoerceAndAdd(func1C); - return new Group (arguments); - } - internal Group group ( Object expr, ReqlFunction1 func1, ReqlFunction1 func1A, ReqlFunction1 func1B, ReqlFunction1 func1C ) - { - return Group ( expr, func1, func1A, func1B, func1C ); - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum Sum ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Sum (arguments); - } - internal Sum sum ( Object expr ) - { - return Sum ( expr ); - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum Sum ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Sum (arguments); - } - internal Sum sum ( Object expr, Javascript js ) - { - return Sum ( expr, js ); - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum Sum ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Sum (arguments); - } - internal Sum sum ( Object expr, Object exprA ) - { - return Sum ( expr, exprA ); - } -/// -/// Sums all the elements of a sequence. If called with a field name, -/// sums all the values of that field in the sequence, skipping elements -/// of the sequence that lack that field. If called with a function, -/// calls that function on every element of the sequence and sums the -/// results, skipping elements of the sequence where that function returns -/// null or a non-existence error. -/// -/// Example: What's 3 + 5 + 7? -/// r.expr([3, 5, 7]).sum().run(conn, callback) -/// - public Sum Sum ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new Sum (arguments); - } - internal Sum sum ( Object expr, ReqlFunction1 func1 ) - { - return Sum ( expr, func1 ); - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg Avg ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Avg (arguments); - } - internal Avg avg ( Object expr ) - { - return Avg ( expr ); - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg Avg ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Avg (arguments); - } - internal Avg avg ( Object expr, Javascript js ) - { - return Avg ( expr, js ); - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg Avg ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Avg (arguments); - } - internal Avg avg ( Object expr, Object exprA ) - { - return Avg ( expr, exprA ); - } -/// -/// Averages all the elements of a sequence. If called with a field name, -/// averages all the values of that field in the sequence, skipping -/// elements of the sequence that lack that field. If called with a -/// function, calls that function on every element of the sequence and -/// averages the results, skipping elements of the sequence where that -/// function returns null or a non-existence error. -/// -/// Example: What's the average of 3, 5, and 7? -/// r.expr([3, 5, 7]).avg().run(conn, callback) -/// - public Avg Avg ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new Avg (arguments); - } - internal Avg avg ( Object expr, ReqlFunction1 func1 ) - { - return Avg ( expr, func1 ); - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min Min ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Min (arguments); - } - internal Min min ( Object expr ) - { - return Min ( expr ); - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min Min ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Min (arguments); - } - internal Min min ( Object expr, Javascript js ) - { - return Min ( expr, js ); - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min Min ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Min (arguments); - } - internal Min min ( Object expr, Object exprA ) - { - return Min ( expr, exprA ); - } -/// -/// Finds the minimum element of a sequence. -/// -/// Example: Return the minimum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).min().run(conn, callback); -/// - public Min Min ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new Min (arguments); - } - internal Min min ( Object expr, ReqlFunction1 func1 ) - { - return Min ( expr, func1 ); - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max Max ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Max (arguments); - } - internal Max max ( Object expr ) - { - return Max ( expr ); - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max Max ( Object expr, Javascript js ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(js); - return new Max (arguments); - } - internal Max max ( Object expr, Javascript js ) - { - return Max ( expr, js ); - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max Max ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Max (arguments); - } - internal Max max ( Object expr, Object exprA ) - { - return Max ( expr, exprA ); - } -/// -/// Finds the maximum element of a sequence. -/// -/// Example: Return the maximum value in the list [3, 5, 7]. -/// r.expr([3, 5, 7]).max().run(conn, callback); -/// - public Max Max ( Object expr, ReqlFunction1 func1 ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(func1); - return new Max (arguments); - } - internal Max max ( Object expr, ReqlFunction1 func1 ) - { - return Max ( expr, func1 ); - } -/// -/// Generate a random number between given (or implied) bounds. random takes zero, one or two arguments. -/// -/// Example: Generate a random number in the range [0,1) -/// r.random().run(conn, callback) -/// - public Random Random ( ) - { - Arguments arguments = new Arguments(); - return new Random (arguments); - } - internal Random random ( ) - { - return Random ( ); - } -/// -/// Generate a random number between given (or implied) bounds. random takes zero, one or two arguments. -/// -/// Example: Generate a random number in the range [0,1) -/// r.random().run(conn, callback) -/// - public Random Random ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Random (arguments); - } - internal Random random ( Object expr ) - { - return Random ( expr ); - } -/// -/// Generate a random number between given (or implied) bounds. random takes zero, one or two arguments. -/// -/// Example: Generate a random number in the range [0,1) -/// r.random().run(conn, callback) -/// - public Random Random ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Random (arguments); - } - internal Random random ( Object expr, Object exprA ) - { - return Random ( expr, exprA ); - } -/// -/// r.args is a special term that's used to splice an array of arguments -/// into another term. This is useful when you want to call a variadic -/// term such as getAll with a set of arguments produced at runtime. -/// -/// Example: Get Alice and Bob from the table people. -/// r.table('people').getAll('Alice', 'Bob').run(conn, callback) -/// // or -/// r.table('people').getAll(r.args(['Alice', 'Bob'])).run(conn, callback) -/// - public Args Args ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Args (arguments); - } - internal Args args ( Object expr ) - { - return Args ( expr ); - } -/// -/// Encapsulate binary data within a query. -/// -/// Example: Save an avatar image to a existing user record. -/// var fs = require('fs'); -/// fs.readFile('./defaultAvatar.png', function (err, avatarImage) { -/// if (err) { -/// // Handle error -/// } -/// else { -/// r.table('users').get(100).update({ -/// avatar: avatarImage -/// }) -/// } -/// }); -/// - public Binary Binary ( Object expr ) - { - var byteArray = expr as byte[]; - if( byteArray != null ){ - return new Binary(byteArray); - } - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Binary (arguments); - } - internal Binary binary ( Object expr ) - { - return Binary ( expr ); - } -/// -/// Convert a GeoJSON object to a ReQL geometry object. -/// -/// Example: Convert a GeoJSON object to a ReQL geometry object. -/// var geoJson = { -/// 'type': 'Point', -/// 'coordinates': [ -122.423246, 37.779388 ] -/// }; -/// r.table('geo').insert({ -/// id: 'sfo', -/// name: 'San Francisco', -/// location: r.geojson(geoJson) -/// }).run(conn, callback); -/// - public Geojson Geojson ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Geojson (arguments); - } - internal Geojson geojson ( Object expr ) - { - return Geojson ( expr ); - } -/// -/// Construct a geometry object of type Point. The point is specified by two floating point numbers, the longitude (-180 to 180) and latitude (-90 to 90) of the point on a perfect sphere. See Geospatial support for more information on ReQL's coordinate system. -/// -/// Example: Define a point. -/// r.table('geo').insert({ -/// id: 1, -/// name: 'San Francisco', -/// location: r.point(-122.423246,37.779388) -/// }).run(conn, callback); -/// - public Point Point ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Point (arguments); - } - internal Point point ( Object expr, Object exprA ) - { - return Point ( expr, exprA ); - } -/// -/// Construct a geometry object of type Line. The line can be specified in one of two ways: -///
    -///
  • Two or more two-item arrays, specifying latitude and longitude numbers of the line's vertices;
  • -///
  • Two or more Point objects specifying the line's vertices.
  • -///
-///
-/// Example: Define a line. -/// r.table('geo').insert({ -/// id: 101, -/// route: r.line([-122.423246,37.779388], [-121.886420,37.329898]) -/// }).run(conn, callback); -/// - public Line Line ( Object expr, Object exprA, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAddAll(exprs); - return new Line (arguments); - } - internal Line line ( Object expr, Object exprA, params object[] exprs ) - { - return Line ( expr, exprA, exprs ); - } -/// -/// Construct a geometry object of type Polygon. The Polygon can be specified in one of two ways: -///
    -///
  • Three or more two-item arrays, specifying latitude and longitude numbers of the polygon's vertices;
  • -///
  • Three or more Point objects specifying the polygon's vertices.
  • -///
-///
-/// Example: Define a polygon. -/// r.table('geo').insert({ -/// id: 101, -/// rectangle: r.polygon( -/// [-122.423246,37.779388], -/// [-122.423246,37.329898], -/// [-121.886420,37.329898], -/// [-121.886420,37.779388] -/// ) -/// }).run(conn, callback); -/// - public Polygon Polygon ( Object expr, Object exprA, Object exprB, params object[] exprs ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - arguments.CoerceAndAddAll(exprs); - return new Polygon (arguments); - } - internal Polygon polygon ( Object expr, Object exprA, Object exprB, params object[] exprs ) - { - return Polygon ( expr, exprA, exprB, exprs ); - } -/// -/// Compute the distance between a point and another geometry object. At least one of the geometry objects specified must be a point. -/// -/// Example: Compute the distance between two points on the Earth in kilometers. -/// var point1 = r.point(-122.423246,37.779388); -/// var point2 = r.point(-117.220406,32.719464); -/// r.distance(point1, point2, {unit: 'km'}).run(conn, callback); -/// // result returned to callback -/// 734.1252496021841 -/// - public Distance Distance ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Distance (arguments); - } - internal Distance distance ( Object expr, Object exprA ) - { - return Distance ( expr, exprA ); - } -/// -/// Tests whether two geometry objects intersect with one another. When applied to a sequence of geometry objects, intersects acts as a filter, returning a sequence of objects from the sequence that intersect with the argument. -/// -/// Example: Is point2 within a 2000-meter circle around point1? -/// var point1 = r.point(-117.220406,32.719464); -/// var point2 = r.point(-117.206201,32.725186); -/// r.circle(point1, 2000).intersects(point2).run(conn, callback); -/// // result returned to callback -/// true -/// - public Intersects Intersects ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Intersects (arguments); - } - internal Intersects intersects ( Object expr, Object exprA ) - { - return Intersects ( expr, exprA ); - } -/// -/// Construct a circular line or polygon. A circle in RethinkDB is a polygon or line approximating a circle of a given radius around a given center, consisting of a specified number of vertices (default 32). -/// -/// Example: Define a circle. -/// r.table('geo').insert({ -/// id: 300, -/// name: 'Hayes Valley', -/// neighborhood: r.circle([-122.423246,37.779388], 1000) -/// }).run(conn, callback); -/// - public Circle Circle ( Object expr ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - return new Circle (arguments); - } - internal Circle circle ( Object expr ) - { - return Circle ( expr ); - } -/// -/// Construct a circular line or polygon. A circle in RethinkDB is a polygon or line approximating a circle of a given radius around a given center, consisting of a specified number of vertices (default 32). -/// -/// Example: Define a circle. -/// r.table('geo').insert({ -/// id: 300, -/// name: 'Hayes Valley', -/// neighborhood: r.circle([-122.423246,37.779388], 1000) -/// }).run(conn, callback); -/// - public Circle Circle ( Object expr, Object exprA ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - return new Circle (arguments); - } - internal Circle circle ( Object expr, Object exprA ) - { - return Circle ( expr, exprA ); - } -/// -/// Construct a circular line or polygon. A circle in RethinkDB is a polygon or line approximating a circle of a given radius around a given center, consisting of a specified number of vertices (default 32). -/// -/// Example: Define a circle. -/// r.table('geo').insert({ -/// id: 300, -/// name: 'Hayes Valley', -/// neighborhood: r.circle([-122.423246,37.779388], 1000) -/// }).run(conn, callback); -/// - public Circle Circle ( Object expr, Object exprA, Object exprB ) - { - Arguments arguments = new Arguments(); - arguments.CoerceAndAdd(expr); - arguments.CoerceAndAdd(exprA); - arguments.CoerceAndAdd(exprB); - return new Circle (arguments); - } - internal Circle circle ( Object expr, Object exprA, Object exprB ) - { - return Circle ( expr, exprA, exprB ); - } - public Minval Minval ( ) - { - Arguments arguments = new Arguments(); - return new Minval (arguments); - } - internal Minval minval ( ) - { - return Minval ( ); - } - public Maxval Maxval ( ) - { - Arguments arguments = new Arguments(); - return new Maxval (arguments); - } - internal Maxval maxval ( ) - { - return Maxval ( ); - } - - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/TopLevel.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/TopLevel.cs.meta deleted file mode 100644 index f95fd3fb0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/TopLevel.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 27d29af5ad292074c975b6ada89223a2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Unit.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Unit.cs deleted file mode 100644 index 1d8a5b17b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Unit.cs +++ /dev/null @@ -1,24 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; - -namespace RethinkDb.Driver.Model { - - public static class Unit { - public const string M = "m"; - public const string Km = "km"; - public const string Mi = "mi"; - public const string Nm = "nm"; - public const string Ft = "ft"; - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Unit.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Unit.cs.meta deleted file mode 100644 index 9556fec0c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Model/Unit.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3724622e92f844f45a631abbca18b0b7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto.meta deleted file mode 100644 index 041f72730..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 90797b80210c04047a0285767162f1a2 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/DatumType.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/DatumType.cs deleted file mode 100644 index 5f3c4ca27..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/DatumType.cs +++ /dev/null @@ -1,23 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -namespace RethinkDb.Driver.Proto { - public enum DatumType { - R_NULL = 1, - R_BOOL = 2, - R_NUM = 3, - R_STR = 4, - R_ARRAY = 5, - R_OBJECT = 6, - R_JSON = 7, - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/DatumType.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/DatumType.cs.meta deleted file mode 100644 index 18c6845d7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/DatumType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bdcf1058ce14b834cae326784d972e3b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ErrorType.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ErrorType.cs deleted file mode 100644 index 3ac72864d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ErrorType.cs +++ /dev/null @@ -1,24 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -namespace RethinkDb.Driver.Proto { - public enum ErrorType { - INTERNAL = 1000000, - RESOURCE_LIMIT = 2000000, - QUERY_LOGIC = 3000000, - NON_EXISTENCE = 3100000, - OP_FAILED = 4100000, - OP_INDETERMINATE = 4200000, - USER = 5000000, - PERMISSION_ERROR = 6000000, - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ErrorType.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ErrorType.cs.meta deleted file mode 100644 index dc78eff14..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ErrorType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 07f4fd0911724e84cb53f7531414dbe4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/FrameType.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/FrameType.cs deleted file mode 100644 index 68510b843..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/FrameType.cs +++ /dev/null @@ -1,18 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -namespace RethinkDb.Driver.Proto { - public enum FrameType { - POS = 1, - OPT = 2, - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/FrameType.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/FrameType.cs.meta deleted file mode 100644 index 742490e34..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/FrameType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7e4448e3d9e402343821d3a11ec1d359 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Protocol.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Protocol.cs deleted file mode 100644 index 18de06562..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Protocol.cs +++ /dev/null @@ -1,18 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -namespace RethinkDb.Driver.Proto { - public enum Protocol { - PROTOBUF = 656407617, - JSON = 2120839367, - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Protocol.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Protocol.cs.meta deleted file mode 100644 index b3f0f5bc5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Protocol.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d65516c37759bb046bfc3f8605224893 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/QueryType.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/QueryType.cs deleted file mode 100644 index 9a7e39604..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/QueryType.cs +++ /dev/null @@ -1,21 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -namespace RethinkDb.Driver.Proto { - public enum QueryType { - START = 1, - CONTINUE = 2, - STOP = 3, - NOREPLY_WAIT = 4, - SERVER_INFO = 5, - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/QueryType.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/QueryType.cs.meta deleted file mode 100644 index cebb6f500..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/QueryType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a5f78a55189753f4098165053294b1ef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseNote.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseNote.cs deleted file mode 100644 index 90ded9fdb..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseNote.cs +++ /dev/null @@ -1,38 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -namespace RethinkDb.Driver.Proto { - public enum ResponseNote { - SEQUENCE_FEED = 1, - ATOM_FEED = 2, - ORDER_BY_LIMIT_FEED = 3, - UNIONED_FEED = 4, - INCLUDES_STATES = 5, - } - - - public static class ExtensionsForResponseNote { - public static bool IsFeed(this ResponseNote note){ - switch( note ){ - case ResponseNote.SEQUENCE_FEED: - return true; - case ResponseNote.ATOM_FEED: - return true; - case ResponseNote.ORDER_BY_LIMIT_FEED: - return true; - case ResponseNote.UNIONED_FEED: - return true; - default: - return false; - } - } - } - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseNote.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseNote.cs.meta deleted file mode 100644 index 89eea1b8a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseNote.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 29bd5d01a62b29048bfa5443a1c54a41 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseType.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseType.cs deleted file mode 100644 index a884a49b9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseType.cs +++ /dev/null @@ -1,39 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -namespace RethinkDb.Driver.Proto { - public enum ResponseType { - SUCCESS_ATOM = 1, - SUCCESS_SEQUENCE = 2, - SUCCESS_PARTIAL = 3, - WAIT_COMPLETE = 4, - SERVER_INFO = 5, - CLIENT_ERROR = 16, - COMPILE_ERROR = 17, - RUNTIME_ERROR = 18, - } - - - public static class ExtensionsForResponseType { - public static bool IsError(this ResponseType rtype){ - switch( rtype ){ - case ResponseType.CLIENT_ERROR: - return true; - case ResponseType.COMPILE_ERROR: - return true; - case ResponseType.RUNTIME_ERROR: - return true; - default: - return false; - } - } - } - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseType.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseType.cs.meta deleted file mode 100644 index e4fe74197..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/ResponseType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4f4b0e56dd6834344aa19789c2ffd21c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/TermType.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/TermType.cs deleted file mode 100644 index ed1aaf8dd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/TermType.cs +++ /dev/null @@ -1,194 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -namespace RethinkDb.Driver.Proto { - public enum TermType { - DATUM = 1, - MAKE_ARRAY = 2, - MAKE_OBJ = 3, - VAR = 10, - JAVASCRIPT = 11, - UUID = 169, - HTTP = 153, - ERROR = 12, - IMPLICIT_VAR = 13, - DB = 14, - TABLE = 15, - GET = 16, - GET_ALL = 78, - EQ = 17, - NE = 18, - LT = 19, - LE = 20, - GT = 21, - GE = 22, - NOT = 23, - ADD = 24, - SUB = 25, - MUL = 26, - DIV = 27, - MOD = 28, - FLOOR = 183, - CEIL = 184, - ROUND = 185, - APPEND = 29, - PREPEND = 80, - DIFFERENCE = 95, - SET_INSERT = 88, - SET_INTERSECTION = 89, - SET_UNION = 90, - SET_DIFFERENCE = 91, - SLICE = 30, - SKIP = 70, - LIMIT = 71, - OFFSETS_OF = 87, - CONTAINS = 93, - GET_FIELD = 31, - KEYS = 94, - VALUES = 186, - OBJECT = 143, - HAS_FIELDS = 32, - WITH_FIELDS = 96, - PLUCK = 33, - WITHOUT = 34, - MERGE = 35, - BETWEEN_DEPRECATED = 36, - BETWEEN = 182, - REDUCE = 37, - MAP = 38, - FOLD = 187, - FILTER = 39, - CONCAT_MAP = 40, - ORDER_BY = 41, - DISTINCT = 42, - COUNT = 43, - IS_EMPTY = 86, - UNION = 44, - NTH = 45, - BRACKET = 170, - INNER_JOIN = 48, - OUTER_JOIN = 49, - EQ_JOIN = 50, - ZIP = 72, - RANGE = 173, - INSERT_AT = 82, - DELETE_AT = 83, - CHANGE_AT = 84, - SPLICE_AT = 85, - COERCE_TO = 51, - TYPE_OF = 52, - UPDATE = 53, - DELETE = 54, - REPLACE = 55, - INSERT = 56, - DB_CREATE = 57, - DB_DROP = 58, - DB_LIST = 59, - TABLE_CREATE = 60, - TABLE_DROP = 61, - TABLE_LIST = 62, - CONFIG = 174, - STATUS = 175, - WAIT = 177, - RECONFIGURE = 176, - REBALANCE = 179, - SYNC = 138, - GRANT = 188, - INDEX_CREATE = 75, - INDEX_DROP = 76, - INDEX_LIST = 77, - INDEX_STATUS = 139, - INDEX_WAIT = 140, - INDEX_RENAME = 156, - FUNCALL = 64, - BRANCH = 65, - OR = 66, - AND = 67, - FOR_EACH = 68, - FUNC = 69, - ASC = 73, - DESC = 74, - INFO = 79, - MATCH = 97, - UPCASE = 141, - DOWNCASE = 142, - SAMPLE = 81, - DEFAULT = 92, - JSON = 98, - TO_JSON_STRING = 172, - ISO8601 = 99, - TO_ISO8601 = 100, - EPOCH_TIME = 101, - TO_EPOCH_TIME = 102, - NOW = 103, - IN_TIMEZONE = 104, - DURING = 105, - DATE = 106, - TIME_OF_DAY = 126, - TIMEZONE = 127, - YEAR = 128, - MONTH = 129, - DAY = 130, - DAY_OF_WEEK = 131, - DAY_OF_YEAR = 132, - HOURS = 133, - MINUTES = 134, - SECONDS = 135, - TIME = 136, - MONDAY = 107, - TUESDAY = 108, - WEDNESDAY = 109, - THURSDAY = 110, - FRIDAY = 111, - SATURDAY = 112, - SUNDAY = 113, - JANUARY = 114, - FEBRUARY = 115, - MARCH = 116, - APRIL = 117, - MAY = 118, - JUNE = 119, - JULY = 120, - AUGUST = 121, - SEPTEMBER = 122, - OCTOBER = 123, - NOVEMBER = 124, - DECEMBER = 125, - LITERAL = 137, - GROUP = 144, - SUM = 145, - AVG = 146, - MIN = 147, - MAX = 148, - SPLIT = 149, - UNGROUP = 150, - RANDOM = 151, - CHANGES = 152, - ARGS = 154, - BINARY = 155, - GEOJSON = 157, - TO_GEOJSON = 158, - POINT = 159, - LINE = 160, - POLYGON = 161, - DISTANCE = 162, - INTERSECTS = 163, - INCLUDES = 164, - CIRCLE = 165, - GET_INTERSECTING = 166, - FILL = 167, - GET_NEAREST = 168, - POLYGON_SUB = 171, - MINVAL = 180, - MAXVAL = 181, - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/TermType.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/TermType.cs.meta deleted file mode 100644 index a55cbfde0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/TermType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 134ea8c5132d03247bf99dc5204a5cdd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Version.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Version.cs deleted file mode 100644 index 2c8872855..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Version.cs +++ /dev/null @@ -1,21 +0,0 @@ - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -namespace RethinkDb.Driver.Proto { - public enum Version { - V0_1 = 1063369270, - V0_2 = 1915781601, - V0_3 = 1601562686, - V0_4 = 1074539808, - V1_0 = 885177795, - } - - - -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Version.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Version.cs.meta deleted file mode 100644 index feffa6cb7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/Proto/Version.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d4e71351150da594e9a554de5f4f045b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAuthError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAuthError.cs deleted file mode 100644 index 60e1019df..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAuthError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlAuthError : ReqlDriverError { - - - public ReqlAuthError () { - } - - public ReqlAuthError (Exception e) : this(e.Message, e) { - } - - public ReqlAuthError (string message) : base(message) - { - } - - public ReqlAuthError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAuthError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAuthError.cs.meta deleted file mode 100644 index bb56d0e5c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAuthError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d16241034941c794c918822f51be1e69 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAvailabilityError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAvailabilityError.cs deleted file mode 100644 index a2e78127c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAvailabilityError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlAvailabilityError : ReqlRuntimeError { - - - public ReqlAvailabilityError () { - } - - public ReqlAvailabilityError (Exception e) : this(e.Message, e) { - } - - public ReqlAvailabilityError (string message) : base(message) - { - } - - public ReqlAvailabilityError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAvailabilityError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAvailabilityError.cs.meta deleted file mode 100644 index e9718ad35..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlAvailabilityError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d16b7e8c7c0d4034f84bc7c899ac4d50 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlClientError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlClientError.cs deleted file mode 100644 index e05ab63d3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlClientError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlClientError : ReqlError { - - - public ReqlClientError () { - } - - public ReqlClientError (Exception e) : this(e.Message, e) { - } - - public ReqlClientError (string message) : base(message) - { - } - - public ReqlClientError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlClientError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlClientError.cs.meta deleted file mode 100644 index 757001bbc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlClientError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6fc9caf75d71f89488691c86df9ecc19 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlCompileError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlCompileError.cs deleted file mode 100644 index 695b51788..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlCompileError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlCompileError : ReqlError { - - - public ReqlCompileError () { - } - - public ReqlCompileError (Exception e) : this(e.Message, e) { - } - - public ReqlCompileError (string message) : base(message) - { - } - - public ReqlCompileError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlCompileError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlCompileError.cs.meta deleted file mode 100644 index b22dc03f3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlCompileError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a0df3e128d5dd4b43a86eead596c7ca3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverCompileError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverCompileError.cs deleted file mode 100644 index 5cb52714b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverCompileError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlDriverCompileError : ReqlCompileError { - - - public ReqlDriverCompileError () { - } - - public ReqlDriverCompileError (Exception e) : this(e.Message, e) { - } - - public ReqlDriverCompileError (string message) : base(message) - { - } - - public ReqlDriverCompileError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverCompileError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverCompileError.cs.meta deleted file mode 100644 index c61cecc2a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverCompileError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf013fb25395af54784ec8383adb0a3f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverError.cs deleted file mode 100644 index 8d4a03fee..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlDriverError : ReqlError { - - - public ReqlDriverError () { - } - - public ReqlDriverError (Exception e) : this(e.Message, e) { - } - - public ReqlDriverError (string message) : base(message) - { - } - - public ReqlDriverError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverError.cs.meta deleted file mode 100644 index 1b80fa816..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlDriverError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2e1b7841f2d2ec44c861df6435065aff -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlError.cs deleted file mode 100644 index aa4aa5c82..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlError.cs +++ /dev/null @@ -1,37 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlError : Exception { - - public Backtrace Backtrace { get; set; } - public ReqlAst Term { get; set; } - - public ReqlError () { - } - - public ReqlError (Exception e) : this(e.Message, e) { - } - - public ReqlError (string message) : base(message) - { - } - - public ReqlError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlError.cs.meta deleted file mode 100644 index 8558f825a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 79abf4c9eda7e024aab7cbb393c1f62d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlInternalError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlInternalError.cs deleted file mode 100644 index ee3f972d3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlInternalError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlInternalError : ReqlRuntimeError { - - - public ReqlInternalError () { - } - - public ReqlInternalError (Exception e) : this(e.Message, e) { - } - - public ReqlInternalError (string message) : base(message) - { - } - - public ReqlInternalError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlInternalError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlInternalError.cs.meta deleted file mode 100644 index 7d7d7e606..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlInternalError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7e2a07f33c02dea4e844736791f9d4a3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlNonExistenceError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlNonExistenceError.cs deleted file mode 100644 index b3ca38d3c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlNonExistenceError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlNonExistenceError : ReqlQueryLogicError { - - - public ReqlNonExistenceError () { - } - - public ReqlNonExistenceError (Exception e) : this(e.Message, e) { - } - - public ReqlNonExistenceError (string message) : base(message) - { - } - - public ReqlNonExistenceError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlNonExistenceError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlNonExistenceError.cs.meta deleted file mode 100644 index 50aa73ece..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlNonExistenceError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2dc9ae2f9bd914b4a889a761b148243c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpFailedError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpFailedError.cs deleted file mode 100644 index 8228586bc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpFailedError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlOpFailedError : ReqlAvailabilityError { - - - public ReqlOpFailedError () { - } - - public ReqlOpFailedError (Exception e) : this(e.Message, e) { - } - - public ReqlOpFailedError (string message) : base(message) - { - } - - public ReqlOpFailedError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpFailedError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpFailedError.cs.meta deleted file mode 100644 index 6909003de..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpFailedError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 59ea100148e58ac4794a9d2b7f170f4a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpIndeterminateError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpIndeterminateError.cs deleted file mode 100644 index 97be77924..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpIndeterminateError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlOpIndeterminateError : ReqlAvailabilityError { - - - public ReqlOpIndeterminateError () { - } - - public ReqlOpIndeterminateError (Exception e) : this(e.Message, e) { - } - - public ReqlOpIndeterminateError (string message) : base(message) - { - } - - public ReqlOpIndeterminateError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpIndeterminateError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpIndeterminateError.cs.meta deleted file mode 100644 index 60c119b59..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlOpIndeterminateError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7fc5d52b23c389a4380abbe008032bdb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlPermissionError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlPermissionError.cs deleted file mode 100644 index 3425e804e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlPermissionError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlPermissionError : ReqlRuntimeError { - - - public ReqlPermissionError () { - } - - public ReqlPermissionError (Exception e) : this(e.Message, e) { - } - - public ReqlPermissionError (string message) : base(message) - { - } - - public ReqlPermissionError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlPermissionError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlPermissionError.cs.meta deleted file mode 100644 index 7b7f591bc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlPermissionError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a9a4fad0ad950b045b2464d3c4527f7e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlQueryLogicError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlQueryLogicError.cs deleted file mode 100644 index c02e4966e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlQueryLogicError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlQueryLogicError : ReqlRuntimeError { - - - public ReqlQueryLogicError () { - } - - public ReqlQueryLogicError (Exception e) : this(e.Message, e) { - } - - public ReqlQueryLogicError (string message) : base(message) - { - } - - public ReqlQueryLogicError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlQueryLogicError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlQueryLogicError.cs.meta deleted file mode 100644 index 0229209f5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlQueryLogicError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 74ee322b34898ba4297dfdc49e7450dc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlResourceLimitError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlResourceLimitError.cs deleted file mode 100644 index c510be03d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlResourceLimitError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlResourceLimitError : ReqlRuntimeError { - - - public ReqlResourceLimitError () { - } - - public ReqlResourceLimitError (Exception e) : this(e.Message, e) { - } - - public ReqlResourceLimitError (string message) : base(message) - { - } - - public ReqlResourceLimitError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlResourceLimitError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlResourceLimitError.cs.meta deleted file mode 100644 index 8fe68867e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlResourceLimitError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9002b5e2ff60f6043bf18987e718412a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlRuntimeError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlRuntimeError.cs deleted file mode 100644 index 827e5324f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlRuntimeError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlRuntimeError : ReqlError { - - - public ReqlRuntimeError () { - } - - public ReqlRuntimeError (Exception e) : this(e.Message, e) { - } - - public ReqlRuntimeError (string message) : base(message) - { - } - - public ReqlRuntimeError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlRuntimeError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlRuntimeError.cs.meta deleted file mode 100644 index b991bf38c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlRuntimeError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 05dc9c473d023ec42b24043e46b41122 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlServerCompileError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlServerCompileError.cs deleted file mode 100644 index eec9f632b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlServerCompileError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlServerCompileError : ReqlCompileError { - - - public ReqlServerCompileError () { - } - - public ReqlServerCompileError (Exception e) : this(e.Message, e) { - } - - public ReqlServerCompileError (string message) : base(message) - { - } - - public ReqlServerCompileError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlServerCompileError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlServerCompileError.cs.meta deleted file mode 100644 index 5d59494d1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlServerCompileError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3b2f6abe31f423a4d99c10847e11b199 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlUserError.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlUserError.cs deleted file mode 100644 index fb6ad88ac..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlUserError.cs +++ /dev/null @@ -1,35 +0,0 @@ - - - - -//AUTOGENERATED, DO NOTMODIFY. -//Do not edit this file directly. - -#pragma warning disable 1591 -// ReSharper disable CheckNamespace - -using System; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver { - public class ReqlUserError : ReqlRuntimeError { - - - public ReqlUserError () { - } - - public ReqlUserError (Exception e) : this(e.Message, e) { - } - - public ReqlUserError (string message) : base(message) - { - } - - public ReqlUserError (string message, Exception innerException) : base(message, innerException) - { - } - - - } -} diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlUserError.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlUserError.cs.meta deleted file mode 100644 index d5a88be45..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Generated/ReqlUserError.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ba09d36b394fa824394f601de18c78d0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Log.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Log.cs deleted file mode 100644 index 10e2bed28..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Log.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System; -using System.Text; - -using Microsoft.Extensions.Logging; - -namespace RethinkDb.Driver -{ - /// - /// Logger class for the driver. - /// - public static class Log - { - /// - /// RethinkDB Logger - /// - public static ILogger Instance = null; - - /// - /// Returns true if trace log level is enabled. - /// - public static bool IsTraceEnabled - { - get - { - return Instance?.IsEnabled(LogLevel.Trace) ?? false; - } - } - - /// - /// Returns true if debug log level is enabled. - /// - public static bool IsDebugEnabled - { - get - { - return Instance?.IsEnabled(LogLevel.Debug) ?? false; - } - } - - - /// - /// Trace message - /// - public static void Trace(string msg) - { - if( IsTraceEnabled ) - { - Instance?.LogDebug(Filter(msg)); - } - } - - /// - /// Debug message - /// - public static void Debug(string msg) - { - - if( IsDebugEnabled ) - { - Instance?.LogDebug(Filter(msg)); - } - } - - /// - /// Enables RehtinkDB Driver Logging - /// - public static void EnableRethinkDbLogging(this ILoggerFactory loggerFactory) - { - Instance = loggerFactory.CreateLogger("RethinkDb.Driver"); - } - - /// - /// Truncates BASE64 responses to make logs easier to read. Default true. - /// - public static bool TruncateBinaryTypes = true; - - internal static string Filter(string msg) - { - const string BinaryStart = @"{""$reql_type$"":""BINARY"",""data"":"""; - const string BinaryEnd = @"""}"; - - if ( TruncateBinaryTypes ) - { - int bookmark = 0; - - StringBuilder sb = null; - while ( bookmark < msg.Length ) - { - var match = msg.IndexOf(BinaryStart, bookmark, StringComparison.Ordinal); - if( match == -1 && sb == null) - { - return msg; - } - if( match != -1 && sb == null ) - { - sb = new StringBuilder(); - } - if( match == -1 && sb != null ) - { - sb.Append(msg.Substring(bookmark)); - return sb.ToString(); - } - var end = msg.IndexOf(BinaryEnd, match, StringComparison.Ordinal); - - - sb.Append(msg.Substring(bookmark, (match + BinaryStart.Length) - bookmark )); - sb.Append("BASE64_STRING_TRUNCATED_BY_LOG"); - sb.Append(msg.Substring(end, BinaryEnd.Length)); - bookmark = end + BinaryEnd.Length; - } - } - - return msg; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Log.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Log.cs.meta deleted file mode 100644 index 514f30d55..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Log.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a59bdb303041d3c4b828fef330c534e2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model.meta deleted file mode 100644 index 369615e87..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3b9259359f1341a4db6b0f48376daf8e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Arguments.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Arguments.cs deleted file mode 100644 index 4183896ca..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Arguments.cs +++ /dev/null @@ -1,77 +0,0 @@ -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member - -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Model -{ - public class Arguments : List - { - public Arguments() - { - } - - public Arguments(object arg) - { - var list = arg as IList; - if( list != null ) - { - this.CoerceAndAddAll(list); - } - else - { - this.CoerceAndAdd(arg); - } - } - - public Arguments(Arguments args) - { - this.AddRange(args); - } - - public Arguments(ReqlAst arg) - { - this.Add(arg); - } - - public Arguments(object[] args) - { - CoerceAndAddAll(args); - } - - public Arguments(IList args) - { - var ast = args.Select(Util.ToReqlAst); - this.AddRange(ast); - } - - public void CoerceAndAdd(object o) - { - this.Add(Util.ToReqlAst(o)); - } - - public void CoerceAndAddAll(object[] args) - { - CoerceAndAddAll(args as ICollection); - } - - public void CoerceAndAddAll(ICollection list) - { - foreach( var item in list ) - { - this.Add(Util.ToReqlAst(item)); - } - } - public void CoerceAndAddAll(ICollection list) - { - CoerceAndAddAll(list as ICollection); - } - - public static Arguments Make(params object[] args) - { - return new Arguments(args); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Arguments.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Arguments.cs.meta deleted file mode 100644 index aed9b2d97..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Arguments.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7a6361c097b401a4a968784484049e65 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Backtrace.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Backtrace.cs deleted file mode 100644 index f2308991f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Backtrace.cs +++ /dev/null @@ -1,25 +0,0 @@ -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member - -using Newtonsoft.Json.Linq; - -namespace RethinkDb.Driver.Model -{ - public class Backtrace - { - public JArray RawBacktrace { get; } - - private Backtrace(JArray rawBacktrace) - { - this.RawBacktrace = rawBacktrace; - } - - public static Backtrace FromJsonArray(JArray rawBacktrace) - { - if( rawBacktrace == null || rawBacktrace.Count == 0 ) - { - return null; - } - return new Backtrace(rawBacktrace); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Backtrace.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Backtrace.cs.meta deleted file mode 100644 index 4edd50afe..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Backtrace.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c0280ab9d22969845826b973b0619be9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Change[T].cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Change[T].cs deleted file mode 100644 index 6bf6070c0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Change[T].cs +++ /dev/null @@ -1,107 +0,0 @@ -using System.Collections.Generic; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; - -namespace RethinkDb.Driver.Model -{ - /// - /// Change feed states - /// - public enum ChangeState - { - /// - /// {state: 'initializing'} indicates the following documents represent - /// initial values on the feed rather than changes. This will be the first - /// document of a feed that returns initial values. - /// - Initializing = 1, - - /// - /// {state: 'ready'} indicates the following documents represent changes. - /// This will be the first document of a feed that does not return initial - /// values; otherwise, it will indicate the initial values have all been sent. - /// - Ready - } - - /// - /// If the change feed query contains the include_types opt arg, every result on a changefeed - /// will include a type field with a string that indicates the kind of change the result - /// represents: add, remove, change, initial, uninitial, state. - /// - public enum ChangeType - { - /// - /// Document was added. - /// - Add, - /// - /// Document was removed - /// - Remove, - /// - /// Document was changed. - /// - Change, - /// - /// Initial document. - /// - Initial, - /// - /// If an initial result for a document has been sent and a change is made to that - /// document that would move it to the unsent part of the result set - /// (e.g., a changefeed monitors the top 100 posters, the first 50 have been sent, - /// and poster 48 has become poster 52), an 'uninitial' notification will be sent, - /// with an old_val field but no new_val field. - /// - Uninitial, - /// - /// A state document. - /// - State - } - - /// - /// Change Document Helper - /// - /// - public class Change - { - /// - /// When a document is deleted, new_val will be null; when a document is inserted, old_val will be null. - /// - [JsonProperty("old_val")] - public T OldValue { get; set; } - - /// - /// When a document is deleted, new_val will be null; when a document is inserted, old_val will be null. - /// - [JsonProperty("new_val")] - public T NewValue { get; set; } - - /// - /// If include_states = true optional argument was specified, the changefeed stream - /// will include special status documents consisting of the state - /// indicating a change in the feed’s state. These states can occur at any point - /// in the feed between the notifications. If includeStates = false (the default), - /// the state status will not be set. See . - /// - [JsonConverter(typeof(StringEnumConverter))] - public ChangeState? State { get; set; } - - /// - /// If an include_types opt arg is set, every result on a changefeed will include a type - /// field with a string that indicates the kind of change the result represents: - /// add, remove, change, initial, uninitial, state. - /// - [JsonConverter(typeof(StringEnumConverter))] - public ChangeType? Type { get; set; } - - /// - /// Extra metadata that couldn't be parsed, if any. - /// - [JsonExtensionData] - public IDictionary ExtraData { get; set; } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Change[T].cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Change[T].cs.meta deleted file mode 100644 index 1b50d40e5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Change[T].cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7dfde85157ad7174faf905003053c842 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ExtensionsForResult.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ExtensionsForResult.cs deleted file mode 100644 index 229370bba..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ExtensionsForResult.cs +++ /dev/null @@ -1,153 +0,0 @@ -namespace RethinkDb.Driver.Model -{ - /// - /// Extension method Result helpers. - /// - public static class ExtensionsForResult - { - /// - /// Ensures no errors occurs during the processing of the result. - /// - /// Thrown when the assertion applies - public static Result AssertNoErrors(this Result result) - { - if( result.Errors > 0 ) - { - throw new ReqlAssertFailure(result.FirstError); - } - return result; - } - - /// - /// Ensures a number of deleted documents. - /// - /// Thrown when the assertion applies - public static Result AssertDeleted(this Result result, ulong deleted) - { - if( result.Deleted != deleted ) - { - throw AssertFail(nameof(AssertDeleted), result.Deleted, deleted); - } - - return result; - } - - /// - /// Ensures a number of inserted documents. - /// - /// Thrown when the assertion applies - public static Result AssertInserted(this Result result, ulong inserted) - { - if( result.Inserted != inserted ) - { - throw AssertFail(nameof(AssertInserted), result.Inserted, inserted); - } - - return result; - } - - /// - /// Ensures a number of replaced documents. - /// - /// Thrown when the assertion applies - public static Result AssertReplaced(this Result result, ulong replaced) - { - if( result.Replaced != replaced ) - { - throw AssertFail(nameof(AssertReplaced), result.Replaced, replaced); - } - - return result; - } - - /// - /// Ensures a number of skipped documents. - /// - /// Thrown when the assertion applies - public static Result AssertSkipped(this Result result, ulong skipped) - { - if( result.Skipped != skipped ) - { - throw AssertFail(nameof(AssertSkipped), result.Skipped, skipped); - } - - return result; - } - - /// - /// Ensures a number of unchanged documents. - /// - /// Thrown when the assertion applies - public static Result AssertUnchanged(this Result result, ulong unchanged) - { - if( result.Unchanged != unchanged ) - { - throw AssertFail(nameof(AssertUnchanged), result.Unchanged, unchanged); - } - - return result; - } - - /// - /// Ensures a number of tables created. - /// - /// Thrown when the assertion applies - public static Result AssertTablesCreated(this Result result, ulong tablesCreated) - { - if( result.TablesCreated != tablesCreated ) - { - throw AssertFail(nameof(AssertTablesCreated), result.TablesCreated, tablesCreated); - } - - return result; - } - - /// - /// Ensures a number of tables deleted. - /// - /// Thrown when the assertion applies - public static Result AssertTablesDropped(this Result result, ulong tablesDropped) - { - if( result.TablesDropped != tablesDropped ) - { - throw AssertFail(nameof(AssertTablesDropped), result.TablesDropped, tablesDropped); - } - - return result; - } - - /// - /// Ensures a number of databases created. - /// - /// Thrown when the assertion applies - public static Result AssertDatabasesCreated(this Result result, ulong databasesCreated) - { - if( result.DatabasesCreated != databasesCreated ) - { - throw AssertFail(nameof(AssertDatabasesCreated), result.DatabasesCreated, databasesCreated); - } - - return result; - } - - - /// - /// Ensures a number of databases deleted. - /// - /// Thrown when the assertion applies - public static Result AssertDatabasesDropped(this Result result, ulong databasesDropped) - { - if( result.DatabasesDropped != databasesDropped ) - { - throw AssertFail(nameof(AssertDatabasesDropped), result.DatabasesDropped, databasesDropped); - } - - return result; - } - - private static ReqlAssertFailure AssertFail(string op, ulong got, ulong expected) - { - return new ReqlAssertFailure($"The result was {got}, but {op} expected {expected}"); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ExtensionsForResult.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ExtensionsForResult.cs.meta deleted file mode 100644 index deb477615..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ExtensionsForResult.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0f439e07981b4034f8962a0116bdfbeb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/GroupedResult.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/GroupedResult.cs deleted file mode 100644 index 8e9b33f40..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/GroupedResult.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Net; - -namespace RethinkDb.Driver.Model -{ - /// - /// A grouped result helper. - /// - /// The KEY type - /// The VALUE type - public class GroupedResult : IGrouping - { -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member - public GroupedResult(JToken key, JArray items) - { - this.Key = key.ToObject(Converter.Serializer); - this.Items = items.ToObject>(Converter.Serializer); - } - public GroupedResult(JToken key, JValue item) - { - this.Key = key.ToObject(Converter.Serializer); - var value = item.ToObject(Converter.Serializer); - this.Items = new List() {value}; - } - - public IEnumerator GetEnumerator() - { - return this.Items.GetEnumerator(); - } - - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } -#pragma warning restore 1591 // Missing XML comment for publicly visible type or member - - /// - /// The Key - /// - public TKey Key { get; } - - /// - /// The list of items grouped by - /// - public List Items { get; set; } - } - - /// - /// A typed grouped result helper. - /// - /// The KEY type - /// The VALUE type - public class GroupedResultSet : List> - { - /// - /// Item type - /// - public Type ItemType => typeof(TItem); - - /// - /// Key type - /// - public Type KeyType => typeof(TKey); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/GroupedResult.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/GroupedResult.cs.meta deleted file mode 100644 index 71e2dfec1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/GroupedResult.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 30fc2d0c473e8c34e96cc204d81fb07e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/MapObject.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/MapObject.cs deleted file mode 100644 index e3ca43755..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/MapObject.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System.Collections.Generic; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Model -{ - /// - /// Just a dictionary of (object,object) - /// - public class MapObject : Dictionary - { - /// - /// Fluent helper for setting dictionary[key] = value. - /// - public virtual MapObject With(object key, object value) - { - this[key] = value; - return this; - } - - internal virtual MapObject with(object key, object value) - { - return With(key, value); - } - - /// - /// Fluent helper for setting all key,value pairs of an anonymous type - /// and loading them into the MapObject. - /// - public virtual MapObject With(object anonType) - { - var anonDict = PropertyHelper.ObjectToDictionary(anonType); - foreach( var kvp in anonDict ) - { - this.With(kvp.Key, kvp.Value); - } - return this; - } - - /// - /// Creates a new MapObject from an anonymous type. - /// - internal static MapObject FromAnonType(object anonType) - { - var map = new MapObject(); - map.With(anonType); - return map; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/MapObject.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/MapObject.cs.meta deleted file mode 100644 index 619483e2b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/MapObject.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fa52891b17f130841b4afa7b4f2db01e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/OptArgs.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/OptArgs.cs deleted file mode 100644 index ed7caf6d7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/OptArgs.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System.Collections.Generic; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Model -{ - /// - /// Dictionary of string,ReqlAst - /// - public class OptArgs : Dictionary - { - /// - /// Fluent helper for setting dictionary[key] = value. - /// - public virtual OptArgs With(string key, object value) - { - if( key != null ) - { - this[key] = Util.ToReqlAst(value); - } - return this; - } - - internal OptArgs with(string key, object value) - { - return With(key, value); - } - - /// - /// Fluent helper for setting dictionary[key] = List. - /// - public virtual OptArgs With(string key, IList value) - { - if( key != null ) - { - this[key] = Util.ToReqlAst(value); - } - return this; - } - - internal virtual OptArgs with(string key, IList value) - { - return With(key, value); - } - - /// - /// Fluent helper for setting dictionary[key] = value multiple times - /// for each Property=Value in the anonType. - /// - public virtual OptArgs With(object anonType) - { - var anonDict = PropertyHelper.ObjectToDictionary(anonType); - foreach( var kvp in anonDict ) - { - this.with(kvp.Key, kvp.Value); - } - return this; - } - - internal virtual OptArgs with(object anonType) - { - return With(anonType); - } - - - /// - /// Fluent helper to copy all key value pairs from - /// - public virtual OptArgs With(OptArgs args) - { - foreach( var kvp in args ) - this.with(kvp.Key, kvp.Value); - - return this; - } - - - /// - /// Creates a new OptArg from all key value pairs in - /// - public static OptArgs FromMap(IDictionary map) - { - OptArgs oa = new OptArgs(); - - foreach( var kvp in map ) - oa.Add(kvp.Key, kvp.Value); - - return oa; - } - - /// - /// Creates a new OptArg from all Property = Value pairs in anonymous type. - /// - public static OptArgs FromAnonType(object anonType) - { - OptArgs oa = new OptArgs(); - oa.with(anonType); - - return oa; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/OptArgs.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/OptArgs.cs.meta deleted file mode 100644 index a15ce6fae..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/OptArgs.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 421ac9beb7bd91b4f823ee35f288d3b3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/PathSpec.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/PathSpec.cs deleted file mode 100644 index 720a14b9d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/PathSpec.cs +++ /dev/null @@ -1,41 +0,0 @@ -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member - -using System; -using Newtonsoft.Json.Linq; - -namespace RethinkDb.Driver.Model -{ - /* - r.path("contact", "phone", "work"); - r.path("contact", "phone", r.paths("work", "home")); - r.path("contact", - r.paths( - r.path("phone", - r.paths("work", "home")), - r.paths( - r.path("im", "skype")), - ); - - */ - - - //not sure what this is about.. so ignore it for now. - public class PathSpec - { - private readonly JObject root = new JObject(); - - private PathSpec() - { - } - - public virtual PathSpec path(string start, params PathSpec[] specs) - { - throw new Exception("not implemented"); - } - - public virtual PathSpec path(params string[] strings) - { - throw new Exception("not implemented"); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/PathSpec.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/PathSpec.cs.meta deleted file mode 100644 index ff3966c6c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/PathSpec.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 51cc1e5d29e390d44aaccabec4192263 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Profile.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Profile.cs deleted file mode 100644 index 8a79f8b7d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Profile.cs +++ /dev/null @@ -1,25 +0,0 @@ -#pragma warning disable 1591 // Missing XML comment for publicly visible type or member - -using Newtonsoft.Json.Linq; - -namespace RethinkDb.Driver.Model -{ - public class Profile - { - public Profile(JArray profileObj) - { - this.ProfileObj = profileObj; - } - - public JArray ProfileObj { get; } - - public static Profile FromJsonArray(JArray profileObj) - { - if( profileObj == null || profileObj.Count == 0 ) - { - return null; - } - return new Profile(profileObj); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Profile.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Profile.cs.meta deleted file mode 100644 index 673e9697c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Profile.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b826fdf2446c89749bd5e39a6989c956 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ReqlLambda.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ReqlLambda.cs deleted file mode 100644 index eda8357a1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ReqlLambda.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace RethinkDb.Driver.Model -{ - /// - /// Root function interface for a lambda expression. - /// - public interface ReqlLambda - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ReqlLambda.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ReqlLambda.cs.meta deleted file mode 100644 index 6ce632b14..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/ReqlLambda.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 04f768fe8816a41409c11796000d7eaf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Result.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Result.cs deleted file mode 100644 index eff5e3f31..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Result.cs +++ /dev/null @@ -1,102 +0,0 @@ -using System; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - -namespace RethinkDb.Driver.Model -{ - /// - /// A typed helper for reading response meta data. - /// - public class Result - { - /// - /// A list of generated primary keys for inserted documents whose primary keys were not specified (capped to 100,000). - /// - [JsonProperty("generated_keys")] - public Guid[] GeneratedKeys { get; set; } - - /// - /// The number of documents successfully inserted. - /// - public ulong Inserted { get; set; } - - /// - /// The number of documents updated when conflict is set to "replace" or "update". - /// - public ulong Replaced { get; set; } - - /// - /// The number of documents whose fields are identical to existing documents with the same primary key when conflict is set to "replace" or "update". - /// - public ulong Unchanged { get; set; } - - /// - /// The number of errors encountered while performing the insert. - /// - public ulong Errors { get; set; } - - /// - /// If errors were encountered, contains the text of the first error. - /// - [JsonProperty("first_error")] - public string FirstError { get; set; } - - /// - /// Deleted: 0 for an insert operation. - /// - public ulong Deleted { get; set; } - - /// - /// Skipped: 0 for an insert operation. - /// - public ulong Skipped { get; set; } - - /// - /// If the field generated_keys is truncated, you will get the warning “Too many generated keys (...), array truncated to 100000.”. - /// - public string[] Warnings { get; set; } - - /// - /// If returnChanges is set to true, this will be an array of objects, one for each objected affected by the insert operation. Each object will have two keys: {new_val: -new value-, old_val: null}. - /// - public JArray Changes { get; set; } - - /// - /// If the query had return_changes set, get the changes as . - /// - public Change[] ChangesAs() - { - return this.Changes?.ToObject[]>(Net.Converter.Serializer); - } - - - /// - /// The value is an integer indicating the number of tables waited for. It will always be 1 when wait is called on a table, and the total number of tables when called on a database. - /// - public uint? Ready { get; set; } //probably need to move this to something like AdminResult or DdlResult - - /// - /// The number of databases created. - /// - [JsonProperty("dbs_created")] - public uint DatabasesCreated { get; set; } - - /// - /// The number of databases dropped. - /// - [JsonProperty("dbs_dropped")] - public uint DatabasesDropped { get; set; } - - /// - /// The number of tables created. - /// - [JsonProperty("tables_created")] - public uint TablesCreated { get; set; } - - /// - /// The number of tables dropped. - /// - [JsonProperty("tables_dropped")] - public uint TablesDropped { get; set; } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Result.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Result.cs.meta deleted file mode 100644 index 20e156bcd..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Result.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d254bda9f5abf774384e8d6d99cfe6d6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Server.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Server.cs deleted file mode 100644 index 525a752c3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Server.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using System.Collections.Generic; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Net; - -namespace RethinkDb.Driver.Model -{ - /// - /// A type helper that represents the result of - /// and . - /// - public class Server - { - /// - /// The server's id - /// - public string Id { get; set; } - - /// - /// The server's name. - /// - public string Name { get; set; } - - /// - /// True if the driver is connected to a proxy server. False if the driver is - /// connected to a RethinkDB server. - /// - public bool Proxy { get; set; } - - /// - /// Extra metadata that couldn't be parsed, if any. - /// - [JsonExtensionData] - public IDictionary ExtraData { get; set; } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Server.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Server.cs.meta deleted file mode 100644 index b5c24937e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Model/Server.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a4dc9f03b1554c240b8d6dae0a6a14f8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net.meta deleted file mode 100644 index a42e8e14b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dc4665c24db118d4db66dbb2cfeea49f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Awaiter.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Awaiter.cs deleted file mode 100644 index abfe9a027..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Awaiter.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.Threading; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net -{ - internal class Awaiter : CancellableTask - { - public Awaiter(CancellationToken cancelToken) : base(cancelToken) - { - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Awaiter.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Awaiter.cs.meta deleted file mode 100644 index 669ae3f06..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Awaiter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b25e89a5a4d0a1a498c924472cdab6d9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering.meta deleted file mode 100644 index f863d7df4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ec7c030a04a13c94aad551c1f2dede7d -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ConnectionPool.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ConnectionPool.cs deleted file mode 100644 index 24e1508c9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ConnectionPool.cs +++ /dev/null @@ -1,587 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Net.Sockets; -using System.Threading; -using System.Threading.Tasks; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net.Clustering -{ - /// - /// Represents a pooled connection to a RethinkDB cluster. - /// - public class ConnectionPool : IConnection - { - private string user; - private string password; - private string dbname; - private Seed[] seeds; - private bool discover; - private IPoolingStrategy poolingStrategy; - private TimeSpan? initialTimeout; - private SslContext sslContext; - - /// - /// The default database used by queries. - /// - public string Db => this.dbname; - - #region REQL AST RUNNERS - - Task IConnection.RunAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - if( this.shutdownSignal.IsCancellationRequested ) - { - throw new ReqlDriverError("HostPool is shutdown."); - } - return poolingStrategy.RunAsync(term, globalOpts, cancelToken); - } - - Task> IConnection.RunCursorAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - if( this.shutdownSignal.IsCancellationRequested ) - { - throw new ReqlDriverError("HostPool is shutdown."); - } - return poolingStrategy.RunCursorAsync(term, globalOpts, cancelToken); - } - - Task IConnection.RunAtomAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - if( this.shutdownSignal.IsCancellationRequested ) - { - throw new ReqlDriverError("HostPool is shutdown."); - } - return poolingStrategy.RunAtomAsync(term, globalOpts, cancelToken); - } - - Task IConnection.RunResultAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - if( this.shutdownSignal.IsCancellationRequested ) - { - throw new ReqlDriverError("HostPool is shutdown."); - } - return poolingStrategy.RunResultAsync(term, globalOpts, cancelToken); - } - - void IConnection.RunNoReply(ReqlAst term, object globalOpts) - { - if( this.shutdownSignal.IsCancellationRequested ) - { - throw new ReqlDriverError("HostPool is shutdown."); - } - poolingStrategy.RunNoReply(term, globalOpts); - } - - Task IConnection.RunUnsafeAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - if (this.shutdownSignal.IsCancellationRequested) - { - throw new ReqlDriverError("HostPool is shutdown."); - } - return poolingStrategy.RunUnsafeAsync(term, globalOpts, cancelToken); - } - - #endregion - - internal ConnectionPool(Builder builder) - { - user = builder.user ?? "admin"; - password = builder.password ?? builder.authKey ?? ""; - dbname = builder.dbname; - seeds = builder.seeds; - discover = builder.discover; - poolingStrategy = builder.hostpool; - initialTimeout = builder.initialTimeout; - sslContext = builder.sslContext; - } - - - /// - /// Shutdown the connection pool. - /// - public void Shutdown() - { - shutdownSignal?.Cancel(); - poolingStrategy?.Shutdown(); - - if( poolingStrategy != null ) - { - //shutdown all connections. - foreach( var h in poolingStrategy.HostList ) - { - var conn = h.conn as Connection; - conn.Close(false); - h.MarkFailed(); - } - } - } - - /// - /// Used to determine if a node is currently available in the host pool - /// to receive queries. The boolean value should be considered a "rough" estimate - /// of the availability of a node in the pool. This indicator may lag behind - /// as it does not check the exact state of every node's TCP socket. - /// - public bool AnyOpen => this.poolingStrategy.HostList.Any(h => !h.Dead); - - private CancellationTokenSource shutdownSignal; - private TaskCompletionSource poolReady; - - /// - /// Starts the connection pool. - /// - protected virtual void StartPool() - { - shutdownSignal = new CancellationTokenSource(); - poolReady = new TaskCompletionSource(); - - if( poolingStrategy == null ) - { - throw new ArgumentNullException(nameof(poolingStrategy), - $"You must specify a pooling strategy '{nameof(Builder.PoolingStrategy)}' when building the connection pool."); - } - - var initialSeeds = this.seeds.Select(seed => - { - var conn = NewPoolConnection(seed.IpAddress, seed.Port); - return new {conn, EndPointId = EndpointIdentifier(seed.IpAddress, seed.Port) }; - }); - - foreach( var conn in initialSeeds ) - { - this.poolingStrategy.AddHost(conn.EndPointId, conn.conn); - } - - Task.Factory.StartNew(Supervisor, TaskCreationOptions.LongRunning); - if( discover ) - { - Task.Factory.StartNew(Discoverer, TaskCreationOptions.LongRunning); - } - } - - /// - /// This thread is in charge of discovering new hosts via rethinkdb system - /// table change feed. If a new host is found it is added to the host pool. - /// - private void Discoverer() - { - var r = RethinkDB.R; - - var changeFeed = r.Db("rethinkdb").Table("server_status").Changes()[new {include_initial = true}]; - - while( true ) - { - if( shutdownSignal.IsCancellationRequested ) - { - Log.Debug($"{nameof(Discoverer)}: Shutdown Signal Received"); - break; - } - - try - { - poolReady.Task.Wait(); - } - catch - { - Log.Trace($"{nameof(Discoverer)}: Pool is not ready to discover new hosts."); - Thread.Sleep(1000); - } - - try - { - var cursor = changeFeed.RunChanges(this); - - foreach( var change in cursor ) - { - if( change.NewValue != null ) - { - MaybeAddNewHost(change.NewValue); - } - } - } - catch - { - Log.Trace($"{nameof(Discoverer)}: Discover change feed broke."); - Thread.Sleep(1000); - } - } - } - - /// - /// Called by the discoverer thread when a new server has been added (or comes back - /// online). This method will determine if AddHost is needed. We only have monotonically - /// increasing hosts to prevent unnecessary locking on the host list array. - /// - private void MaybeAddNewHost(Server server) - { - //Ok, could be initial or new host. - //either way, see if we need to add - //the connection if it has not been - //discovered. - var port = server.Network.ReqlPort; - - var realAddresses = server.Network.CanonicalAddress - .Where(s => // no localhost and no ipv6. for now. - !s.Host.StartsWith("127.0.0.1") && - !s.Host.Contains(":")) - .Select(c => c.Host); - - //now do any of the real - //addresses match the ones already in - //the host list? - var hlist = poolingStrategy.HostList; - - //has it been discovered? - if( !realAddresses.Any(ip => hlist.Any(s => s.Host.Contains(ip))) ) - { - //the host IP is not found, so, see if we can connect? - foreach( var ip in realAddresses ) - { - //can we connect to this IP? - var test = new TcpClient(); - try - { - test.Connect(ip, port); - } - catch - { - try - { - test.Shutdown(); - } - catch - { - } - continue; - } - if( test.Connected ) - { - test.Shutdown(); - //good chance we can connect to it. - var conn = NewPoolConnection(ip, port); - var endPointId = EndpointIdentifier(ip, port); - this.poolingStrategy.AddHost(endPointId, conn); - Log.Trace($"{nameof(Discoverer)}: Server '{server.Name}' ({endPointId}) was added to the host pool. The supervisor will bring up the connection later."); - break; //stop checking IPs, one is enough. - } - } - } - else - { - Log.Trace( - $"{nameof(Discoverer)}: Server '{server.Name}' is back, but doesn't need to be added to the pool. The supervisor will re-establish the connection later."); - } - } - - private string EndpointIdentifier(string ip, int port) - { - return $"{ip}:{port}"; - } - - /// - /// This thread is mainly in charge of supervising the connections. - /// The supervisor will kick off a worker to try to reconnect - /// connections that are due for reconnecting. It also scans though - /// the host list looking for connections that are not dead but have errors - /// and attempts to reset them. - /// - private void Supervisor() - { - var restartWorkers = new List(); - - while( true ) - { - if( shutdownSignal.IsCancellationRequested ) - { - Log.Debug($"{nameof(Supervisor)}: Shutdown Signal Received"); - break; - } - - var hlist = poolingStrategy.HostList; - - for( int i = 0; i < hlist.Length; i++ ) - { - var he = hlist[i]; - var conn = he.conn as Connection; - - if( he.NeedsRetry() ) - { - var worker = Task.Run(() => - { - try - { - conn.Reconnect(); - } - catch( Exception e ) - { - Log.Debug($"{nameof(Supervisor)}: EXCEPTION: '{he.Host}' -- {e.Message}."); - } - - if( conn.Open ) - { - Log.Debug($"{nameof(Supervisor)}: RETRY: Server '{he.Host}' is UP."); - he.Dead = false; - poolReady.TrySetResult(this); - } - else - { - Log.Debug($"{nameof(Supervisor)}: RETRY: Server '{he.Host}' is DOWN."); - he.RetryFailed(); - } - }); - - restartWorkers.Add(worker); - } - } - - if( restartWorkers.Any() ) - { - try - { - Task.WaitAll(restartWorkers.ToArray()); - } - catch{} - restartWorkers.Clear(); - } - else - { - Thread.Sleep(1000); - } - } - } - - /// - /// Called to create a new connection to a RethinkDB server. - /// - protected virtual Connection NewPoolConnection(string hostname, int port) - { - var connNew = new Connection(new Connection.Builder() - { - user = user, - password = password, - dbname = dbname, - hostname = hostname, - port = port, - sslContext = sslContext, - }); - - connNew.ConnectionError += OnConnectionError; - return connNew; - } - - private void OnConnectionError(object sender, Exception e) - { - var connError = sender as Connection; - var hlist = this.poolingStrategy.HostList; - var he = hlist.FirstOrDefault(h => h.conn == connError); - he?.MarkFailed(); - } - - internal static Builder Build() - { - return new Builder(); - } - - - /// - /// Disposes / shuts down the connection pool. - /// - public void Dispose() - { - this.Shutdown(); - } - - /// - /// The connection pool builder. - /// - public class Builder : IConnectionBuilder - { - internal bool discover; - internal Seed[] seeds; - internal string dbname; - internal string authKey; - internal string user; - internal string password; - internal IPoolingStrategy hostpool; - internal TimeSpan? initialTimeout; - internal SslContext sslContext; - - /// - /// Seed the driver with the following endpoints. Should be strings of the form "Host:Port". - /// - /// Strings of the form "Host:Port" - public Builder Seed(params string[] seeds) - { - var initalSeeds = seeds.Select(s => - { - var parts = s.Split(new[] {':'}, StringSplitOptions.RemoveEmptyEntries); - var host = parts[0]; - - IPAddress.Parse(host); //make sure it's an IP address. - - var port = parts.Length == 2 ? int.Parse(parts[1]) : RethinkDBConstants.DefaultPort; - - return new Seed(host, port); - }); - - return Seed(initalSeeds); - } - - /// - /// Seed the driver with the following endpoints. Should be strings of the form "Host:Port". - /// - /// Strings of the form "Host:Port" - public Builder Seed(IEnumerable seeds) - { - return Seed(seeds.ToArray()); - } - - /// - /// Seed the driver with the following endpoints. - /// - public Builder Seed(IEnumerable seeds) - { - this.seeds = seeds.ToArray(); - return this; - } - - /// - /// Seed the driver with the following endpoints. - /// - public Builder Seed(params Seed[] seeds) - { - this.seeds = seeds.ToArray(); - return this; - } - - /// - /// Sets the initial timeout (in seconds) for connecting. - /// If a connection cannot be made within the specified time span - /// to any server, an exception is thrown. If no timeout is set, - /// the call to Connect() will block until at least one connection - /// is made. - /// - public Builder InitialTimeout(int timeout) - { - this.initialTimeout = TimeSpan.FromSeconds(timeout); - return this; - } - - /// - /// discover() is used to enable host discovery, when true the driver - /// will attempt to discover any new nodes added to the cluster and then - /// start sending queries to the newly added cluster nodes. - /// - public Builder Discover(bool discoverNewHosts) - { - this.discover = discoverNewHosts; - return this; - } - - /// - /// The default DB for queries. - /// - public virtual Builder Db(string val) - { - this.dbname = val; - return this; - } - - /// - /// The authorization key to the cluster. - /// - public virtual Builder AuthKey(string val) - { - this.authKey = val; - return this; - } - - /// - /// The user account and password to connect as (default "admin", ""). - /// - public Builder User(string user, string password) - { - this.user = user; - this.password = password; - return this; - } - - /// - /// The selection strategy to for selecting a connection. IE: RoundRobin, HeartBeat, or EpsilonGreedy. - /// - public Builder PoolingStrategy(IPoolingStrategy hostPool) - { - this.hostpool = hostPool; - return this; - } - - /// - /// Creates and establishes the connection pool using the specified settings. - /// - /// The returned connect pool is ready to be used. At least one host will be ready to accept a query. - public virtual ConnectionPool Connect() - { - var conn = new ConnectionPool(this); - conn.StartPool(); - if( initialTimeout.HasValue ) - { - if( !conn.poolReady.Task.Wait(initialTimeout.Value) ) - { - conn.Shutdown(); - throw new ReqlDriverError("Connection timed out."); - } - } - else - { - conn.poolReady.Task.Wait(); - } - return conn; - } - - /// - /// Asynchronously creates and establishes the connection pool using the specified settings. - /// - /// The returned connect pool is ready to be used. At least one host will be ready to accept a query. - public virtual async Task ConnectAsync(CancellationToken cancellationToken = default) - { - var conn = new ConnectionPool(this); - conn.StartPool(); - - var timeout = initialTimeout ?? TimeSpan.FromMilliseconds(-1); - - var taskCompleted = await conn.poolReady.Task.WaitOrTimeout(timeout, cancellationToken) - .ConfigureAwait(false); - - if (!taskCompleted) - { - conn.Shutdown(); - throw new ReqlDriverError("Connection timed out."); - } - - return conn; - } - - - /// - /// Enables SSL over the driver port - /// - /// Context settings for the SSL stream. - public virtual Builder EnableSsl(SslContext context, string licenseTo, string licenseKey) - { - this.sslContext = context; - -#if !DEBUG - if( !LicenseVerifier.VerifyLicense(licenseTo, licenseKey) ) - { - throw new ReqlDriverError("The SSL/TLS usage license is invalid. Please check your license that you copied all the characters in your license. If you still have trouble, please contact support@bitarmory.com."); - } -#endif - return this; - } - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ConnectionPool.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ConnectionPool.cs.meta deleted file mode 100644 index 057df5a6b..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ConnectionPool.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 95bdb149200e9f642b4d607825ed0c73 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonGreedy.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonGreedy.cs deleted file mode 100644 index 9d785e7e1..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonGreedy.cs +++ /dev/null @@ -1,416 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; -using RethinkDb.Driver.Ast; -using Random = System.Random; - -namespace RethinkDb.Driver.Net.Clustering -{ - /// - /// Epsilon Greedy is an algorithm that allows HostPool not only to track failure state, - /// but also to learn about "better" options in terms of speed, and to pick from available hosts - /// based on how well they perform. This gives a weighted request rate to better - /// performing hosts, while still distributing requests to all hosts (proportionate to their performance). - /// - /// A good overview of Epsilon Greedy is here http://stevehanov.ca/blog/index.php?id=132 - /// - /// To compute the weighting scores, we perform a weighted average of recent response times, over the course of - /// `decayDuration`. decayDuration may be set to null to use the default value of 5 minutes - /// We then use the supplied EpsilonValueCalculator to calculate a score from that weighted average response time. - /// - public class EpsilonGreedyHostPool : RoundRobinHostPool - { - static readonly TimeSpan DefaultDecayDuration = TimeSpan.FromMinutes(5); - - /// - /// Initial epsilon value. - /// - public const double InitialEpsilon = 0.3; - - /// - /// The steady state percentage of time to explore - /// - public const double MinEpsilon = 0.01; // explore one percent of the time - - /// - /// The decay exploration rate. - /// - public const double EpsilonDecay = 0.90; // decay the exploration rate - - /// - /// Number of bucket slot measurements - /// - public const int EpsilonBuckets = 120; //measurement slots - - /// - /// Epsilon threshold that controls exploration. If a random double is - /// less than < (or below) epsilon, then an round-robin exploration is performed. - /// IE: Higher the epsilon, the more chances for exploration of other hosts. - /// In the long run, epsilon will EpsilonDecay on each exploration until reaching MinEpsilon. - /// Additionally, in the long run, exploration will only take place MinEpsilon % of the time. - /// - private double epsilon; - - private TimeSpan decayDuration; - private EpsilonValueCalculator calc; - private float[] weights = null; - - private System.Threading.Timer timer; - - /// - /// Random value generator. - /// - public static Random Random { get; set; } - - static EpsilonGreedyHostPool() - { - Random = new Random(); - } - - /// - /// Construct an Epsilon Greedy HostPool - /// - /// Epsilon Greedy is an algorithm that allows HostPool not only to track failure state, - /// but also to learn about "better" options in terms of speed, and to pick from available hosts - /// based on how well they perform. This gives a weighted request rate to better - /// performing hosts, while still distributing requests to all hosts (proportionate to their performance). - /// - /// A good overview of Epsilon Greedy is here http://stevehanov.ca/blog/index.php?id=132 - /// - /// To compute the weighting scores, we perform a weighted average of recent response times, over the course of - /// `decayDuration`. decayDuration may be set to null to use the default value of 5 minutes - /// We then use the supplied EpsilonValueCalculator to calculate a score from that weighted average response time. - /// - /// The initial retry delay when a host goes down. Default, null, is 30 seconds. - /// The maximum retry delay when a host goes down. Default, null, is 15 minutes. - /// The amount of time to cycle through all EpsilonBuckets (0...120). - /// This decay duration is divided by EpsilonBuckets (default: 5 min / 120 buckets = 2.5 seconds per bucket). - /// IE: The average will be taken every decayDuration/EpsilonBuckets seconds. - /// Given the weighted average among EpsilonBuckets slot measurements, calculate the host's EpsilonValue using EpsilonCalculators.Linear/Logarithmic/Polynomial(exponent) - /// Automatically starts the decay timer. If false, you need to call StartDecayTimer manually for epsilon values to be calculated correctly. - public EpsilonGreedyHostPool( - TimeSpan? retryDelayInitial, - TimeSpan? retryDelayMax, - TimeSpan? decayDuration, - EpsilonValueCalculator calc, - bool autoStartDecayTimer = true) - : base(retryDelayInitial, retryDelayMax) - { - this.decayDuration = decayDuration ?? DefaultDecayDuration; - this.calc = calc; - this.epsilon = InitialEpsilon; - this.weights = Enumerable.Range(1, EpsilonBuckets) - .Select(i => i / Convert.ToSingle(EpsilonBuckets)) - .ToArray(); - - if( autoStartDecayTimer ) - { - StartDecayTimer(); - } - } - - /// - /// Construct an Epsilon Greedy HostPool - /// - /// Epsilon Greedy is an algorithm that allows HostPool not only to track failure state, - /// but also to learn about "better" options in terms of speed, and to pick from available hosts - /// based on how well they perform. This gives a weighted request rate to better - /// performing hosts, while still distributing requests to all hosts (proportionate to their performance). - /// - /// A good overview of Epsilon Greedy is here http://stevehanov.ca/blog/index.php?id=132 - /// - /// To compute the weighting scores, we perform a weighted average of recent response times, over the course of - /// `decayDuration`. decayDuration may be set to null to use the default value of 5 minutes - /// We then use the supplied EpsilonValueCalculator to calculate a score from that weighted average response time. - /// - /// The amount of time to cycle though all EpsilonBuckets (0...120). - /// This decay duration is divided by EpsilonBuckets (default: 5 min / 120 buckets = 2.5 seconds per bucket). - /// IE: The average will be taken every decayDuration/EpsilonBuckets seconds. - /// Given the weighted average among EpsilonBuckets slot measurements, calculate the host's EpsilonValue using EpsilonCalculators.Linear/Logarithmic/Polynomial(exponent) - /// Automatically starts the decay timer. If false, you need to call StartDecayTimer manually for epsilon values to be calculated correctly. - public EpsilonGreedyHostPool(TimeSpan? decayDuration, - EpsilonValueCalculator calc, - bool autoStartDecayTimer = true) : - this(null, null, decayDuration, calc, autoStartDecayTimer) - { - } - - - /// - /// Epsilon threshold that controls exploration. If a random double is - /// less than < (or below) epsilon, then an round-robin exploration is performed. - /// IE: Higher the epsilon, the more chances for exploration of other hosts. - /// In the long run, epsilon will EpsilonDecay on each exploration to MinEpsilon. - /// - public void SetEpsilon(float epsilon) - { - this.epsilon = epsilon; - } - - - /// - /// If the autoStartDecayTimer was false, you need to start - /// the decay timer manually using this method. - /// - public void StartDecayTimer() - { - var durationPerBucket = TimeSpan.FromTicks(decayDuration.Ticks / EpsilonBuckets); - this.timer = new System.Threading.Timer(PerformEpsilonGreedyDecay, null, Timeout.Infinite, Timeout.Infinite); - - //fire now. - this.timer.Change(TimeSpan.Zero, durationPerBucket); - } - - internal void PerformEpsilonGreedyDecay(object state) - { - lock( hostLock ) - { - if( shuttingDown ) - { - this.timer.Change(Timeout.Infinite, Timeout.Infinite); - this.timer.Dispose(); - return; - } - } - - //Parallel.For() - //basically advance the index - var hlist = this.hostList; - foreach( var h in hlist ) - { - var nextIndex = (h.EpsilonIndex + 1) % EpsilonBuckets; - h.EpsilonCounts[nextIndex] = 0; //write ahead, before other threads - h.EpsilonValues[nextIndex] = 0; //before they see the next index - h.EpsilonAvg[nextIndex] = 0; - - //advance the index, so all threads begin writing - //and recording their speed results to the new bucket - var currentIndex = Interlocked.Increment(ref h.EpsilonIndex); - - //not done yet.... - //now calculate the new average for the previous index now - //that threads have advanced to the new epsilon index bucket - var prevIndex = (currentIndex - 1) % EpsilonBuckets; - var averages = h.EpsilonAvg; - if( h.EpsilonCounts[prevIndex] > 0 ) - { - averages[prevIndex] = h.EpsilonValues[prevIndex] / Convert.ToSingle(h.EpsilonCounts[prevIndex]); - } - } - //finally, update percentages - Update(); - } - - internal virtual HostEntry GetEpsilonGreedy() - { - HostEntry hostToUse = null; - - //this is our exploration phase - var rand = Random.NextDouble(); - if( rand < this.epsilon ) - { - this.epsilon = this.epsilon * EpsilonDecay; - if( this.epsilon < MinEpsilon ) - { - this.epsilon = MinEpsilon; - } - return this.GetRoundRobin(); - } - - var hlist = this.hostList; - - var ceiling = 0.0d; - - //find best. - for( var i = 0; i < hlist.Length; i++ ) - { - var h = hlist[i]; - if( !h.Dead && h.EpsilonWeightAverage > 0 ) - { - ceiling += h.EpsilonPercentage; - if( rand <= ceiling ) - { - hostToUse = h; - break; - } - } - } - - if( hostToUse == null || hostToUse.Dead ) - { - return this.GetRoundRobin(); - } - - return hostToUse; - } - - private void SetWeightedAverageResponseTime(HostEntry h) - { - var value = 0f; - var lastValue = 0f; - var prevIndex = (h.EpsilonIndex - 1) % EpsilonBuckets; //capture the current index - - //start from 2, skipping the current epsilon index - for( var i = 2; i <= EpsilonBuckets; i++ ) - { - var pos = (prevIndex + i) % EpsilonBuckets; - var counts = h.EpsilonCounts[pos]; - // Changing the line below to what I think it should be to get the weights right - var weight = weights[i - 1]; - if( counts > 0 ) - { - //the average - //var currentValue = h.EpsilonValues[pos] / Convert.ToSingle(counts); - var currentValue = h.EpsilonAvg[pos]; - value += currentValue * weight; - lastValue = currentValue; - } - else - { - value += lastValue * weight; - } - } - h.EpsilonWeightAverage = value; - } - - private void SetEpsilonValue(HostEntry h) - { - h.EpsilonValue = this.calc.CalcValueFromAvgResponseTime(h.EpsilonWeightAverage); - } - - internal void MarkSuccess(HostEntry h, long start, long end) - { - var duration = TimeSpan.FromTicks(end - start); - var index = h.EpsilonIndex % EpsilonBuckets; - var counts = h.EpsilonCounts; - var values = h.EpsilonValues; - - Interlocked.Increment(ref counts[index]); - Interlocked.Add(ref values[index], Convert.ToInt64(duration.TotalMilliseconds)); - } - - internal void Update() - { - var hlist = this.hostList; - var sumValues = 0f; - - // calculate values for each host in the 0..1 range (but not normalized) - for( int i = 0; i < hlist.Length; i++ ) - { - var h = hlist[i]; - SetWeightedAverageResponseTime(h); - SetEpsilonValue(h); - if( !h.Dead && h.EpsilonWeightAverage > 0 ) - { - sumValues += h.EpsilonValue; - } - } - //now normalize the 0..1 range to get percentage - //need to know the sum before normalizing - for( int i = 0; i < hlist.Length; i++ ) - { - var h = hlist[i]; - if( !h.Dead && h.EpsilonWeightAverage > 0 ) - { - h.EpsilonPercentage = h.EpsilonValue / sumValues; - } - } - } - - #region CONNECTION RUNNERS - - public override async Task RunAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - HostEntry host = GetEpsilonGreedy(); - try - { - var start = DateTime.Now.Ticks; - var result = await host.conn.RunAsync(term, globalOpts, cancelToken).ConfigureAwait(false); - var end = DateTime.Now.Ticks; - MarkSuccess(host, start, end); - return result; - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - public override async Task RunAtomAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - HostEntry host = GetEpsilonGreedy(); - try - { - var start = DateTime.Now.Ticks; - var result = await host.conn.RunAtomAsync(term, globalOpts, cancelToken).ConfigureAwait(false); - var end = DateTime.Now.Ticks; - MarkSuccess(host, start, end); - return result; - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - public override async Task RunResultAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - HostEntry host = GetEpsilonGreedy(); - try - { - var start = DateTime.Now.Ticks; - var result = await host.conn.RunResultAsync(term, globalOpts, cancelToken).ConfigureAwait(false); - var end = DateTime.Now.Ticks; - MarkSuccess(host, start, end); - return result; - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - public override void RunNoReply(ReqlAst term, object globalOpts) - { - HostEntry host = GetEpsilonGreedy(); - try - { - var start = DateTime.Now.Ticks; - host.conn.RunNoReply(term, globalOpts); - var end = DateTime.Now.Ticks; - MarkSuccess(host, start, end); - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - public override async Task> RunCursorAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - HostEntry host = GetEpsilonGreedy(); - try - { - var start = DateTime.Now.Ticks; - var result = await host.conn.RunCursorAsync(term, globalOpts, cancelToken).ConfigureAwait(false); - var end = DateTime.Now.Ticks; - MarkSuccess(host, start, end); - return result; - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - #endregion - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonGreedy.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonGreedy.cs.meta deleted file mode 100644 index eb6cb8097..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonGreedy.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bfa125f7245dba7489e49fd0962d8918 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonValueCalculator.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonValueCalculator.cs deleted file mode 100644 index 511581b9c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonValueCalculator.cs +++ /dev/null @@ -1,144 +0,0 @@ -using System; - -namespace RethinkDb.Driver.Net.Clustering -{ - /// - /// Classes implementing this interface are used to convert the average response time for a host - /// into a score that can be used to weight hosts in the epsilon greedy hostpool. Lower response - /// times should yield higher scores (we want to select the faster hosts more often) The default - /// LinearEpsilonValueCalculator just uses the reciprocal of the response time. In practice, any - /// decreasing function from the positive reals to the positive reals should work. - /// - public abstract class EpsilonValueCalculator - { - /// - /// The implementation of the value calculation. - /// - public abstract float CalcValueFromAvgResponseTime(float v); - - /// - /// Linear value calculation - /// - public static float LinearEpsilonValueCalculator(float v) - { - return 1.0f / v; - } - - /// - /// Logarithmic value calculation - /// - public static float LogEpsilonValueCalculator(float v) - { - return LinearEpsilonValueCalculator(Convert.ToSingle(Math.Log(v + 1.0d))); - } - - /// - /// Polynomial value calculation - /// - public static float PolynomialEpsilonValueCalculator(float v, float exp) - { - return LinearEpsilonValueCalculator(Convert.ToSingle(Math.Pow(v, exp))); - } - } - - /// - /// Linear epsilon value calculation - /// - public class LinearEpsilonValueCalculator : EpsilonValueCalculator - { - /// - /// The implementation of the value calculation. - /// - public override float CalcValueFromAvgResponseTime(float v) - { - return LinearEpsilonValueCalculator(v); - } - } - - /// - /// Logarithmic epsilon value calculation - /// - public class LogEpsilonValueCalculator : EpsilonValueCalculator - { - /// - /// The implementation of the value calculation. - /// - public override float CalcValueFromAvgResponseTime(float v) - { - return LogEpsilonValueCalculator(v); - } - } - - /// - /// Polynomial epsilon value calculation - /// - public class PolynomialEpsilonValueCalculator : EpsilonValueCalculator - { - private readonly float exponent; - - /// - /// Constructor with exponent - /// - public PolynomialEpsilonValueCalculator(float exponent) - { - this.exponent = exponent; - } - - /// - /// The implementation of the value calculation. - /// - public override float CalcValueFromAvgResponseTime(float v) - { - return PolynomialEpsilonValueCalculator(v, exponent); - } - } - - - /// - /// Classes implementing this interface are used to convert the average response time for a host - /// into a score that can be used to weight hosts in the epsilon greedy hostpool. Lower response - /// times should yield higher scores (we want to select the faster hosts more often) The default - /// LinearEpsilonValueCalculator just uses the reciprocal of the response time. In practice, any - /// decreasing function from the positive reals to the positive reals should work. - /// - public static class EpsilonCalculator - { - /// - /// Linear calculator to convert the average response time for a host - /// into a score that can be used to weight hosts in the epsilon greedy hostpool. Lower response - /// times should yield higher scores (we want to select the faster hosts more often) The default - /// LinearEpsilonValueCalculator just uses the reciprocal of the response time. In practice, any - /// decreasing function from the positive reals to the positive reals should work. - /// - public static EpsilonValueCalculator Linear() - { - return new LinearEpsilonValueCalculator(); - } - - - /// - /// Logarithmic calculator to convert the average response time for a host - /// into a score that can be used to weight hosts in the epsilon greedy hostpool. Lower response - /// times should yield higher scores (we want to select the faster hosts more often) The default - /// LinearEpsilonValueCalculator just uses the reciprocal of the response time. In practice, any - /// decreasing function from the positive reals to the positive reals should work. - /// - public static EpsilonValueCalculator Logarithmic() - { - return new LogEpsilonValueCalculator(); - } - - - /// - /// Polynomial calculator to convert the average response time for a host - /// into a score that can be used to weight hosts in the epsilon greedy hostpool. Lower response - /// times should yield higher scores (we want to select the faster hosts more often) The default - /// LinearEpsilonValueCalculator just uses the reciprocal of the response time. In practice, any - /// decreasing function from the positive reals to the positive reals should work. - /// - public static EpsilonValueCalculator Polynomial(float exponent) - { - return new PolynomialEpsilonValueCalculator(exponent); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonValueCalculator.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonValueCalculator.cs.meta deleted file mode 100644 index 54e95cbb8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/EpsilonValueCalculator.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 63ab95c482267104fbb6a5b3a58e50ec -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ExceptionIs.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ExceptionIs.cs deleted file mode 100644 index ab32733e9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ExceptionIs.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.IO; - -namespace RethinkDb.Driver.Net.Clustering -{ - internal static class ExceptionIs - { - public static bool NetworkError(Exception e) - { - return e is IOException || e is ObjectDisposedException; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ExceptionIs.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ExceptionIs.cs.meta deleted file mode 100644 index 5d41a6bbc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/ExceptionIs.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f5eda98bde10c2f4983fe9cad7dd69eb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostEntry.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostEntry.cs deleted file mode 100644 index 9de2e53ad..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostEntry.cs +++ /dev/null @@ -1,65 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; - -namespace RethinkDb.Driver.Net.Clustering -{ - public class HostEntry - { - public TimeSpan RetryDelayInitial { get; set; } - public TimeSpan RetryDelayMax { get; set; } - - public HostEntry(string host) - { - this.Host = host; - this.EpsilonValues = new long[EpsilonGreedyHostPool.EpsilonBuckets]; - this.EpsilonCounts = new long[EpsilonGreedyHostPool.EpsilonBuckets]; - this.EpsilonAvg = new float[EpsilonGreedyHostPool.EpsilonBuckets]; - } - - public IConnection conn; - public string Host { get; set; } - public bool Dead { get; set; } - public object Tag { get; set; } - - public DateTime NextRetry { get; set; } - public int RetryCount { get; set; } - public TimeSpan RetryDelay { get; set; } - - public long[] EpsilonCounts { get; set; } - public long[] EpsilonValues { get; set; } - public float[] EpsilonAvg { get; set; } - - public int EpsilonIndex; - - public float EpsilonValue; - public float EpsilonPercentage; - public float EpsilonWeightAverage; - - public virtual void RetryFailed() - { - this.RetryCount += 1; - //double the retry delay - var newDelay = this.RetryDelay.Add(this.RetryDelay); - this.RetryDelay = newDelay < this.RetryDelayMax ? newDelay : this.RetryDelayMax; - this.NextRetry = DateTime.Now + this.RetryDelay; - } - - public virtual bool NeedsRetry() - { - return this.Dead && this.NextRetry < DateTime.Now; - } - - public virtual void MarkFailed() - { - if( !this.Dead ) - { - this.RetryCount = 0; - this.RetryDelay = this.RetryDelayInitial; - this.NextRetry = DateTime.Now.Add(this.RetryDelay); - this.Dead = true; - Log.Trace($"Host {this.Host} is DOWN."); - } - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostEntry.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostEntry.cs.meta deleted file mode 100644 index 502a45a86..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostEntry.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8f471588c77848547b0f43c050114615 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostPool.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostPool.cs deleted file mode 100644 index 341841ba2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostPool.cs +++ /dev/null @@ -1,82 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; -using System.Threading; -using System.Threading.Tasks; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Net.Clustering -{ - public abstract class HostPool : IPoolingStrategy - { - protected TimeSpan RetryDelayInitial; - protected TimeSpan RetryDelayMax; - - //this array should be monotonically increasing, to avoid - //unnecessary thread locking and synch problems when iterating - //over the length of the list. - protected HostEntry[] hostList; - - public HostPool(TimeSpan? retryDelayInitial, TimeSpan? retryDelayMax) - { - this.RetryDelayInitial = retryDelayInitial ?? TimeSpan.FromSeconds(30); - this.RetryDelayMax = retryDelayMax ?? TimeSpan.FromSeconds(900); - - if( this.RetryDelayInitial < TimeSpan.FromSeconds(30) - || this.RetryDelayMax < TimeSpan.FromSeconds(30) ) - { - throw new ArgumentOutOfRangeException( - $"{nameof(retryDelayInitial)} and {nameof(retryDelayMax)} must both be greater than 30 seconds. Anything less can cause threads to pile up on each other because the default socket timeout for windows is about 20 seconds."); - } - - hostList = new HostEntry[0]; - } - - protected object hostLock = new object(); - - public HostEntry[] HostList => hostList; - - public virtual void AddHost(string host, Connection conn) - { - lock( hostLock ) - { - if( shuttingDown ) return; - - var oldHostList = this.hostList; - var nextHostList = new HostEntry[oldHostList.Length + 1]; - Array.Copy(oldHostList, nextHostList, oldHostList.Length); - - //add new host to the end of the array. Initially, start off as a dead - //host. - var he = new HostEntry(host) - { - conn = conn, - Dead = true, - RetryDelayInitial = RetryDelayInitial, - RetryDelayMax = RetryDelayMax - }; - nextHostList[nextHostList.Length - 1] = he; - this.hostList = nextHostList; - } - } - - protected bool shuttingDown = false; - - public virtual void Shutdown() - { - lock( hostLock ) - { - shuttingDown = true; - } - } - - public abstract Task RunAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - public abstract Task> RunCursorAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - public abstract Task RunAtomAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - public abstract Task RunResultAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - public abstract void RunNoReply(ReqlAst term, object globalOpts); - public abstract Task RunUnsafeAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - - public abstract void Dispose(); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostPool.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostPool.cs.meta deleted file mode 100644 index ae6166787..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/HostPool.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 332dbbb1c21dbd04cb399be38f4b4826 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/IPoolingStrategy.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/IPoolingStrategy.cs deleted file mode 100644 index 6e8d6f562..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/IPoolingStrategy.cs +++ /dev/null @@ -1,12 +0,0 @@ - -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -namespace RethinkDb.Driver.Net.Clustering -{ - public interface IPoolingStrategy : IConnection - { - HostEntry[] HostList { get; } - void AddHost(string host, Connection conn); - void Shutdown(); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/IPoolingStrategy.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/IPoolingStrategy.cs.meta deleted file mode 100644 index a7636a88c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/IPoolingStrategy.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c3e0292e136b7784ab49c98d00f844b9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/RoundRobinHostPool.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/RoundRobinHostPool.cs deleted file mode 100644 index 00345d17e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/RoundRobinHostPool.cs +++ /dev/null @@ -1,158 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; -using System.Threading; -using System.Threading.Tasks; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Net.Clustering -{ - /// - /// Create a new RoundRobin host pool. Each host is used in a round robin - /// strategy when processing each query. - /// - public class RoundRobinHostPool : HostPool - { - protected int nextHostIndex = -1; - - /// - /// Create a new RoundRobin host pool. Each host is used in a round robin - /// strategy when processing each query. When a host goes down, the supervisor will - /// wait retryDelayInitial timespan before trying again. If the reconnect fails, the - /// retry delay is doubled. Doubling of the retry is stopped at once the retry delay - /// is greater than retryDelayMax; thereafter, every subsequent retry is retryDelayMax. - /// The retryDelayInitial is 30 seconds, and retryDelayMax is 15 minutes. - /// - /// The initial retry delay when a host goes down. Default, null, is 30 seconds. - /// The maximum retry delay when a host goes down. Default, null, is 15 minutes. - public RoundRobinHostPool(TimeSpan? retryDelayInitial, TimeSpan? retryDelayMax) - : base(retryDelayInitial, retryDelayMax) - { - } - - /// - /// Create a new RoundRobin host pool. Each host is used in a round robin - /// strategy when processing each query. When a host goes down, the supervisor will - /// wait retryDelayInitial timespan before trying again. If the reconnect fails, the - /// retry delay is doubled. Doubling of the retry is stopped at once the retry delay - /// is greater than retryDelayMax; thereafter, every subsequent retry is retryDelayMax. - /// The retryDelayInitial is 30 seconds, and retryDelayMax is 15 minutes. - /// - public RoundRobinHostPool() : this(null, null) - { - } - - - public virtual HostEntry GetRoundRobin() - { - var hostCount = this.hostList.Length; //thread capture - - for( var i = 0; i < hostCount; i++ ) - { - var next = Interlocked.Increment(ref nextHostIndex); - var currentIndex = next % hostCount; - - var h = hostList[currentIndex]; - if( !h.Dead ) - { - return h; - } - } - - return hostList[0]; - } - - #region CONNECTION RUNNERS - - public override async Task RunAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - HostEntry host = GetRoundRobin(); - try - { - return await host.conn.RunAsync(term, globalOpts, cancelToken).ConfigureAwait(false); - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - public override async Task> RunCursorAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - HostEntry host = GetRoundRobin(); - try - { - return await host.conn.RunCursorAsync(term, globalOpts, cancelToken).ConfigureAwait(false); - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - public override async Task RunAtomAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - HostEntry host = GetRoundRobin(); - try - { - return await host.conn.RunAtomAsync(term, globalOpts, cancelToken).ConfigureAwait(false); - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - public override async Task RunResultAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - HostEntry host = GetRoundRobin(); - try - { - return await host.conn.RunResultAsync(term, globalOpts, cancelToken).ConfigureAwait(false); - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - public override void RunNoReply(ReqlAst term, object globalOpts) - { - HostEntry host = GetRoundRobin(); - try - { - host.conn.RunNoReply(term, globalOpts); - } - catch( Exception e ) when( ExceptionIs.NetworkError(e) ) - { - host.MarkFailed(); - throw; - } - } - - public override async Task RunUnsafeAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - HostEntry host = GetRoundRobin(); - try - { - return await host.conn.RunUnsafeAsync(term, globalOpts, cancelToken).ConfigureAwait(false); - } - catch (Exception e) when (ExceptionIs.NetworkError(e)) - { - host.MarkFailed(); - throw; - } - } - - #endregion - - public override void Dispose() - { - //nothing to do i guess. - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/RoundRobinHostPool.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/RoundRobinHostPool.cs.meta deleted file mode 100644 index 5cd29f27f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/RoundRobinHostPool.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1f397cf9ab2a33e448b9238d8b44ec45 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Seed.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Seed.cs deleted file mode 100644 index 464a1a4b9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Seed.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Net; - -namespace RethinkDb.Driver.Net.Clustering -{ - /// - /// Represents a RethinkDB server endpoint. - /// - public class Seed - { - /// - /// Create a new RethinkDB seed endpoint. - /// - public Seed(string ipAddress, int port = RethinkDBConstants.DefaultPort) - { - IPAddress.Parse(ipAddress); - this.IpAddress = ipAddress; - this.Port = port; - } - - /// - /// RethinkDB hostname - /// - public string IpAddress { get; } - - /// - /// RethinkDB port - /// - public int Port { get; } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Seed.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Seed.cs.meta deleted file mode 100644 index 7ddd3dbac..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Seed.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0dfbd40010e2cbb4893c7c950f799ab8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Server.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Server.cs deleted file mode 100644 index b21a50931..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Server.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Newtonsoft.Json; - -namespace RethinkDb.Driver.Net.Clustering -{ - internal class Server - { - public string Id { get; set; } - public string Name { get; set; } - public Network Network { get; set; } - } - - internal class Network - { - [JsonProperty("canonical_addresses")] - public CanonicalAddress[] CanonicalAddress { get; set; } - - public string Hostname { get; set; } - - [JsonProperty("reql_port")] - public int ReqlPort { get; set; } - } - - internal class CanonicalAddress - { - public string Host { get; set; } - public int Port { get; set; } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Server.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Server.cs.meta deleted file mode 100644 index bb0b5f571..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Clustering/Server.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f90f93b757fa5f54aa1a52e6a9db6a3c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Connection.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Connection.cs deleted file mode 100644 index 0a2f2a9fc..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Connection.cs +++ /dev/null @@ -1,726 +0,0 @@ -using System; -using System.Collections.Concurrent; -using System.Net; -using System.Net.Security; -using System.Security.Authentication; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; -using System.Text; -using System.Threading; -using System.Threading.Tasks; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net -{ - /// - /// Represents a single connection to a RethinkDB Server. - /// - public class Connection : IConnection - { - private long nextToken = 0; - - private string dbname; - private readonly TimeSpan? connectTimeout; - private readonly Handshake handshake; - - internal SocketWrapper Socket { get; private set; } - - private readonly ConcurrentDictionary cursorCache = new ConcurrentDictionary(); - private SslContext sslContext; - - /// - /// Raised when the underlying network connection has thrown an exception. - /// - public event EventHandler ConnectionError; - - internal Connection(Builder builder) - { - dbname = builder.dbname; - if( builder.authKey.IsNotNullOrEmpty() && builder.user.IsNotNullOrEmpty() ) - { - throw new ReqlDriverError("Either `authKey` or `user` can be used, but not both."); - } - - var user = builder.user ?? "admin"; - var password = builder.password ?? builder.authKey ?? ""; - - this.handshake = new Handshake(user, password); - - this.Hostname = builder.hostname ?? "localhost"; - this.Port = builder.port ?? RethinkDBConstants.DefaultPort; - connectTimeout = builder.timeout; - this.sslContext = builder.sslContext; - } - - /// - /// Hostname assigned to the connection. - /// - public string Hostname { get; } - - /// - /// TCP port number assigned to the connection. - /// - public int Port { get; } - - /// - /// Current default database for queries on the connection. To change default database, - /// - public virtual string Db => dbname; - - /// - /// Changes the default database on the connection. - /// - public virtual void Use(string db) - { - dbname = db; - } - - /// - /// Returns the connection timeout setting. - /// - public virtual TimeSpan? Timeout => connectTimeout; - - /// - /// Reconnects the underlying connection to the server. - /// - /// - /// The timeout value before throwing exception - public virtual void Reconnect(bool noreplyWait = false, TimeSpan? timeout = null) - { - ReconnectAsync(noreplyWait, timeout).WaitSync(); - } - - /// - /// Asynchronously reconnects the underlying connection to the server. - /// - /// - /// The timeout value before throwing exception - public virtual async Task ReconnectAsync(bool noreplyWait = false, TimeSpan? timeout = null) - { - Close(noreplyWait); - this.Socket = new SocketWrapper(this.Hostname, this.Port, timeout ?? connectTimeout, this.sslContext, OnSocketErrorCallback); - await this.Socket.ConnectAsync(handshake).ConfigureAwait(false); - } - - /// - /// Gets the connection state of the Socket. This property will return the latest - /// known state of the Socket. When it returns false, the Socket was either never connected - /// or it is not connected anymore. When it returns true, though, there's no guarantee that the Socket - /// is still connected, but only that it was connected at the time of the last IO operation. - /// - public virtual bool Open => this.Socket?.Open ?? false; - - /// - /// Retrieves the client-side local endpoint used to connect to the RethinkDB server. - /// - public virtual IPEndPoint ClientEndPoint => this.Socket?.ClientEndPoint; - - /// - /// Retrieves the server-side endpoint of the connection to the RethinkDB server. - /// - public virtual IPEndPoint RemoteEndPoint => this.Socket?.RemoteEndPoint; - - /// - /// Flag to check if the underlying socket has some kind of error. - /// - public virtual bool HasError => this.Socket?.HasError ?? false; - - /// - /// An exception throwing method to check the state of the - /// underlying socket. - /// - /// Throws when the underlying socket is closed. - public virtual void CheckOpen() - { - if( !this.Socket?.Open ?? true ) - { - throw new ReqlDriverError("Connection is closed."); - } - } - - /// - /// Called when the underlying encounters an error. - /// - protected void OnSocketErrorCallback(Exception e) - { - CleanUpCursorCache(e.Message); - - //raise event defensively. in case anyone else is subscribed - //we don't stop processing the rest of the subscribers. - this.ConnectionError.FireEvent(this, e); - } - - /// - /// Called when cleanup is needed. Usually when the connection was closed - /// and can no longer be used. The is in a state - /// where it must be "reconnected" before it can be used again. - /// - protected void CleanUpCursorCache(string message) - { - foreach( var cursor in this.cursorCache.Values ) - { - cursor.SetError(message); - } - cursorCache.Clear(); - } - - /// - /// Closes the connection. - /// - public void Dispose() - { - this.Close(false); - } - - /// - /// Closes the connection. - /// - /// - public virtual void Close(bool shouldNoReplyWait = true) - { - if( this.Socket != null ) - { - try - { - if( shouldNoReplyWait ) - { - NoReplyWait(); - } - } - finally - { - nextToken = 0; - this.Socket.Close(); - this.Socket = null; - } - } - - CleanUpCursorCache("The connection is closed."); - } - - - /// - /// Ensure that previous queries executed with NoReplyWait have been processed - /// by the server. Note that this guarantee only apples to queries run on the - /// same connection. - /// - public virtual void NoReplyWait() - { - NoReplyWaitAsync().WaitSync(); - } - - /// - /// Asynchronously ensures that previous queries executed with NoReplyWait have - /// been processed by the server. Note that this guarantee only apples to queries - /// run on the same connection. - /// - public virtual Task NoReplyWaitAsync(CancellationToken cancelToken = default) - { - return RunQueryWaitAsync(Query.NoReplyWait(NewToken()), cancelToken); - } - - - /// - /// Return the server name and server UUID being used by a connection. - /// - public virtual async Task ServerAsync(CancellationToken cancelToken = default) - { - var response = await SendQuery(Query.ServerInfo(NewToken()), cancelToken, awaitResponse: true).ConfigureAwait(false); - if( response.Type == ResponseType.SERVER_INFO ) - { - return response.Data[0].ToObject(Converter.Serializer); - } - throw new ReqlDriverError("Did not receive a SERVER_INFO response."); - } - - /// - /// Return the server name and server UUID being used by a connection. - /// - public virtual Server Server() - { - return ServerAsync().WaitSync(); - } - - - private long NewToken() - { - return Interlocked.Increment(ref nextToken); - } - - Task SendQueryReply(Query query) - { - return SendQuery(query, CancellationToken.None, awaitResponse: true); - } - - void SendQueryNoReply(Query query) - { - SendQuery(query, CancellationToken.None, awaitResponse: false); - } - - /// - /// Fast SUCCESS_SEQUENCE or SUCCESS_PARTIAL conversion without DLR dynamic. - /// - protected virtual async Task> RunQueryCursorAsync(Query query, CancellationToken cancelToken) - { - var res = await SendQuery(query, cancelToken, awaitResponse: true).ConfigureAwait(false); - if( res.IsPartial || res.IsSequence ) - { - return new Cursor(this, query, res); - } - if (res.IsError) - { - throw res.MakeError(query); - } - throw new ReqlDriverError( - $"The query response cannot be converted to a Cursor. The run helper " + - $"works with SUCCESS_SEQUENCE or SUCCESS_PARTIAL results. The server " + - $"response was {res.Type}. If the server response can be handled by " + - $"this run method check T. Otherwise, if the server response cannot " + - $"be handled by this run helper use `.RunAtom` or `.RunResult`."); - } - - /// - /// Fast SUCCESS_ATOM conversion without the DLR dynamic - /// - protected virtual async Task RunQueryAtomAsync(Query query, CancellationToken cancelToken) - { - var res = await SendQuery(query, cancelToken, awaitResponse: true).ConfigureAwait(false); - if( res.IsAtom ) - { - try - { - if( typeof(T).IsJToken() ) - { - if( res.Data[0].Type == JTokenType.Null ) return (T)(object)null; - var fmt = FormatOptions.FromOptArgs(query.GlobalOptions); - Converter.ConvertPseudoTypes(res.Data[0], fmt); - return (T)(object)res.Data[0]; //ugh ugly. find a better way to do this. - //return res.Data[0].ToObject(); - } - return res.Data[0].ToObject(Converter.Serializer); - - } - catch( IndexOutOfRangeException ex ) - { - throw new ReqlDriverError("Atom response was empty!", ex); - } - } - if( res.IsError ) - { - throw res.MakeError(query); - } - throw new ReqlDriverError( - $"The query response cannot be converted to an object of T or List. This run helper works with SUCCESS_ATOM results. The server response was {res.Type}. If the server response can be handled by this run method try converting to T or List. Otherwise, if the server response cannot be handled by this run helper use another run helper like `.RunCursor` or `.RunResult`."); - } - - - /// - /// Fast SUCCESS_ATOM or SUCCESS_SEQUENCE conversion without the DLR dynamic - /// - private async Task RunQueryResultAsync(Query query, CancellationToken cancelToken) - { - var res = await SendQuery(query, cancelToken, awaitResponse: true).ConfigureAwait(false); - if( res.IsAtom ) - { - try - { - if( typeof(T).IsJToken() ) - { - if( res.Data[0].Type == JTokenType.Null ) return (T)(object)null; - var fmt = FormatOptions.FromOptArgs(query.GlobalOptions); - Converter.ConvertPseudoTypes(res.Data[0], fmt); - return (T)(object)res.Data[0]; //ugh ugly. find a better way to do this. - } - return res.Data[0].ToObject(Converter.Serializer); - } - catch ( IndexOutOfRangeException ex ) - { - throw new ReqlDriverError("Atom response was empty!", ex); - } - } - if( res.IsSequence ) - { - if( typeof(T).IsJToken() ) - { - var fmt = FormatOptions.FromOptArgs(query.GlobalOptions); - Converter.ConvertPseudoTypes(res.Data, fmt); - return (T)(object)res.Data; //ugh ugly. find a better way to do this. - } - return res.Data.ToObject(Converter.Serializer); - } - if (res.IsError) - { - throw res.MakeError(query); - } - throw new ReqlDriverError( - $"The query response cannot be converted to an object of T or List " + - $"because the server response was {res.Type}. The `.RunResult` helper " + - $"only works with SUCCESS_ATOM or SUCCESS_SEQUENCE responses. When the query " + - $"response grows larger (over 100K), the response type from the server " + - $"can change from SUCCESS_SEQUENCE to SUCCESS_PARTIAL; in which case, you'll " + - $"need to use `.RunCursor` that handles both SUCCESS_SEQUENCE and SUCCESS_PARTIAL " + - $"response types. The `.RunResult` run helper is only meant to be a " + - $"convenience method for relatively quick and smaller responses."); - } - - /// - /// Asynchronously ensures that previous queries executed with NoReplyWait have - /// been processed by the server. Note that this guarantee only apples to queries - /// run on the same connection. - /// - protected virtual async Task RunQueryWaitAsync(Query query, CancellationToken cancelToken) - { - var res = await SendQuery(query, cancelToken, awaitResponse: true).ConfigureAwait(false); - if( res.IsWaitComplete ) - { - return; - } - if (res.IsError) - { - throw res.MakeError(query); - } - throw new ReqlDriverError( - $"The query response is not WAIT_COMPLETE. The returned query is {res.Type}. You need to call the appropriate run method that handles the response type for your query."); - } - - /// - /// Run the query but it's return type is standard dynamic. - /// - protected async Task RunQueryAsync(Query query, CancellationToken cancelToken) - { - //If you need to continue after an await, **while inside the driver**, - //as a library writer, you must use ConfigureAwait(false) on *your* - //await to tell the compiler NOT to resume - //on synchronization context (if one is present). - // - //The top most await (your user) will capture the correct synchronization context - //(if any) when they await on a query's run. - // - // https://channel9.msdn.com/Series/Three-Essential-Tips-for-Async/Async-library-methods-should-consider-using-Task-ConfigureAwait-false- - // http://blogs.msdn.com/b/lucian/archive/2013/11/23/talk-mvp-summit-async-best-practices.aspx - // - var res = await SendQuery(query, cancelToken, awaitResponse: true).ConfigureAwait(false); - - if( res.IsAtom ) - { - try - { - if( typeof(T).IsJToken() ) - { - if( res.Data[0].Type == JTokenType.Null ) return null; - var fmt = FormatOptions.FromOptArgs(query.GlobalOptions); - Converter.ConvertPseudoTypes(res.Data[0], fmt); - return res.Data[0]; - } - return res.Data[0].ToObject(typeof(T), Converter.Serializer); - } - catch ( IndexOutOfRangeException ex ) - { - throw new ReqlDriverError("Atom response was empty!", ex); - } - } - else if( res.IsPartial || res.IsSequence ) - { - return new Cursor(this, query, res); - } - else if( res.IsWaitComplete ) - { - return null; - } - else - { - throw res.MakeError(query); - } - } - - /// - /// Sends the query over to the underlying socket for sending. - /// - protected Task SendQuery(Query query, CancellationToken cancelToken, bool awaitResponse) - { - if( this.Socket == null ) throw new ReqlDriverError("No socket open."); - return this.Socket.SendQuery(query.Token, query.Serialize(), awaitResponse, cancelToken); - } - - /// - /// Prepares the query by setting the default DB if it doesn't exist. - /// - protected Query PrepareQuery(ReqlAst term, OptArgs globalOpts) - { - SetDefaultDb(globalOpts); - Query q = Query.Start(NewToken(), term, globalOpts); - if( globalOpts?.ContainsKey("noreply") == true ) - { - throw new ReqlDriverError("Don't provide the noreply option as an optarg. Use `.RunNoReply` instead of `.Run`"); - } - return q; - } - - /// - /// Sets the database if it's not already set. - /// - protected void SetDefaultDb(OptArgs globalOpts) - { - if( globalOpts?.ContainsKey("db") == false && this.dbname != null ) - { - // Only override the db global arg if the user hasn't - // specified one already and one is specified on the connection - globalOpts.With("db", this.dbname); - } - if( globalOpts?.ContainsKey("db") == true ) - { - // The db arg must be wrapped in a db ast object - globalOpts.With("db", new Db(Arguments.Make(globalOpts["db"]))); - } - } - - #region REQL AST RUNNERS - - //Typically called by the surface API of ReqlAst. - - Task IConnection.RunAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - Query q = PrepareQuery(term, OptArgs.FromAnonType(globalOpts)); - return RunQueryAsync(q, cancelToken); - } - - Task> IConnection.RunCursorAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - Query q = PrepareQuery(term, OptArgs.FromAnonType(globalOpts)); - return RunQueryCursorAsync(q, cancelToken); - } - - Task IConnection.RunAtomAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - Query q = PrepareQuery(term, OptArgs.FromAnonType(globalOpts)); - return RunQueryAtomAsync(q, cancelToken); - } - - Task IConnection.RunResultAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - Query q = PrepareQuery(term, OptArgs.FromAnonType(globalOpts)); - return RunQueryResultAsync(q, cancelToken); - } - - void IConnection.RunNoReply(ReqlAst term, object globalOpts) - { - var opts = OptArgs.FromAnonType(globalOpts); - SetDefaultDb(opts); - opts.With("noreply", true); - SendQueryNoReply(Query.Start(NewToken(), term, opts)); - } - - Task IConnection.RunUnsafeAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken) - { - Query q = PrepareQuery(term, OptArgs.FromAnonType(globalOpts)); - return SendQuery(q, cancelToken, awaitResponse: true); - } - - #endregion - - #region CURSOR SUPPORT - - internal virtual Task Continue(ICursor cursor) - { - return SendQueryReply(Query.Continue(cursor.Token)); - } - - internal virtual void Stop(ICursor cursor) - { - /* - neumino: The END query itself doesn't come back with a response - cowboy: ..... a Query[token,STOP], is like sending a very last CONTINUE, r:[] would contain the last bits of the finished seq - neumino: Yes a STOP is like a very last CONTINUE - neumino: If you have a pending CONTINUE, and send a STOP, you should get back two SUCCESS_SEQUENCE - */ - //this.Socket?.CancelAwaiter(cursor.Token); - SendQueryNoReply(Query.Stop(cursor.Token)); - } - - - internal void AddToCache(long token, ICursor cursor) - { - if( this.Socket == null ) - throw new ReqlDriverError("Can't add to cache when not connected."); - cursorCache[token] = cursor; - } - - internal void RemoveFromCache(long token) - { - ICursor removed; - if( !cursorCache.TryRemove(token, out removed) ) - { - Log.Trace($"Could not remove cursor token {token} from cursorCache."); - } - } - - #endregion - - internal static Builder Build() - { - return new Builder(); - } - - /// - /// The Connection builder. - /// - public class Builder : IConnectionBuilder - { - internal string hostname = null; - internal int? port = null; - internal string dbname = null; - internal TimeSpan? timeout = null; - internal string authKey = null; - internal string user = null; - internal string password = null; - internal SslContext sslContext = null; - - /// - /// The hostname or IP address of the server. - /// - /// Hostname or IP address - public virtual Builder Hostname(string hostnameOrIp) - { - this.hostname = hostnameOrIp; - return this; - } - - /// - /// The TCP port to connect with. - /// - public virtual Builder Port(int driverPort) - { - this.port = driverPort; - return this; - } - - /// - /// The default DB for queries. - /// - public virtual Builder Db(string database) - { - this.dbname = database; - return this; - } - - /// - /// The authorization key to the server. - /// - public virtual Builder AuthKey(string key) - { - this.authKey = key; - return this; - } - - /// - /// The user account and password to connect as (default "admin", ""). - /// - public virtual Builder User(string user, string password) - { - this.user = user; - this.password = password; - return this; - } - - /// - /// Note: Timeout is not used when using connectAsync(); - /// - /// - /// - public virtual Builder Timeout(int seconds) - { - this.timeout = TimeSpan.FromSeconds(seconds); - return this; - } - - /// - /// Creates and establishes the connection using the specified settings. - /// - public virtual Connection Connect() - { - return ConnectAsync().WaitSync(); - } - - /// - /// Asynchronously creates and establishes the connection using the specified settings. - /// - public virtual async Task ConnectAsync() - { - var conn = new Connection(this); - await conn.ReconnectAsync().ConfigureAwait(false); - return conn; - } - - /// - /// Enables SSL over the driver port. - /// - /// Context settings for the SSL stream. - public virtual Builder EnableSsl(SslContext context, string licenseTo, string licenseKey) - { - this.sslContext = context; - -#if !DEBUG - if( !LicenseVerifier.VerifyLicense(licenseTo, licenseKey) ) - { - throw new ReqlDriverError("The SSL/TLS usage license is invalid. Please check your license that you copied all the characters in your license. If you still have trouble, please contact support@bitarmory.com."); - } -#endif - return this; - } - } - } - - internal sealed class LicenseVerifier - { - public static bool VerifyLicense(string licenseTo, string licenseKey) - { - AssertKeyIsNotBanned(licenseKey); - - const string modulusString = - "tccosXHxEfxzsO1NgsAbGT0X+WuQMUYcj7r2UJCHDqqq3TbR7UoAgzjm3MV1k/eJxRnURypw2wj98eafyajeprk3lK6BnWa5tG8S7p3QU5kkUo7TnmTj8rRkTk9RwArIGGjKfCVZToE06UQudsJmw1UK3mku1qF0/hD909cSiCM="; - const string exponentString = "AQAB"; - - var data = Encoding.UTF8.GetBytes(licenseTo); - - var rsaParameters = new RSAParameters - { - Modulus = Convert.FromBase64String(modulusString), - Exponent = Convert.FromBase64String(exponentString) - }; -#if STANDARD - using( var rsa = System.Security.Cryptography.RSA.Create() ) -#else - using( var rsa = new System.Security.Cryptography.RSACryptoServiceProvider() ) -#endif - { - var licenseData = Convert.FromBase64String(licenseKey); - rsa.ImportParameters(rsaParameters); - - bool verified = false; - -#if STANDARD - verified = rsa.VerifyData(data, licenseData, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1); -#else - verified = rsa.VerifyData(data, CryptoConfig.MapNameToOID("SHA256"), licenseData); -#endif - return verified; - } - } - - internal static void AssertKeyIsNotBanned(string licenseKey) - { - var isBanned = - licenseKey.StartsWith( - "fuIIq8Pre2NzXVi0otn54PCx22NNAbNReAsk/ylDIV/ZrWeC60B+C76oj3/Ptb8b02vxPYdN6nR2nz3IgYG/O6Zy5TKoYl2UnR2aNq8sKxjv9siwsjMS82EZB8pxs0UwPoz+xmrKY40sqiIz+thDI2EH1MlGoZd+KfJImJp7fvI=") - || - licenseKey.StartsWith( - "tE4z+qpOuKWP4XfmAbnyepzI6m/qx2DaI+aDkMes94ujERmA7O6bb0100+LiClLymVLXYXNvkRBg7ot6NGlfyli/8x1h3IgL+HD8gFoWdTAN4oG8wE8ZyrFugnqmAHUDAy4h/KrOqB8VUXwGQh8Y/0ZxOBQb0KOaZJC/MUMbve8="); - - if( isBanned ) throw new UnauthorizedAccessException("The license key has expired."); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Connection.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Connection.cs.meta deleted file mode 100644 index 99ca00c12..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Connection.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 13890c76c058a6845a846e910fa7d8e2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Converter.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Converter.cs deleted file mode 100644 index ea4fb3899..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Converter.cs +++ /dev/null @@ -1,174 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Net.JsonConverters; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net -{ - /// - /// Configuration for RethinkDB's JSON serializer - /// - public static class Converter - { - static Converter() - { - InitializeDefault(); - } - - /// - /// Initializes default serializer settings. There is no need to call this manually - /// as it is already initialized in the static constructor. - /// - public static void InitializeDefault() - { - Converters = new JsonConverter[] - { - DateTimeConverter = new ReqlDateTimeConverter(), - BinaryConverter = new ReqlBinaryConverter(), - GroupingConverter = new ReqlGroupingConverter(), - PocoExprConverter = new PocoExprConverter(), - }; - - var settings = new JsonSerializerSettings() - { - Converters = Converters - }; - - Serializer = JsonSerializer.CreateDefault(settings); - } - - /// - /// An array of the JSON converters in this static class. - /// - public static JsonConverter[] Converters { get; set; } - - /// - /// The JSON serializer used for ser/deser. - /// - public static JsonSerializer Serializer { get; set; } - - - /// - /// DateTime converter to/from ReQL pseudo types - /// - public static ReqlDateTimeConverter DateTimeConverter { get; set; } - - /// - /// Binary converter to/from ReQL pseudo types - /// - public static ReqlBinaryConverter BinaryConverter { get; set; } - - /// - /// DateTime converter from ReQL grouping types - /// - public static ReqlGroupingConverter GroupingConverter { get; set; } - - /// - /// Allows anonymous types to be composed with ReQL expressions like R.Now() - /// - public static PocoExprConverter PocoExprConverter { get; set; } - - - /// - /// The pseudo type key - /// - public const string PseudoTypeKey = "$reql_type$"; - - /// - /// Discriminator for TIME types. - /// - public const string Time = "TIME"; - - /// - /// Discriminator for GROUPED_DATA types. - /// - public const string GroupedData = "GROUPED_DATA"; - - /// - /// Discriminator for GEOMETRY types. - /// - public const string Geometry = "GEOMETRY"; - - /// - /// Discriminator for BINARY types. - /// - public const string Binary = "BINARY"; - - - /// - /// Method for converting pseudo types in JToken (JObjects) - /// - public static void ConvertPseudoTypes(JToken data, FormatOptions fmt) - { - var reqlTypes = data.SelectTokens("$..$reql_type$").ToList(); - - foreach (var typeToken in reqlTypes) - { - var reqlType = typeToken.Value(); - //JObject -> JProerty -> JVaule:$reql_type$, go backup the chain. - var pesudoObject = typeToken.Parent.Parent as JObject; - - JToken convertedValue = null; - if (reqlType == Time) - { - if (fmt.RawTime) - continue; - convertedValue = new JValue(GetTime(pesudoObject)); - } - else if (reqlType == GroupedData) - { - if (fmt.RawGroups) - continue; - convertedValue = GetGrouped(pesudoObject); - } - else if (reqlType == Binary) - { - if (fmt.RawBinary) - continue; - convertedValue = new JValue(GetBinary(pesudoObject)); - } - else if (reqlType == Geometry) - { - // Nothing specific here - continue; - } - else - { - // Just leave unknown pseudo-types alone - continue; - } - - pesudoObject.Replace(convertedValue); - } - } - - private static object GetTime(JObject value) - { - double epoch_time = value["epoch_time"].ToObject(); - string timezone = value["timezone"].ToString(); - - if (Serializer.DateParseHandling == DateParseHandling.DateTime) - { - return ReqlDateTimeConverter.ConvertDateTime(epoch_time, timezone, Serializer.DateTimeZoneHandling); - } - else - { - return ReqlDateTimeConverter.ConvertDateTimeOffset(epoch_time, timezone); - } - } - - private static byte[] GetBinary(JObject value) - { - var base64 = value["data"].Value(); - return Convert.FromBase64String(base64); - } - - private static JToken GetGrouped(JObject value) - { - return value["data"]; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Converter.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Converter.cs.meta deleted file mode 100644 index 2feccd66d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Converter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2453721256548514781b8a5a88b3910f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Crypto.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Crypto.cs deleted file mode 100644 index 176416807..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Crypto.cs +++ /dev/null @@ -1,114 +0,0 @@ -using System; -using System.Security.Cryptography; -using System.Text; - -namespace RethinkDb.Driver.Net -{ - internal class Crypto - { - private static readonly SecureRandom SecureRandom = new SecureRandom(); - - private const int NonceBytes = 18; - - public const int Pbkdf2Iterations = 4096; - - - public static byte[] Sha256(byte[] clientKey) - { - using( var sha = new IncrementalSHA256() ) - { - sha.AppendData(clientKey); - return sha.GetHashAndReset(); - } - } - - public static byte[] Hmac(byte[] key, string str) - { - using( var mac = new HMACSHA256(key) ) - { - return mac.ComputeHash(Encoding.UTF8.GetBytes(str)); - } - } - - public static byte[] Pbkdf2(byte[] password, byte[] salt, int iterations = Pbkdf2Iterations) - { - /* - // Algorithm Credits to https://github.com/vexocide - // - // Implements PBKDF2WithHmacSHA256 in Java. Beautifully Amazing. - using (var mac = new HMACSHA256(password)) - { - mac.TransformBlock(salt, 0, salt.Length, salt, 0); - byte[] i = { 0, 0, 0, 1 }; - mac.TransformFinalBlock(i, 0, i.Length); - byte[] t = mac.Hash; - mac.Initialize(); - - byte[] u = t; - for (uint c = 2; c <= iterations; c++) - { - t = mac.ComputeHash(t); - for (int j = 0; j < mac.HashSize / 8; j++) - { - u[j] ^= t[j]; - } - } - - return u; - } -*/ -#if STANDARD - using( var macSalt = IncrementalHash.CreateHMAC(HashAlgorithmName.SHA256, password) ) -#endif - using ( var mac = new HMACSHA256(password) ) - { -#if STANDARD - macSalt.AppendData(salt); -#else - mac.TransformBlock(salt, 0, salt.Length, salt, 0); -#endif - byte[] i = {0, 0, 0, 1}; -#if STANDARD - macSalt.AppendData(i); -#else - mac.TransformFinalBlock(i, 0, i.Length); -#endif -#if STANDARD - byte[] t = macSalt.GetHashAndReset(); -#else - byte[] t = mac.Hash; - mac.Initialize(); -#endif - - byte[] u = t; - - for( uint c = 2; c <= iterations; c++ ) - { - t = mac.ComputeHash(t); - for( int j = 0; j < mac.HashSize / 8; j++ ) - { - u[j] ^= t[j]; - } - } - - return u; - } - } - - public static string MakeNonce() - { - byte[] rawNonce = new byte[NonceBytes]; - SecureRandom.GetBytes(rawNonce); - return Convert.ToBase64String(rawNonce); - } - - public static byte[] Xor(byte[] a, byte[] b) - { - byte[] result = new byte[a.Length]; - for( var i = 0; i < result.Length; i++ ) - result[i] = (byte)(a[i] ^ b[i]); - - return result; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Crypto.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Crypto.cs.meta deleted file mode 100644 index 7d3321997..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Crypto.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 520c9044a892be34b86c5e71a62cc17b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Cursor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Cursor.cs deleted file mode 100644 index 6832182b3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Cursor.cs +++ /dev/null @@ -1,340 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net -{ - /// - /// Cursor that handles stream types of responses. - /// - /// The underlying item being iterated over. - public class Cursor : IEnumerable, IEnumerator, ICursor - { - private readonly Connection conn; - - private bool TIsJToken = false; - - private Query query; - - internal Cursor(Connection conn, Query query, Response firstResponse) - { - this.conn = conn; - this.query = query; - this.IsFeed = firstResponse.IsFeed; - this.Token = query.Token; - this.TIsJToken = typeof(T).IsJToken(); - - this.fmt = FormatOptions.FromOptArgs(query.GlobalOptions); - - this.conn.AddToCache(this.Token, this); - //is the first response all there is? - this.sequenceFinished = firstResponse.Type == ResponseType.SUCCESS_SEQUENCE; - MaybeSendContinue(); - ExtendBuffer(firstResponse); - } - - /// - /// The size of the buffered items. - /// - public int BufferedSize => this.items.Count; - - /// - /// The list of items in the queue. This does not include the Current item. - /// - public List BufferedItems => items.Select(Convert).ToList(); - - /// - /// Whether the Cursor is any kind of feed. - /// - public bool IsFeed { get; } - - /// - /// A flag to determine if the cursor can still be used. - /// - public bool IsOpen => this.Error == null; - - /// - /// If any, the error that disabled the cursor. - /// - public Exception Error { get; private set; } - - /// - /// The token of the query that the cursor represents. This is a unique cursor ID. - /// - public long Token { get; } - - private Task pendingContinue; - - private readonly Queue items = new Queue(); - - //we need these to keep track of the run options - //for things like "time_format: 'raw'" - private FormatOptions fmt; - - void AdvanceCurrent() - { - var item = items.Dequeue(); - this.Current = Convert(item); - } - - /// - /// Advances the cursor to the next item. This is a blocking operation - /// if there are no buffered items to advance on and a response from - /// the server is needed. - /// - public bool MoveNext() - { - return MoveNextAsync().WaitSync(); - } - - /// - /// Asynchronously advances the cursor to the next item. - /// - /// - /// - /// - /// Used to cancel the advancement of the next item if it takes too long. - /// - /// - /// The has no effect if the cursor still - /// has buffered items to draw from. Cancellation pertains to the - /// wait on an outstanding network request that is taking too long. - /// - /// - /// If the is canceled before - /// is called, - /// is thrown immediately before any operation begins. - /// - /// - /// Additionally, cancellation is a safe operation. When - /// a is thrown, the exception will - /// not disrupt the ordering of cursor items. Cancellation only pertains to - /// the semantic *wait* on a pending network request. Cancellation will not - /// cancel an already in-progress network request for more items. - /// Therefore, a - /// will not disrupt the success of future precedent calls - /// to . Network requests will still arrive - /// in order at some later time. - /// - /// - /// - /// - /// - /// Thrown when is canceled before - /// is called. - /// - /// - /// Thrown when there are no buffered items to draw from and operation - /// requires waiting on a response from the server. - /// - /// - /// When is thrown the exception - /// will not disrupt the ordering of items. Any non-canceled precedent calls to - /// from an antecedent canceled - /// will advance the cursor normally and maintain ordering of items. - /// - /// - public async Task MoveNextAsync(CancellationToken cancelToken = default) - { - cancelToken.ThrowIfCancellationRequested(); - while( items.Count == 0 ) - { - if( !this.IsOpen ) return false; - - //our buffer is empty, we need to expect the next batch of items. - - if( !this.pendingContinue.IsCompleted ) - { - //the next batch isn't here yet. so, - //let's await and honor the cancelToken. - - //create a task that is controlled by the token. - using( var cancelTask = new CancellableTask(cancelToken) ) - { - //now await on either task, pending or the cancellation of the CancellableTask. - await Task.WhenAny(this.pendingContinue, cancelTask.Task).ConfigureAwait(false); - //if it was the cancelTask that triggered the continuation... throw if requested. - cancelToken.ThrowIfCancellationRequested(); - //else, no cancellation was requested. - //we can proceed by processing the results we awaited for. - } //ensure the disposal of the cancelToken registration upon exiting scope - } - - //if we get here, the next batch should be available. - var newBatch = this.pendingContinue.Result; - this.pendingContinue = null; - MaybeSendContinue(); - this.ExtendBuffer(newBatch); - } - - //either way, we have something to advance. - AdvanceCurrent(); - - return true; - } - - void MaybeSendContinue() - { - if( this.IsOpen && this.conn.Open && pendingContinue == null && !sequenceFinished ) - { - this.pendingContinue = this.conn.Continue(this); - } - } - - void ExtendBuffer(Response response) - { - if( this.IsOpen ) - { - if( response.IsPartial ) - { - //SUCCESS_PARTIAL - foreach( var jToken in response.Data ) - { - items.Enqueue(jToken); - } - } - else if( response.IsSequence ) - { - //SUCCESS_SEQUENCE - foreach( var jToken in response.Data ) - { - items.Enqueue(jToken); - } - this.SequenceFinished(); - } - else if ( response.IsError ) - { - var ex = response.MakeError(query); - this.Shutdown(ex); - throw ex; - } - else - { - throw new NotSupportedException( - $"Cursor cannot extend the response. The response was not a SUCCESS_PARTIAL or SUCCESS_SEQUENCE. The response type the cursor received was {response.Type}."); - } - } - } - - T Convert(JToken token) - { - if( this.TIsJToken ) - { - Converter.ConvertPseudoTypes(token, fmt); - return (T)(object)token; //ugh ugly. find a better way to do this. - } - return token.ToObject(Converter.Serializer); - } - - bool sequenceFinished; - - void SequenceFinished() - { - sequenceFinished = true; - this.Shutdown("The sequence is finished. There are no more items to iterate over."); - } - - /// - /// Disposes the Cursor so it cannot be used anymore. - /// - public void Dispose() - { - this.Shutdown("The Cursor was disposed. Iteration cannot continue. If the Cursor was used in a LINQ expression LINQ may have called .Dispose() on the Cursor."); - } - - /// - /// Forcibly closes the Cursor so it cannot be used anymore. - /// - public void Close() - { - this.Shutdown("The Cursor was forcibly closed. Iteration cannot continue."); - } - - - void Shutdown(Exception ex) - { - if (this.conn.Open && this.IsOpen) - { - conn.RemoveFromCache(this.Token); - if (!sequenceFinished) - { - conn.Stop(this); - } - SetError(ex); - } - else - { - SetError(ex); - } - } - - void Shutdown(string reason) - { - Shutdown(new InvalidOperationException(reason)); - } - - internal void SetError(Exception ex) - { - if (this.Error != null) return; - this.Error = ex; - } - - //Some trickery just so we don't expose SetError - //on the public API surface. - internal void SetError(string msg) - { - SetError(new InvalidOperationException(msg)); - } - - void ICursor.SetError(string msg) - { - SetError(msg); - } - - /// - /// Clears . Any advancement after the buffer - /// is cleared will cause a new batch of items to be buffered. - /// - public void ClearBuffer() - { - this.items.Clear(); - } - - /// - /// Throws always. A Cursor cannot be reset. Hidden from public use. - /// - /// Throws always. A Cursor cannot be reset. - void IEnumerator.Reset() - { - throw new InvalidOperationException("A Cursor cannot be reset."); - } - - /// - /// The current item in iteration. - /// - public T Current { get; private set; } - - object IEnumerator.Current => this.Current; - - /// - /// The cursor's enumerator - /// - public IEnumerator GetEnumerator() - { - return this; - } - - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Cursor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Cursor.cs.meta deleted file mode 100644 index 8995d4c37..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Cursor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: efa25d2552a05b84eb1d792271c688c7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/FormatOptions.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/FormatOptions.cs deleted file mode 100644 index d9280bc46..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/FormatOptions.cs +++ /dev/null @@ -1,52 +0,0 @@ -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; - -namespace RethinkDb.Driver.Net -{ - /// - /// ReQL pseudo type format options for JToken (JObject, JArray) derivatives. - /// - public class FormatOptions - { - /// - /// Leave $reql_time$:TIME types as raw - /// - public bool RawTime { get; set; } - /// - /// Leave $reql_time$:GROUPED_DATA types as raw - /// - public bool RawGroups { get; set; } - - /// - /// Leave $reql_time$:BINARY types as raw - /// - public bool RawBinary { get; set; } - - /// - /// Format options for JToken - /// - public FormatOptions() - { - } - - /// - /// Factory method for FormatOptions from OptArgs - /// - public static FormatOptions FromOptArgs(OptArgs args) - { - var fmt = new FormatOptions(); - // TODO: find a better way to do this. - ReqlAst datum; - var value = args.TryGetValue("time_format", out datum) ? ((Datum)datum).datum : new Datum("native").datum; - fmt.RawTime = value.Equals("raw"); - - value = args.TryGetValue("binary_format", out datum) ? ((Datum)datum).datum : new Datum("native").datum; - fmt.RawBinary = value.Equals("raw"); - - value = args.TryGetValue("group_format", out datum) ? ((Datum)datum).datum : new Datum("native").datum; - fmt.RawGroups = value.Equals("raw"); - - return fmt; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/FormatOptions.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/FormatOptions.cs.meta deleted file mode 100644 index 037bc80e9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/FormatOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cc0c1e2627ddd3340a9f175623a07970 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Handshake.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Handshake.cs deleted file mode 100644 index 2898e3872..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Handshake.cs +++ /dev/null @@ -1,305 +0,0 @@ -using System.IO; -using System.Linq; -using System.Text; -using Newtonsoft.Json.Linq; - -namespace RethinkDb.Driver.Net -{ - internal class Handshake - { - const Proto.Version Version = Proto.Version.V1_0; - const long SubProtocolVersion = 0L; - const Proto.Protocol Protocol = Proto.Protocol.JSON; - - private const string ClientKey = "Client Key"; - private const string ServerKey = "Server Key"; - - private string username; - private string password; - - private IProtocolState state; - - private interface IProtocolState - { - IProtocolState NextState(string response); - byte[] ToSend(); - bool IsFinished { get; } - } - - public Handshake(string username, string password) - { - this.username = username; - this.password = password; - } - - class InitialState : IProtocolState - { - private readonly string nonce; - private readonly string username; - private readonly byte[] password; - - internal InitialState(string username, string password) - { - this.username = username; - this.password = Encoding.UTF8.GetBytes(password); - this.nonce = Crypto.MakeNonce(); - } - - public IProtocolState NextState(string response) - { - if( response != null ) - { - throw new ReqlDriverError("Unexpected response"); - } - // We could use a json serializer, but it's fairly straightforward - var clientFirstMessageBare = new ScramAttributes() - .SetUsername(username) - .SetNonce(nonce); - - byte[] jsonBytes = Encoding.UTF8.GetBytes( - "{" + - "\"protocol_version\":" + SubProtocolVersion + "," + - "\"authentication_method\":\"SCRAM-SHA-256\"," + - "\"authentication\":" + "\"n,," + clientFirstMessageBare + "\"" + - "}" - ); - - byte[] msg; - using (var ms = new MemoryStream()) - using (var bw = new BinaryWriter(ms)) - { - bw.Write((int)Version); - bw.Write(jsonBytes); - bw.Write('\0'); - bw.Flush(); - msg = ms.ToArray(); - } - - return new WaitingForProtocolRange( - nonce, password, clientFirstMessageBare, msg); - } - - - public byte[] ToSend() - { - return null; - } - - - public bool IsFinished => false; - } - - class WaitingForProtocolRange : IProtocolState - { - private string nonce; - private byte[] message; - private ScramAttributes clientFirstMessageBare; - private byte[] password; - - internal WaitingForProtocolRange( - string nonce, - byte[] password, - ScramAttributes clientFirstMessageBare, - byte[] message) - { - this.nonce = nonce; - this.password = password; - this.clientFirstMessageBare = clientFirstMessageBare; - this.message = message; - } - - - public IProtocolState NextState(string response) - { - var json = JObject.Parse(response); - ThrowIfFailure(json); - long minVersion = json["min_protocol_version"].Value(); - long maxVersion = json["max_protocol_version"].Value(); - if( SubProtocolVersion < minVersion || SubProtocolVersion > maxVersion ) - { - throw new ReqlDriverError( - "Unsupported protocol version " + SubProtocolVersion + - ", expected between " + minVersion + " and " + maxVersion); - } - return new WaitingForAuthResponse(nonce, password, clientFirstMessageBare); - } - - - public byte[] ToSend() - { - return message; - } - - - public bool IsFinished => false; - } - - private class WaitingForAuthResponse : IProtocolState - { - private string nonce; - private byte[] password; - private ScramAttributes clientFirstMessageBare; - - public WaitingForAuthResponse(string nonce, byte[] password, ScramAttributes clientFirstMessageBare) - { - this.nonce = nonce; - this.password = password; - this.clientFirstMessageBare = clientFirstMessageBare; - } - - - public IProtocolState NextState(string response) - { - var json = JObject.Parse(response); - ThrowIfFailure(json); - string serverFirstMessage = json["authentication"].Value(); - ScramAttributes serverAuth = ScramAttributes.From(serverFirstMessage); - if( !serverAuth.Nonce.StartsWith(nonce) ) - { - throw new ReqlAuthError("Invalid nonce from server"); - } - ScramAttributes clientFinalMessageWithoutProof = new ScramAttributes() - .SetHeaderAndChannelBinding("biws") - .SetNonce(serverAuth.Nonce); - - // SaltedPassword := Hi(Normalize(password), salt, i) - byte[] saltedPassword = Crypto.Pbkdf2( - password, serverAuth.Salt, serverAuth.IterationCount); - - // ClientKey := HMAC(SaltedPassword, "Client Key") - byte[] clientKey = Crypto.Hmac(saltedPassword, ClientKey); - - // StoredKey := H(ClientKey) - byte[] storedKey = Crypto.Sha256(clientKey); - - // AuthMessage := client-first-message-bare + "," + - // server-first-message + "," + - // client-final-message-without-proof - string authMessage = - clientFirstMessageBare + "," + - serverFirstMessage + "," + - clientFinalMessageWithoutProof; - - // ClientSignature := HMAC(StoredKey, AuthMessage) - byte[] clientSignature = Crypto.Hmac(storedKey, authMessage); - - // ClientProof := ClientKey XOR ClientSignature - byte[] clientProof = Crypto.Xor(clientKey, clientSignature); - - // ServerKey := HMAC(SaltedPassword, "Server Key") - byte[] serverKey = Crypto.Hmac(saltedPassword, ServerKey); - - // ServerSignature := HMAC(ServerKey, AuthMessage) - byte[] serverSignature = Crypto.Hmac(serverKey, authMessage); - - ScramAttributes auth = clientFinalMessageWithoutProof - .SetClientProof(clientProof); - byte[] authJson = Encoding.UTF8.GetBytes("{\"authentication\":\"" + auth + "\"}"); - - byte[] message; - using (var ms = new MemoryStream()) - using (var bw = new BinaryWriter(ms)) - { - bw.Write(authJson); - bw.Write('\0'); - bw.Flush(); - message = ms.ToArray(); - } - - return new WaitingForAuthSuccess(serverSignature, message); - } - - - public byte[] ToSend() - { - return null; - } - - - public bool IsFinished => false; - } - - private class WaitingForAuthSuccess : IProtocolState - { - private byte[] serverSignature; - private byte[] message; - - public WaitingForAuthSuccess(byte[] serverSignature, byte[] message) - { - this.serverSignature = serverSignature; - this.message = message; - } - - - public IProtocolState NextState(string response) - { - var json = JObject.Parse(response); - ThrowIfFailure(json); - ScramAttributes auth = ScramAttributes - .From(json["authentication"].Value()); - - - if( !auth.ServerSignature.SequenceEqual(serverSignature) ) - { - throw new ReqlAuthError("Invalid server signature"); - } - return new HandshakeSuccess(); - } - - - public byte[] ToSend() - { - return message; - } - - - public bool IsFinished => false; - } - - private class HandshakeSuccess : IProtocolState - { - public IProtocolState NextState(string response) - { - return this; - } - - - public byte[] ToSend() - { - return null; - } - - - public bool IsFinished => true; - } - - static void ThrowIfFailure(JObject json) - { - if( !json["success"].Value() ) - { - long errorCode = json["error_code"].Value(); - if( errorCode >= 10 && errorCode <= 20 ) - { - throw new ReqlAuthError(json["error"].Value()); - } - else - { - throw new ReqlDriverError(json["error"].Value()); - } - } - } - - public void Reset() - { - this.state = new InitialState(this.username, this.password); - } - - public byte[] NextMessage(string response) - { - this.state = this.state.NextState(response); - return this.state.ToSend(); - } - - public bool IsFinished => this.state.IsFinished; - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Handshake.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Handshake.cs.meta deleted file mode 100644 index 9034cfbb7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Handshake.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b9cb132d245e664e806a3b7c0b652bd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnection.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnection.cs deleted file mode 100644 index 75c45d383..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnection.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using System.Threading; -using System.Threading.Tasks; -using RethinkDb.Driver.Ast; - -namespace RethinkDb.Driver.Net -{ - /// - /// Represents a marker interface for either a Connection or ConnectionPool. - /// This should really only be used for IoC purpose. Do not call methods - /// explicitly from this interface, instead the Run* methods at the end of a query. - /// - public interface IConnection : IDisposable - { - /// - /// DO NOT CALL THIS METHOD EXPLICITLY. USE Run*() METHODS AT THE END OF YOUR QUERY. - /// - Task RunAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - - /// - /// DO NOT CALL THIS METHOD EXPLICITLY. USE Run*() METHODS AT THE END OF YOUR QUERY. - /// - Task> RunCursorAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - - /// - /// DO NOT CALL THIS METHOD EXPLICITLY. USE Run*() METHODS AT THE END OF YOUR QUERY. - /// - Task RunAtomAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - - /// - /// DO NOT CALL THIS METHOD EXPLICITLY. USE Run*() METHODS AT THE END OF YOUR QUERY. - /// - Task RunResultAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - - /// - /// DO NOT CALL THIS METHOD EXPLICITLY. USE Run*() METHODS AT THE END OF YOUR QUERY. - /// - void RunNoReply(ReqlAst term, object globalOpts); - - /// - /// DO NOT CALL THIS METHOD EXPLICITLY. USE Run*() METHODS AT THE END OF YOUR QUERY. - /// - Task RunUnsafeAsync(ReqlAst term, object globalOpts, CancellationToken cancelToken); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnection.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnection.cs.meta deleted file mode 100644 index cfa76c4a3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnection.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8b78a9769d0fd274881483ca8b87d5d1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnectionBuilder.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnectionBuilder.cs deleted file mode 100644 index b9f93a5bf..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnectionBuilder.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace RethinkDb.Driver.Net -{ - internal interface IConnectionBuilder - { - /// - /// The default DB for queries. - /// - TBuilder Db(string val); - - /// - /// The authorization key to the server. - /// - TBuilder AuthKey(string key); - - /// - /// The user account and password to connect as (default "admin", ""). - /// - TBuilder User(string user, string password); - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnectionBuilder.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnectionBuilder.cs.meta deleted file mode 100644 index 9d517cf22..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IConnectionBuilder.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b65fae6ab0a16d34f92a9de08a36be24 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ICursor.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ICursor.cs deleted file mode 100644 index c76d198f8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ICursor.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.Collections; - -namespace RethinkDb.Driver.Net -{ - internal interface ICursor : IEnumerable, IEnumerator - { - void SetError(string msg); - long Token { get; } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ICursor.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ICursor.cs.meta deleted file mode 100644 index ffdf08c25..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ICursor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7ec8198cae2ae6247afc3c71d4ecc827 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IncrementalSHA256.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IncrementalSHA256.cs deleted file mode 100644 index 764fefb6d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IncrementalSHA256.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Security.Cryptography; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net -{ - /// - /// Cross platform SHA 256 Hasher - /// - public class IncrementalSHA256 : IDisposable - { -#if STANDARD - private IncrementalHash hasher; -#else - private SHA256 hasher; -#endif - - /// - /// Constructor - /// - public IncrementalSHA256() - { -#if STANDARD - hasher = IncrementalHash.CreateHash(HashAlgorithmName.SHA256); -#else - hasher = SHA256.Create(); -#endif - } - - /// - /// Updates the hash value - /// - public void AppendData(byte[] data) - { -#if STANDARD - hasher.AppendData(data); -#else - hasher.TransformBlock(data, 0, data.Length, null, 0); -#endif - } - - /// - /// Gets the final hash calculation in hex string. - /// - public string GetHashStringAndReset() - { - return StringHelper.GetHexString(GetHashAndReset()); - } - - /// - /// Gets the final hash calculation as byte array. - /// - public byte[] GetHashAndReset() - { -#if STANDARD - return hasher.GetHashAndReset(); -#else - hasher.TransformFinalBlock(new byte[0], 0, 0); - return hasher.Hash; -#endif - } - - /// - /// Disposes the hasher. - /// - public void Dispose() - { - hasher.Dispose(); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IncrementalSHA256.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IncrementalSHA256.cs.meta deleted file mode 100644 index 90f1b79f3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/IncrementalSHA256.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 39f7ba06bee9ee949a2f115cd645075a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters.meta deleted file mode 100644 index 7d7886f96..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ef607916570060e43b43ffe5f2b2b130 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ExtensionsForJsonConverters.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ExtensionsForJsonConverters.cs deleted file mode 100644 index ce848e5ed..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ExtensionsForJsonConverters.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using Newtonsoft.Json; - -namespace RethinkDb.Driver.Net.JsonConverters -{ - internal static class ExtensionsForJsonConverters - { - public static void ReadAndAssertProperty(this JsonReader reader, string propertyName) - { - ReadAndAssert(reader); - if( (reader.TokenType != JsonToken.PropertyName) || !string.Equals(reader.Value.ToString(), propertyName, StringComparison.OrdinalIgnoreCase) ) - { - throw new JsonSerializationException($"Expected JSON property '{propertyName}'."); - } - } - - public static void ReadAndAssert(this JsonReader reader) - { - if( !reader.Read() ) - { - throw new JsonSerializationException("Unexpected end."); - } - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ExtensionsForJsonConverters.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ExtensionsForJsonConverters.cs.meta deleted file mode 100644 index 550d33521..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ExtensionsForJsonConverters.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c6e4e9ce7bc4f42469f6e3f654828297 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlBinaryConverter.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlBinaryConverter.cs deleted file mode 100644 index 0ce62eb94..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlBinaryConverter.cs +++ /dev/null @@ -1,61 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; -using Newtonsoft.Json; - -namespace RethinkDb.Driver.Net.JsonConverters -{ - public class ReqlBinaryConverter : JsonConverter - { - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - writer.WriteStartObject(); //convert to $reql_type$ - writer.WritePropertyName(Converter.PseudoTypeKey); - writer.WriteValue(Converter.Binary); - writer.WritePropertyName("data"); - - writer.WriteValue(Convert.ToBase64String((byte[])value)); - writer.WriteEndObject(); - } - - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - { - if( reader.TokenType == JsonToken.Null ) - { - return null; - } - - if( reader.TokenType != JsonToken.StartObject ) - { - var msg = string.Join(" ", - $"The JSON representation of binary data (byte[]) when parsing the server response is not a {Converter.PseudoTypeKey}:{Converter.Binary} object.", - $"This happens if your JSON document contains binary data (byte[]) in some other format (like a base64 string only) rather than a native RethinkDB pseudo type {Converter.PseudoTypeKey}:{Converter.Binary} object.", - $"If you are overriding the default Ser/Deserialization process, you need to make sure byte[] is a native {Converter.PseudoTypeKey}:{Converter.Binary} objects before using the built-in {nameof(ReqlBinaryConverter)}.", - "See https://rethinkdb.com/docs/data-types/ for more information about how binary data is represented in RethinkDB."); - throw new JsonSerializationException(msg); - } - - reader.ReadAndAssertProperty(Converter.PseudoTypeKey); - var reql_type = reader.ReadAsString(); - if( reql_type != Converter.Binary ) - { - throw new JsonSerializationException($"Expected {Converter.PseudoTypeKey} should be {Converter.Binary} but got {reql_type}."); - } - - reader.ReadAndAssertProperty("data"); - - var data = reader.ReadAsBytes(); - - //realign and get out of the pseudo type - //one more post read to align out of { reql_type:BINARY, data:""} - reader.ReadAndAssert(); - - return data; - } - - public override bool CanConvert(Type objectType) - { - return objectType == typeof(byte[]); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlBinaryConverter.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlBinaryConverter.cs.meta deleted file mode 100644 index 3019a675e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlBinaryConverter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5cb78180ac36d2f4ca867e62e0134f72 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlDateTimeConverter.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlDateTimeConverter.cs deleted file mode 100644 index 339681c3c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlDateTimeConverter.cs +++ /dev/null @@ -1,143 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - -namespace RethinkDb.Driver.Net.JsonConverters -{ - public class ReqlDateTimeConverter : JsonConverter - { - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - writer.WriteStartObject(); - writer.WritePropertyName(Converter.PseudoTypeKey); - writer.WriteValue(Converter.Time); - writer.WritePropertyName("epoch_time"); - DateTimeOffset dto; - if( value is DateTimeOffset ) - { - dto = (DateTimeOffset)value; - } - else //value is DateTime - { - var dt = (DateTime)value; - if( dt == DateTime.MinValue ) - { //Ugh. Make MinValue consistent cross-platform on Windows and Linux. - //See: https://github.com/dotnet/corefx/issues/9019 - // https://github.com/bchavez/RethinkDb.Driver/issues/66 - //Either way, we shunt the value to MinValue and avoid - //conversion of MinValue. - dto = DateTimeOffset.MinValue; - } - else - { - dto = new DateTimeOffset((DateTime)value); - } - } - writer.WriteValue(ToUnixTime(dto)); - writer.WritePropertyName("timezone"); - var offset = $"{(dto.Offset < TimeSpan.Zero ? "-" : "+")}{dto.Offset.ToString("hh':'mm")}"; - writer.WriteValue(offset); - writer.WriteEndObject(); - } - - //http://stackoverflow.com/questions/2883576/how-do-you-convert-epoch-time-in-c - public static double ToUnixTime(DateTimeOffset date) - { - return ToUnixTime(date.UtcTicks); - } - - public static double ToUnixTime(long utcTicks) - { - return (utcTicks - 621355968000000000) / 10000000.0; - } - - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - { - if( reader.TokenType == JsonToken.Null ) - { - return null; - } - - if( reader.TokenType != JsonToken.StartObject ) - { - var msg = string.Join(" ", - $"The JSON representation of a DateTime/DateTimeOffset when parsing the server response is not a {Converter.PseudoTypeKey}:{Converter.Time} object.", - $"This happens if your JSON document contains DateTime/DateTimeOffsets in some other format (like an ISO8601 string) rather than a native RethinkDB pseudo type {Converter.PseudoTypeKey}:{Converter.Time} object.", - $"If you are overriding the default Ser/Deserialization process, you need to make sure DateTime/DateTimeOffset are native {Converter.PseudoTypeKey}:{Converter.Time} objects before using the built-in {nameof(ReqlDateTimeConverter)}.", - "See https://rethinkdb.com/docs/data-types/ for more information about how Date and Times are represented in RethinkDB."); - throw new JsonSerializationException(msg); - } - - reader.ReadAndAssertProperty(Converter.PseudoTypeKey); - var reql_type = reader.ReadAsString(); - if( reql_type != Converter.Time ) - { - throw new JsonSerializationException($"Expected {Converter.PseudoTypeKey} should be {Converter.Time} but got {reql_type}."); - } - - reader.ReadAndAssertProperty("epoch_time"); - var epoch_time = reader.ReadAsDouble(); - if( epoch_time == null ) - { - throw new JsonSerializationException($"The {Converter.PseudoTypeKey}:{Converter.Time} object doesn't have an epoch_time value."); - } - - reader.ReadAndAssertProperty("timezone"); - var timezone = reader.ReadAsString(); - - //realign and get out of the pseudo type - //one more post read to align out of { reql_type:TIME, .... } - reader.ReadAndAssert(); - - if( objectType == typeof(DateTimeOffset) || - objectType == typeof(DateTimeOffset?) ) - { - return ConvertDateTimeOffset(epoch_time.Value, timezone); - } - else - { - return ConvertDateTime(epoch_time.Value, timezone, serializer.DateTimeZoneHandling); - } - } - - public static DateTimeOffset ConvertDateTimeOffset(double epoch_time, string timezone) - { - var tz = TimeSpan.Parse(timezone.Substring(1)); - if (!timezone.StartsWith("+")) - tz = -tz; - - var epoch = new DateTimeOffset(1970, 1, 1, 0, 0, 0, TimeSpan.Zero); - var dt = epoch + TimeSpan.FromSeconds(epoch_time); - - return dt.ToOffset(tz); - } - - public static DateTime ConvertDateTime(double epoch_time, string timezone, DateTimeZoneHandling tzHandle) - { - var dto = ConvertDateTimeOffset(epoch_time, timezone); - switch (tzHandle) - { - case DateTimeZoneHandling.Local: - return dto.LocalDateTime; - case DateTimeZoneHandling.Utc: - return dto.UtcDateTime; - case DateTimeZoneHandling.Unspecified: - return dto.DateTime; - case DateTimeZoneHandling.RoundtripKind: - return dto.Offset == TimeSpan.Zero ? dto.UtcDateTime : dto.LocalDateTime; - default: - throw new JsonSerializationException("Invalid date time handling value."); - } - } - - public override bool CanConvert(Type objectType) - { - return objectType == typeof(DateTime) || - objectType == typeof(DateTimeOffset) || - objectType == typeof(DateTime?) || - objectType == typeof(DateTimeOffset?); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlDateTimeConverter.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlDateTimeConverter.cs.meta deleted file mode 100644 index 2b98b1677..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlDateTimeConverter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ba36484df4f4ab949b54a32971537ccf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlExprConverter.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlExprConverter.cs deleted file mode 100644 index a7bb962a0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlExprConverter.cs +++ /dev/null @@ -1,33 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; -using System.Linq; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net.JsonConverters -{ - public class PocoExprConverter : JsonConverter - { - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - var ast = value as ReqlExpr; - var expr = ast.Build() as JToken; - writer.WriteRawValue(expr.ToString(Formatting.None, Converter.Converters)); - } - - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - { - throw new NotImplementedException(); - } - - public override bool CanRead => false; - - public override bool CanConvert(Type objectType) - { - return objectType.IsASubclassOf(typeof(ReqlExpr)); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlExprConverter.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlExprConverter.cs.meta deleted file mode 100644 index 066960f7d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlExprConverter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 35629bac807d1f94da7baae55e957070 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlGroupingConverter.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlGroupingConverter.cs deleted file mode 100644 index 61d2f2ef3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlGroupingConverter.cs +++ /dev/null @@ -1,97 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; -using System.Collections; -using System.Collections.Generic; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net.JsonConverters -{ - public class ReqlGroupingConverter : JsonConverter - { - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) - { - throw new JsonSerializationException($"{nameof(ReqlGroupingConverter)} can't be used to serialize grouping results."); - } - - //EXAMPLE: - // "r": [ - // { - // "$reql_type$": "GROUPED_DATA", - // "data": [ - // [ - // "Alice", - // [ - // { "id": 5, "player": "Alice", "points": 7, "type": "free"}, - // { "id": 12, "player": "Alice", "points": 2, "type": "free" } - // ] - // ], - // [ - // "Bob", - // [ - // { "id": 2, "player": "Bob", "points": 15, "type": "ranked" }, - // { "id": 11, "player": "Bob", "points": 10, "type": "free" } - // ] - // ] - // ] - // } - // ] - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) - { - reader.ReadAndAssertProperty(Converter.PseudoTypeKey); - var reql_type = reader.ReadAsString(); - if( reql_type != Converter.GroupedData ) - { - throw new JsonSerializationException($"Expected {Converter.PseudoTypeKey} should be {Converter.GroupedData} but got {reql_type}."); - } - - reader.ReadAndAssertProperty("data"); - - //move reader to property value - reader.ReadAndAssert(); - - //... probably find a better way to do this. - var genType = objectType.GetGenericTypeDefinition(); - IList list; - if( genType == typeof(GroupedResultSet<,>) ) - { - list = (IList)Activator.CreateInstance(objectType); - objectType = objectType.BaseType().GenericTypeArguments[0]; - } - else - { - var listType = typeof(List<>).MakeGenericType(objectType); - list = (IList)Activator.CreateInstance(listType); - } - - var data = serializer.Deserialize>(reader); - - foreach( var group in data ) - { - var key = group[0]; //key, group value in common - var items = group[1]; //the grouped items - var grouping = Activator.CreateInstance(objectType, key, items); - list.Add(grouping); - } - //.Select(arr => Activator.CreateInstance(objectType, arr) ).ToList(); - - return list; - } - - public override bool CanWrite => false; - - public override bool CanConvert(Type objectType) - { - if( objectType.IsGenericType() ) - { - var genType = objectType.GetGenericTypeDefinition(); - return genType == typeof(GroupedResult<,>) || - genType == typeof(GroupedResultSet<,>); - } - return false; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlGroupingConverter.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlGroupingConverter.cs.meta deleted file mode 100644 index 85b7fbed7..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/JsonConverters/ReqlGroupingConverter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e3d210fc16b6f3940a3ea72c45674a8d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Response.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Response.cs deleted file mode 100644 index 3b7f41c13..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Response.cs +++ /dev/null @@ -1,138 +0,0 @@ -using System.Collections.Generic; -using System.IO; -using System.Linq; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Model; -using RethinkDb.Driver.Proto; - -namespace RethinkDb.Driver.Net -{ - /// - /// Response from the server. - /// - public class Response - { - private const string TypeKey = "t"; - private const string NotesKey = "n"; - private const string ErrorKey = "e"; - private const string ProfileKey = "p"; - private const string BacktraceKey = "b"; - private const string DataKey = "r"; - - /// - /// The token ID associated with the query. - /// - public long Token { get; } - - /// - /// The response type . - /// - public ResponseType Type { get; } - - /// - /// Notes about the response - /// - public List Notes { get; private set; } - - /// - /// The data payload. - /// - public JArray Data { get; private set; } - - /// - /// Profile information about the query - /// - public Profile Profile { get; private set; } - - /// - /// Backtrace information about a failed query. - /// - public Backtrace Backtrace { get; private set; } - - /// - /// The error type, if any. - /// - public ErrorType? ErrorType { get; private set; } - - private Response(long token, ResponseType responseType) - { - this.Token = token; - this.Type = responseType; - } - - /// - /// Parses a Response from a raw JSON string - /// - public static Response ParseFrom(long token, string buf) - { - //we check here because it's possibly very expensive to ship this buf around in the call stack - if( Log.IsTraceEnabled ) Log.Trace($"JSON Recv: Token: {token}, JSON: {buf}"); - - var jsonResp = ParseJson(buf); - var responseType = jsonResp[TypeKey].ToObject(); - var responseNotes = jsonResp[NotesKey]?.ToObject>() ?? new List(); - ErrorType? et = jsonResp[ErrorKey]?.ToObject(); - - var profile = Profile.FromJsonArray((JArray)jsonResp[ProfileKey]); - var backtrace = Backtrace.FromJsonArray((JArray)jsonResp[BacktraceKey]); - - var res = new Response(token, responseType) - { - ErrorType = et, - Profile = profile, - Backtrace = backtrace, - Data = (JArray)jsonResp[DataKey] ?? new JArray(), - Notes = responseNotes - }; - - return res; - } - - private static JObject ParseJson(string buf) - { - using( var reader = new JsonTextReader(new StringReader(buf)) ) - { - return Converter.Serializer.Deserialize(reader); - } - } - - - public virtual bool IsWaitComplete => this.Type == ResponseType.WAIT_COMPLETE; - - /* Whether the response is any kind of feed */ - - public virtual bool IsFeed => this.Notes.Any(rn => rn.IsFeed()); - - /* Whether the response is any kind of error */ - - public virtual bool IsError => this.Type.IsError(); - - /* What type of success the response contains */ - - public virtual bool IsAtom => this.Type == ResponseType.SUCCESS_ATOM; - - public virtual bool IsSequence => this.Type == ResponseType.SUCCESS_SEQUENCE; - - public virtual bool IsPartial => this.Type == ResponseType.SUCCESS_PARTIAL; - - public virtual ReqlError MakeError(Query query) - { - string msg = this.Data.Count > 0 ? (string)Data[0] : "Unknown error message"; - return new ErrorBuilder(msg, this.Type) - .SetBacktrace(this.Backtrace) - .SetErrorType(this.ErrorType.GetValueOrDefault()) - .SetTerm(query) - .Build(); - } - - /// - /// Pretty printing a response for diagnostics. - /// - public override string ToString() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Response.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Response.cs.meta deleted file mode 100644 index a73ac5376..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/Response.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c22d0431ebbad6643a59b606d49d370e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ScramAttributes.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ScramAttributes.cs deleted file mode 100644 index 4820c0ce4..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ScramAttributes.cs +++ /dev/null @@ -1,153 +0,0 @@ -using System; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net -{ - internal class ScramAttributes - { - // Getters - public string AuthIdentity { get; private set; } // a - public string Username { get; private set; } // n - public string Nonce { get; private set; } // r - - public string HeaderAndChannelBinding { get; private set; } // c - public byte[] Salt { get; private set; } // s - public int IterationCount { get; private set; } // i - public string ClientProof { get; private set; } // p - public byte[] ServerSignature { get; private set; } // v - public string Error { get; private set; } // e - - public string OriginalString = null; - - public static ScramAttributes From(ScramAttributes other) - { - var obj = new ScramAttributes - { - AuthIdentity = other.AuthIdentity, - Username = other.Username, - Nonce = other.Nonce, - HeaderAndChannelBinding = other.HeaderAndChannelBinding, - Salt = other.Salt, - IterationCount = other.IterationCount, - ClientProof = other.ClientProof, - ServerSignature = other.ServerSignature, - Error = other.Error - }; - return obj; - } - - public static ScramAttributes From(string input) - { - var sa = new ScramAttributes - { - OriginalString = input - }; - - foreach( string section in input.Split(',')) - { - string[] keyVal = section.Split(new[] {'='}, 2); - sa.SetAttribute(keyVal[0], keyVal[1]); - } - return sa; - } - - private void SetAttribute(string key, string val) - { - switch( key ) - { - case "a": - this.AuthIdentity = val; - break; - case "n": - this.Username = val; - break; - case "r": - this.Nonce = val; - break; - case "m": - throw new ReqlAuthError("m field disallowed"); - case "c": - this.HeaderAndChannelBinding = val; - break; - case "s": - this.Salt = Convert.FromBase64String(val); - break; - case "i": - this.IterationCount = int.Parse(val); - break; - case "p": - this.ClientProof = val; - break; - case "v": - this.ServerSignature = Convert.FromBase64String(val); - break; - case "e": - this.Error = val; - break; - // Supposed to ignore unexpected fields - } - } - - public override string ToString() - { - if( this.OriginalString.IsNotNullOrEmpty() ) - { - return OriginalString; - } - string output = ""; - if( this.Username.IsNotNullOrEmpty() ) - { - output += ",n=" + this.Username; - } - if( this.Nonce.IsNotNullOrEmpty() ) - { - output += ",r=" + this.Nonce; - } - if( this.HeaderAndChannelBinding.IsNotNullOrEmpty() ) - { - output += ",c=" + this.HeaderAndChannelBinding; - } - if( this.ClientProof.IsNotNullOrEmpty() ) - { - output += ",p=" + this.ClientProof; - } - if( output.StartsWith(",") ) - { - return output.Substring(1); - } - else - { - return output; - } - } - - // Setters with coercion - public ScramAttributes SetUsername(string username) - { - ScramAttributes next = ScramAttributes.From(this); - next.Username = username.Replace("=", "=3D").Replace(",", "=2C"); - return next; - } - - public ScramAttributes SetNonce(string nonce) - { - ScramAttributes next = ScramAttributes.From(this); - next.Nonce = nonce; - return next; - } - - public ScramAttributes SetHeaderAndChannelBinding(string hacb) - { - ScramAttributes next = ScramAttributes.From(this); - next.HeaderAndChannelBinding = hacb; - return next; - } - - public ScramAttributes SetClientProof(byte[] clientProof) - { - ScramAttributes next = ScramAttributes.From(this); - next.ClientProof = Convert.ToBase64String(clientProof); - return next; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ScramAttributes.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ScramAttributes.cs.meta deleted file mode 100644 index b2d21eba9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/ScramAttributes.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3565692b3c0c60942858ad1607db7623 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SecureRandom.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SecureRandom.cs deleted file mode 100644 index d61c4d8c9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SecureRandom.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Security.Cryptography; - -namespace RethinkDb.Driver.Net -{ - internal class SecureRandom : IDisposable - { - private RandomNumberGenerator random = RandomNumberGenerator.Create(); - - public void GetBytes(byte[] data) - { - random.GetBytes(data); - } - - public void Dispose() - { - random.Dispose(); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SecureRandom.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SecureRandom.cs.meta deleted file mode 100644 index 9f55983a8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SecureRandom.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8cccff0c3a039c64b9f990f21d85ec53 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SocketWrapper.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SocketWrapper.cs deleted file mode 100644 index 2b028679d..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SocketWrapper.cs +++ /dev/null @@ -1,396 +0,0 @@ -using System; -using System.Collections.Concurrent; -using System.IO; -using System.Net; -using System.Net.Security; -using System.Net.Sockets; -using System.Text; -using System.Threading; -using System.Threading.Tasks; -using RethinkDb.Driver.Utils; - -namespace RethinkDb.Driver.Net -{ - internal class SocketWrapper - { - private Socket socket; - - private readonly TimeSpan timeout; - - private readonly string hostname; - private readonly int port; - private readonly Action errorCallback; - - private NetworkStream ns = null; - private BinaryWriter bw = null; - private BinaryReader br = null; - - private SslContext sslContext; - - private SslStream ssl = null; - - public SocketWrapper(string hostname, int port, TimeSpan? timeout, SslContext sslContext, Action errorCallback) - { - this.hostname = hostname; - this.port = port; - this.errorCallback = errorCallback; - this.sslContext = sslContext; - - this.timeout = timeout ?? TimeSpan.FromSeconds(60); - } - - private Exception currentException; - - public virtual async Task ConnectAsync(Handshake handshake) - { - try - { - handshake.Reset(); - - var addresses = await Dns.GetHostAddressesAsync(this.hostname) - .ConfigureAwait(false); - - this.socket = await ConnectInternalAsync(addresses, this.port) - .ConfigureAwait(false); - - this.ns = new NetworkStream(this.socket); - - if (this.sslContext != null) - { - - this.ssl = new SslStream(this.ns, - leaveInnerStreamOpen: false, - userCertificateValidationCallback: this.sslContext.ServerCertificateValidationCallback, - userCertificateSelectionCallback: this.sslContext.LocalCertificateSelectionCallback); - - await this.ssl.AuthenticateAsClientAsync(this.sslContext.TargetHostOverride ?? this.hostname, - this.sslContext.ClientCertificateCollection, - this.sslContext.EnabledProtocols, - this.sslContext.CheckCertificateRevocation) - .ConfigureAwait(false); - } - - this.bw = new BinaryWriter(this.ssl as Stream ?? this.ns); - this.br = new BinaryReader(this.ssl as Stream ?? this.ns); - - - // execute RethinkDB handshake - ExecuteHandshake(handshake); - - //http://blog.i3arnon.com/2015/07/02/task-run-long-running/ - //LongRunning creates a new thread and marks it as a background thread - //(ie: does not block application shutdown, when all foreground threads finish) - - pump = new CancellationTokenSource(); - // GitHub Issue #24 - Set PUMP token first before starting thread. - // If the pump token is set in ResponsePump, and the thread is scheduled - // late, and we return immediately to the caller indicating the connection - // is ready, the caller will immediately SendQuery. However, SendQuery - // is dependent on pump, and will encounter a null reference exception - // because the ResponsePump thread is late setting the token. - // - // So, set the token so that we're *really* ready to begin sending - // queries. - -#pragma warning disable 4014 // We know what' we're doing. It's intentional. - Task.Factory.StartNew(ResponsePump, TaskCreationOptions.LongRunning); -#pragma warning restore 4014 - } - catch - { - try - { - this.Close(); - } - catch - { - // attempt to close, ignored, - // and re-throw the original exception - } - throw; - } - } - - private static async Task ConnectInternalAsync(IPAddress[] addresses, int port) - { - Exception lastExc = null; - foreach( var address in addresses ) - { - var s = new Socket(address.AddressFamily, SocketType.Stream, ProtocolType.Tcp) - { - NoDelay = true - }; - s.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.KeepAlive, true); - try - { -#if STANDARD - await s.ConnectAsync(address, port).ConfigureAwait(false); -#else - await Task.Factory.FromAsync( - (targetHost, targetPort, callback, state) => - ((Socket)state).BeginConnect(targetHost, targetPort, callback, state), - asyncResult => - ((Socket)asyncResult.AsyncState).EndConnect(asyncResult), - address, port, state: s) - .ConfigureAwait(false); -#endif - return s; - } - catch( Exception exc ) - { - lastExc = exc; - s.Dispose(); - } - } - - if( lastExc != null ) throw lastExc; - throw new ArgumentException("No addresses provided", nameof(addresses)); - } - - private void ExecuteHandshake(Handshake handshake) - { - // initialize handshake - var toWrite = handshake.NextMessage(null); - // Sit in the handshake until it's completed. Exceptions will be thrown if - // anything goes wrong. - while (!handshake.IsFinished) - { - if (toWrite != null) - { - bw.Write(toWrite); - } - var serverMsg = ReadNullTerminatedString(this.timeout); - toWrite = handshake.NextMessage(serverMsg); - } - } - - public virtual void Connect(Handshake handshake) - { - if( !ConnectAsync(handshake).Wait(this.timeout) ) - { - try - { - this.Close(); - } - catch - { - } - throw new ReqlDriverError("Connection timed out."); - } - } - - private string ReadNullTerminatedString(TimeSpan? deadline) - { - var deadlineInstant = deadline.HasValue ? DateTime.Now.Add(deadline.Value) : (DateTime?)null; - - var sb = new StringBuilder(); - char c; - while( (c = this.br.ReadChar()) != '\0' ) - { - if( deadlineInstant.HasValue ) - { - if( deadlineInstant <= DateTime.Now ) - { - throw new ReqlDriverError("Connection timed out."); - } - } - sb.Append(c); - } - return sb.ToString(); - } - - - private CancellationTokenSource pump = null; - - /// - /// Started just after connect. Do not use or async/await code in this pump - /// because it is a long-running task. - /// http://blog.i3arnon.com/2015/07/02/task-run-long-running/ - /// - private void ResponsePump() - { - while( true ) - { - if( pump.IsCancellationRequested ) - { - Log.Trace("Response Pump: shutting down. Cancel is requested."); - break; - } - if( this.Closed ) - { - Log.Trace("Response Pump: The connected socket is not open. Response Loop exiting."); - break; - } - - try - { - //WARN: Do not use or async/await code in this pump; because it is a - //long-running task. - //http://blog.i3arnon.com/2015/07/02/task-run-long-running/ - var response = this.Read(); - Awaiter awaitingTask; - if( awaiters.TryRemove(response.Token, out awaitingTask) ) - { - Task.Run(() => - { - //regardless of the outcome, clean up any registered - //cancellation tokens with using statement. - using ( awaitingTask ) - { - //try setting the result, because it's possible - //the awaiting task was canceled. - if( !awaitingTask.TrySetResult(response) ) - { - Log.Debug( - $"Response Pump: The awaiter waiting for response token {response.Token} could not be set. The task was probably canceled."); - } - } - }); - } - else - { - //Wow, there's nobody waiting for this response. - Log.Debug( - $"Response Pump: There are no awaiters waiting for {response.Token} token. A cursor was probably closed and this might be a response to a QUERY:STOP. The response will be ignored."); - //I guess we'll ignore for now, perhaps a cursor was killed - } - } - catch( Exception e ) - { - currentException = e; - this.errorCallback?.Invoke(currentException); - Log.Trace($"Response Pump: {e.GetType().Name} - {e.Message} The connection can no longer be used. {nameof(ResponsePump)} is preparing to shutdown."); - //shutdown all. - try - { - this.Close(); - } - catch - { - } - break; - } - } - - Log.Trace($"Cleaning up Response Pump awaiters for {hostname}:{port}"); - //clean up. - foreach( var a in awaiters.Values ) - { - if( currentException != null ) - { - a.TrySetException(currentException); - } - else - { - a.TrySetCanceled(); - } - } - awaiters.Clear(); - } - - - /// - /// Blocking Read by the ResponsePump - /// - private Response Read() - { - var token = this.br.ReadInt64(); - var responseLength = this.br.ReadInt32(); - var response = this.br.ReadBytes(responseLength); - return Response.ParseFrom(token, Encoding.UTF8.GetString(response)); - } - - private ConcurrentDictionary awaiters = new ConcurrentDictionary(); - - private object writeLock = new object(); - - public virtual Task SendQuery(long token, string json, bool awaitResponse, CancellationToken cancelToken) - { - cancelToken.ThrowIfCancellationRequested(); - - if( this.Closed ) - { - throw new ReqlDriverError($"Threads may not {nameof(SendQuery)} because the connection is closed."); - } - - if( pump.IsCancellationRequested ) - { - throw new ReqlDriverError($"Threads may not {nameof(SendQuery)} because the connection is shutting down."); - } - - Awaiter awaiter = null; - if( awaitResponse ) - { - //Assign a new awaiter for this token, - //The caller is expecting a response. - awaiter = new Awaiter(cancelToken); - awaiters[token] = awaiter; - } - - lock( writeLock ) - { - // Everyone can write their query as fast as they can; block if needed. - cancelToken.ThrowIfCancellationRequested(); - //We could probably use a semaphore slim as a lock - //and Wait(cancelToken), but using semaphore slim - //is slower and requires more overhead. So, instead - //we just cancel at earliest possible time when the lock - //is free. - - try - { - //using bw is fast and convenient - this.bw.Write(token); - var jsonBytes = Encoding.UTF8.GetBytes(json); - this.bw.Write(jsonBytes.Length); - this.bw.Write(jsonBytes); - //we check here because it's possibly very expensive to ship this json around in the call stack - if (Log.IsTraceEnabled) Log.Trace($"JSON Send: Token: {token}, JSON: {json}"); - } - catch( Exception e ) - { - currentException = e; - this.errorCallback?.Invoke(currentException); - Log.Trace($"Write Query failed for Token {token}. Exception: {e.Message}"); - throw; - } - } - return awaiter?.Task ?? TaskHelper.CompletedResponse; - } - - public virtual bool Closed => !this.Open; - - public virtual bool Open => socket?.Connected ?? false; - - public virtual IPEndPoint ClientEndPoint => this.socket.LocalEndPoint as IPEndPoint; - - public virtual IPEndPoint RemoteEndPoint => this.socket.RemoteEndPoint as IPEndPoint; - - public virtual bool HasError => currentException != null; - - public virtual void Close() - { - this.pump?.Cancel(); - - try - { - this.ssl?.Dispose(); - this.ns.Dispose(); - } - catch - { - } - - try - { - socket.Shutdown(SocketShutdown.Both); - socket.Dispose(); - } - catch - { - } - - currentException = currentException ?? new EndOfStreamException("The driver connection is closed."); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SocketWrapper.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SocketWrapper.cs.meta deleted file mode 100644 index 5656575b6..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SocketWrapper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 41c8d473d861c6c48a7b9c804dd3589e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SslContext.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SslContext.cs deleted file mode 100644 index a737e3571..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SslContext.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.Net.Security; -using System.Security.Authentication; -using System.Security.Cryptography.X509Certificates; - -namespace RethinkDb.Driver.Net -{ - /// - /// Settings object for SSL/TLS connections with RethinkDB. - /// - public class SslContext - { - /// - /// Client certificates. - /// - public X509CertificateCollection ClientCertificateCollection { get; set; } = new X509Certificate2Collection(); - - /// - /// Server-side certificate validation callback. - /// - public RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; } - /// - /// Client-side certificate validation callback - /// - public LocalCertificateSelectionCallback LocalCertificateSelectionCallback { get; set; } - - /// - /// The enabled security protocols to use over the socket. Default: TLS, TLS 1.1, TLS 1.2. - /// SSLv2 and SSLv3 are considered insecure. - /// - public SslProtocols EnabledProtocols { get; set; } = - SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12; - - /// - /// By default, the connection's hostname is used. This setting can override host verification. - /// - public string TargetHostOverride { get; set; } - - /// - /// Check for certificate revocation. - /// - public bool CheckCertificateRevocation { get; set; } = false; - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SslContext.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SslContext.cs.meta deleted file mode 100644 index ce6a39136..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Net/SslContext.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 534cfdcc7a48cf74ea4a467532b95253 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ReqlAssertFailure.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ReqlAssertFailure.cs deleted file mode 100644 index c6c785170..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ReqlAssertFailure.cs +++ /dev/null @@ -1,21 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; - -namespace RethinkDb.Driver -{ - public class ReqlAssertFailure : ReqlError - { - public ReqlAssertFailure(Exception e) : base(e) - { - } - - public ReqlAssertFailure(string message) : base(message) - { - } - - public ReqlAssertFailure(string message, Exception innerException) : base(message, innerException) - { - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ReqlAssertFailure.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ReqlAssertFailure.cs.meta deleted file mode 100644 index 7fe98b1c0..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/ReqlAssertFailure.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f6f07c98bd2039b4499daa4628a14952 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDB.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDB.cs deleted file mode 100644 index 0b5b0b7a3..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDB.cs +++ /dev/null @@ -1,35 +0,0 @@ -using RethinkDb.Driver.Ast; -using RethinkDb.Driver.Net; -using RethinkDb.Driver.Net.Clustering; - -namespace RethinkDb.Driver -{ - /// - /// The RethinkDB API - /// - public class RethinkDB : TopLevel - { - /// - /// The Singleton to use to begin interacting with RethinkDB Driver - /// - public static readonly RethinkDB R = new RethinkDB(); - - /// - /// A connection builder that can create a single connection to a RethinkDB. - /// - /// A connection builder for setting connection properties fluently. - public virtual Connection.Builder Connection() - { - return Net.Connection.Build(); - } - - /// - /// A connection builder that can create a pooled connection to a RethinkDB cluster. - /// - /// A connection builder for setting connection pool properties fluently. - public virtual ConnectionPool.Builder ConnectionPool() - { - return Net.Clustering.ConnectionPool.Build(); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDB.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDB.cs.meta deleted file mode 100644 index 07f688277..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDB.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f15116940d063d54dab641f900664082 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDBConstants.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDBConstants.cs deleted file mode 100644 index 91f7332d2..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDBConstants.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace RethinkDb.Driver -{ - /// - /// RethinkDB constants - /// - public class RethinkDBConstants - { - /// - /// Default database name: test - /// - public const string DefaultDbName = "test"; - - /// - /// Default hostname: localhost - /// - public const string DefaultHostname = "localhost"; - - /// - /// Default auth key: "" - /// - public const string DefaultAuthkey = ""; - - /// - /// Default TCP port: 28015 - /// - public const int DefaultPort = 28015; - - /// - /// Default connection timeout: 20 seconds - /// - public const int DefaultTimeout = 20; - - /// - /// Protocol constants - /// - public static class Protocol - { - /// - /// What success looks like. :D - /// - public const string Success = "SUCCESS"; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDBConstants.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDBConstants.cs.meta deleted file mode 100644 index 806aa7358..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDBConstants.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dd44814c90d6e4846944636fa609222c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.csproj b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.csproj deleted file mode 100644 index a21400242..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.csproj +++ /dev/null @@ -1,43 +0,0 @@ - - - A C#/.NET RethinkDB database driver with 100% ReQL API coverage. Architecturally, this driver is a port of the official Java driver. - - - 0.0.0-localbuild - Brian Chavez - net45;netstandard2.0 - RethinkDb.Driver.ruleset - true - - - false - RethinkDb.Driver - rethinkdb;document;database;driver;reql;nosql - https://raw.githubusercontent.com/wiki/bchavez/RethinkDb.Driver/logo.png - https://github.com/bchavez/RethinkDb.Driver - https://raw.githubusercontent.com/bchavez/RethinkDb.Driver/master/LICENSE - true - git - https://github.com/bchavez/RethinkDb.Driver - - true - false - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - - - $(DefineConstants);STANDARD - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.csproj.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.csproj.meta deleted file mode 100644 index e0f2d6a7c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.csproj.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e83de50916724bb4c9122d277c9f52a6 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.ruleset b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.ruleset deleted file mode 100644 index a0ee0bb8a..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.ruleset +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.ruleset.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.ruleset.meta deleted file mode 100644 index 20ffd4e4f..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/RethinkDb.Driver.ruleset.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2b763ae847359734799828d9fd267628 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils.meta deleted file mode 100644 index d32134753..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ac5c7e1e733d8f9488b0fa46ce769fdc -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/CancellableTask.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/CancellableTask.cs deleted file mode 100644 index 8e7dfe545..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/CancellableTask.cs +++ /dev/null @@ -1,38 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; -using System.Threading; -using System.Threading.Tasks; -using RethinkDb.Driver.Net; - -namespace RethinkDb.Driver.Utils -{ - public class CancellableTask : TaskCompletionSource, IDisposable - { - private readonly CancellationToken cancelToken; - private CancellationTokenRegistration registration; - - - public CancellableTask(CancellationToken cancelToken) - { - this.cancelToken = cancelToken; - this.registration = this.cancelToken.Register(OnCancellation, false); - } - - private void OnCancellation() - { - this.TrySetCanceled(); - - //if the user successfully signaled they want to - //cancel, remove the registration because - //the task status = canceled has been set. - //don't need the registration any more. - this.Dispose(); - } - - public void Dispose() - { - this.registration.Dispose(); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/CancellableTask.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/CancellableTask.cs.meta deleted file mode 100644 index 9a4e5b478..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/CancellableTask.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2c46e3badab9d1c4da1358e0b2b248d6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForEvent.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForEvent.cs deleted file mode 100644 index 58fbd2dd8..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForEvent.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; - -namespace RethinkDb.Driver.Utils -{ - internal static class ExtensionsForEvent - { - public static void FireEvent(this EventHandler eve, object sender, T arg) - { - var handlers = eve?.GetInvocationList(); - if( handlers != null ) - { - foreach( var del in handlers ) - { - var callback = (EventHandler)del; - try - { - callback(sender, arg); - } - catch - { - } - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForEvent.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForEvent.cs.meta deleted file mode 100644 index e0b58e117..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForEvent.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d2ff8775ebc53614ba53b975e2e8ba9c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForString.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForString.cs deleted file mode 100644 index a3d7e02f5..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForString.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace RethinkDb.Driver.Utils -{ - internal static class ExtensionsForString - { - internal static bool IsNullOrEmpty(this string str) - { - return string.IsNullOrEmpty(str); - } - internal static bool IsNullOrWhiteSpace(this string str) - { - return string.IsNullOrWhiteSpace(str); - } - - internal static bool IsNotNullOrEmpty(this string str) - { - return !string.IsNullOrEmpty(str); - } - internal static bool IsNotNullOrWhiteSpace(this string str) - { - return !string.IsNullOrWhiteSpace(str); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForString.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForString.cs.meta deleted file mode 100644 index 21e25db89..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForString.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0349f1a79d169754dbfc24add5630c97 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForTcpClient.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForTcpClient.cs deleted file mode 100644 index 3af6a26d9..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForTcpClient.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Net.Sockets; - -namespace RethinkDb.Driver.Utils -{ - internal static class ExtensionsForTcpClient - { - public static void Shutdown(this TcpClient tcp) - { -#if STANDARD - tcp.Dispose(); -#else - tcp.Close(); -#endif - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForTcpClient.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForTcpClient.cs.meta deleted file mode 100644 index 0a654ec2e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForTcpClient.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: df2d017543cdc024295a68784a96888a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForType.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForType.cs deleted file mode 100644 index 91bc0483e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForType.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Reflection; -using Newtonsoft.Json.Linq; - -namespace RethinkDb.Driver.Utils -{ - internal static class ExtensionsForType - { - public static bool IsASubclassOf(this Type type, Type other) - { - return type.GetTypeInfo().IsSubclassOf(other); - } - public static bool IsJToken(this Type type) - { - return typeof(JToken) == type || type.IsASubclassOf(typeof(JToken)); - } - - public static bool IsGenericType(this Type type) - { - return type.GetTypeInfo().IsGenericType; - } - - public static Type BaseType(this Type type) - { - return type.GetTypeInfo().BaseType; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForType.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForType.cs.meta deleted file mode 100644 index 180977116..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/ExtensionsForType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fd0d996d5b0d8b442af4d7bc1de9c4a8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/QueryHelper.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/QueryHelper.cs deleted file mode 100644 index f19460e7e..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/QueryHelper.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Reflection; -using RethinkDb.Driver.Net; -using Newtonsoft.Json.Serialization; - -namespace RethinkDb.Driver.Utils -{ - /// - /// Provides methods that assist in the translation of linq queries. - /// - public static class QueryHelper - { - /// - /// Gets the name of the database field that corresponds to the given class member. - /// The mapping can be configured by setting to a custom Serializer. - /// - public static string GetJsonMemberName(MemberInfo member) - { - if ( !(Converter.Serializer?.ContractResolver is DefaultContractResolver contractResolver) ) - { - return member.Name; - } - - var namingStrategy = contractResolver.NamingStrategy; - if ( namingStrategy == null ) - { - return member.Name; - } - - return namingStrategy.GetPropertyName( member.Name, false ); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/QueryHelper.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/QueryHelper.cs.meta deleted file mode 100644 index ce73c2410..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/QueryHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 501368105dcc0f742a4ab62f3cdfec45 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/StringHelper.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/StringHelper.cs deleted file mode 100644 index 8f8eabd85..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/StringHelper.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace RethinkDb.Driver.Utils -{ - internal static class StringHelper - { - /// - /// Gets the hex representation of a byte[], in lower case. - /// - public static string GetHexString(byte[] bytes) - { - return BitConverter.ToString(bytes).Replace("-", "").ToLowerInvariant(); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/StringHelper.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/StringHelper.cs.meta deleted file mode 100644 index da8c7b776..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/StringHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 82c97aeaf79e08a44802c1e8b96248c6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/TaskHelper.cs b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/TaskHelper.cs deleted file mode 100644 index cdb1b6402..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/TaskHelper.cs +++ /dev/null @@ -1,72 +0,0 @@ -#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member - -using System; -using System.Runtime.ExceptionServices; -using System.Threading; -using System.Threading.Tasks; -using RethinkDb.Driver.Net; - -namespace RethinkDb.Driver.Utils -{ - public static class TaskHelper - { - // Proper Library Sync usage - // https://channel9.msdn.com/Series/Three-Essential-Tips-for-Async/Async-library-methods-should-consider-using-Task-ConfigureAwait-false- - // http://blogs.msdn.com/b/lucian/archive/2013/11/23/talk-mvp-summit-async-best-practices.aspx - public static T WaitSync(this Task task) - { - try - { - task.Wait(); - } - catch( AggregateException ae ) - { - ExceptionDispatchInfo.Capture(ae.InnerException).Throw(); - } - return task.Result; - } - - public static void WaitSync(this Task task) - { - try - { - task.Wait(); - } - catch( AggregateException ae ) - { - ExceptionDispatchInfo.Capture(ae.InnerException).Throw(); - } - } - - - static TaskHelper() - { - CompletedTask = Task.FromResult(true); - CompletedTaskTrue = Task.FromResult(true); - CompletedTaskFalse = Task.FromResult(false); - CompletedResponse = Task.FromResult(null); - } - - public static Task CompletedTask { get; } - public static Task CompletedTaskTrue { get; } - public static Task CompletedTaskFalse { get; } - public static Task CompletedResponse { get; } - - //Loosely based on: https://stackoverflow.com/a/22078975/9275 - public static async Task WaitOrTimeout(this Task task, TimeSpan timeout, CancellationToken cancellationToken = default) - { - var completedTask = await Task.WhenAny(task, Task.Delay(timeout, cancellationToken)) - .ConfigureAwait(false); - - if (completedTask == task) - { - await task; // Very important in order to propagate exceptions - return true; - } - - return false; - } - } - - -} \ No newline at end of file diff --git a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/TaskHelper.cs.meta b/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/TaskHelper.cs.meta deleted file mode 100644 index fc56c989c..000000000 --- a/Assets/Scripts/ServerShared/NIH/RethinkDb/RethinkDb.Driver/Utils/TaskHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cd36cd92997a40b4299f9778875a08e5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/ServerShared/PlayerData.cs b/Assets/Scripts/ServerShared/PlayerData.cs index 322fb51c0..0be302689 100644 --- a/Assets/Scripts/ServerShared/PlayerData.cs +++ b/Assets/Scripts/ServerShared/PlayerData.cs @@ -6,7 +6,7 @@ using System; using MessagePack; using Newtonsoft.Json; -[RethinkTable("Users"), MessagePackObject, JsonObject(MemberSerialization.OptIn)] +[LegacyCatalogGroup("Users"), MessagePackObject, JsonObject(MemberSerialization.OptIn)] public class PlayerData : DatabaseEntry, INamedEntry { [JsonProperty("email"), Key(1)] diff --git a/Assets/Scripts/ServerShared/ZoneData.cs b/Assets/Scripts/ServerShared/ZoneData.cs index 8e5cf948e..48b49415c 100644 --- a/Assets/Scripts/ServerShared/ZoneData.cs +++ b/Assets/Scripts/ServerShared/ZoneData.cs @@ -1,4 +1,4 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ @@ -37,7 +37,7 @@ public class ZonePack } -// [RethinkTable("Galaxy"), MessagePackObject, JsonObject(MemberSerialization.OptIn)] +// [LegacyCatalogGroup("Galaxy"), MessagePackObject, JsonObject(MemberSerialization.OptIn)] // public class StationData : DatabaseEntry, INamedEntry // { // [JsonProperty("name"), Key(1)]