object CommandLineUtils
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommandLineUtils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CONF: String
-
val
CP: String
The Java command's option name for classpath
- val PATTERN_FOR_KEY_VALUE_ARG: Regex
- val REDACTION_REPLACEMENT_TEXT: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
confKeyValue(key: String, value: String, confOption: String = CONF): Iterable[String]
Assemble key value pair with config option prefix
- def confKeyValueStr(key: String, value: String, confOption: String = CONF): String
- def confKeyValues(configs: Iterable[(String, String)]): Iterable[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
genClasspathOption(classpathEntries: Iterable[String]): Iterable[String]
Generate classpath option by assembling the classpath entries with "-cp" prefix
-
def
genKeyValuePair(key: String, value: String): String
Assemble key value pair with "=" seperator
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parseOptionString(s: String): List[String]
copy from org.apache.spark.launcher.CommandBuilderUtils#parseOptionString Parse a string as if it were a list of arguments, following bash semantics.
copy from org.apache.spark.launcher.CommandBuilderUtils#parseOptionString Parse a string as if it were a list of arguments, following bash semantics. For example:
Input: "\"ab cd\" efgh 'i \" j'" Output: [ "ab cd", "efgh", "i \" j" ]
-
def
redactConfValues(commands: Iterable[String], redactKeys: Iterable[String]): Iterable[String]
Match the conf string in the form of "key=value" and redact the value with the replacement text if keys are contained in given config keys
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()