After I trained a LogisticRegressionModel, I transformed the test data DF with it and get the prediction DF. And then when I call prediction.show(), the output column names are:
If classification model is logistic regression,
rawPrediction is equal (w*x + bias) variable coefficients values
probability is 1/(1+e^(w*x + bias))
prediction is 0 or 1.