adapter_select: extract convert methods as a class for "select" command