Beispiel #1
0
        public static Schema AddArray(this Schema schema, long id, string name, Partitioning partitioning, Func <ArrayField, ArrayField> handler, ArrayFieldProperties properties = null)
        {
            var field = Array(id, name, partitioning, properties);

            if (handler != null)
            {
                field = handler(field);
            }

            return(schema.AddField(field));
        }
Beispiel #2
0
 public static ArrayField Array(long id, string name, Partitioning partitioning, ArrayFieldProperties properties = null)
 {
     return(new ArrayField(id, name, partitioning, properties ?? new ArrayFieldProperties()));
 }
Beispiel #3
0
 public static ArrayField Array(long id, string name, Partitioning partitioning, ArrayFieldProperties properties = null, IFieldSettings settings = null)
 {
     return(new ArrayField(id, name, partitioning, properties, settings));
 }