Class Slice

    • Field Detail

      • collection

        public final String collection
    • Constructor Detail

      • Slice

        public Slice​(String name,
                     Map<String,​Replica> replicas,
                     Map<String,​Object> props,
                     String collection)
        name - The name of the slice
        replicas - The replicas of the slice. This is used directly and a copy is not made. If null, replicas will be constructed from props.
        props - The properties of the slice - a shallow copy will always be made.