drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul-rogers <...@git.apache.org>
Subject [GitHub] drill pull request #923: DRILL-5723: Added System Internal Options That can ...
Date Sun, 10 Sep 2017 00:33:32 GMT
Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/923#discussion_r137937347
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/server/options/OptionMetaData.java
---
    @@ -0,0 +1,68 @@
    +/**
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + * http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.drill.exec.server.options;
    +
    +/**
    + * Contains information about the scopes in which an option can be set, and an option's
visibility.
    + */
    +public class OptionMetaData {
    +  public static final OptionMetaData DEFAULT = new OptionMetaData(OptionValue.OptionType.ALL,
false, false);
    +
    +  private OptionValue.OptionType type;
    +  private boolean adminOption;
    --- End diff --
    
    `adminOnly` (we know it is an option...)


---

Mime
View raw message